Searched refs:dpot (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/misc/ |
| A D | ad525x_dpot.c | 98 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8() 103 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8() 108 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16() 113 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8() 118 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8() 123 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val); in dpot_write_r8d16() 182 switch (dpot->uid) { in dpot_read_i2c() 207 dpot_write_r8d8(dpot, in dpot_read_i2c() 233 if (dpot->feat & F_SPI) in dpot_read() 333 switch (dpot->uid) { in dpot_write_i2c() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/dac/ |
| A D | dpot-dac.yaml | 4 $id: http://devicetree.org/schemas/iio/dac/dpot-dac.yaml# 13 It is assumed that the dpot is used as a voltage divider between the 14 current dpot wiper setting and the maximum resistance of the dpot. The 32 const: dpot-dac 40 Channel node of the dpot to be used for the voltage division. 43 const: dpot 59 compatible = "dpot-dac"; 61 io-channels = <&dpot 0>; 62 io-channel-names = "dpot";
|
| /linux/drivers/iio/dac/ |
| A D | dpot-dac.c | 39 struct iio_channel *dpot; member 62 return iio_read_channel_raw(dac->dpot, val); in dpot_dac_read_raw() 65 ret = iio_read_channel_scale(dac->dpot, val, val2); in dpot_dac_read_raw() 105 return iio_read_avail_channel_raw(dac->dpot, vals, length); in dpot_dac_read_avail() 119 return iio_write_channel_raw(dac->dpot, val); in dpot_dac_write_raw() 141 ret = iio_read_max_channel_raw(dac->dpot, &max); in dpot_dac_channel_max_ohms() 147 switch (iio_read_channel_scale(dac->dpot, &val, &val2)) { in dpot_dac_channel_max_ohms() 191 dac->dpot = devm_iio_channel_get(dev, "dpot"); in dpot_dac_probe() 192 if (IS_ERR(dac->dpot)) in dpot_dac_probe() 193 return dev_err_probe(&pdev->dev, PTR_ERR(dac->dpot), in dpot_dac_probe() [all …]
|
| A D | Makefile | 31 obj-$(CONFIG_DPOT_DAC) += dpot-dac.o
|
| A D | Kconfig | 262 called dpot-dac.
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| A D | envelope-detector.yaml | 62 dpot: dpot@28 { 70 compatible = "dpot-dac"; 72 io-channels = <&dpot 0>; 73 io-channel-names = "dpot";
|
| /linux/arch/arm/boot/dts/ |
| A D | at91-tse850-3.dts | 61 dac: dpot-dac { 62 compatible = "dpot-dac"; 64 io-channels = <&dpot 0>; 65 io-channel-names = "dpot"; 207 dpot: mcp4651-104@28 { label
|
| /linux/Documentation/devicetree/bindings/iio/potentiometer/ |
| A D | microchip,mcp4531.yaml | 110 dpot: dpot@28 {
|
| /linux/Documentation/misc-devices/ |
| A D | ad525x_dpot.rst | 16 Each dpot device will have a set of eeprom, rdac, and tolerance files. How
|
| /linux/ |
| A D | MAINTAINERS | 9225 F: Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac 9226 F: Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml 9227 F: drivers/iio/dac/dpot-dac.c
|
Completed in 753 milliseconds