Searched full:dpot (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/misc/ |
H A D | ad525x_dpot.c | 96 static inline int dpot_read_d8(struct dpot_data *dpot) in dpot_read_d8() argument 98 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8() 101 static inline int dpot_read_r8d8(struct dpot_data *dpot, u8 reg) in dpot_read_r8d8() argument 103 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8() 106 static inline int dpot_read_r8d16(struct dpot_data *dpot, u8 reg) in dpot_read_r8d16() argument 108 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16() 111 static inline int dpot_write_d8(struct dpot_data *dpot, u8 val) in dpot_write_d8() argument 113 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8() 116 static inline int dpot_write_r8d8(struct dpot_data *dpot, u8 reg, u16 val) in dpot_write_r8d8() argument 118 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8() [all …]
|
/openbmc/linux/drivers/iio/dac/ |
H A D | dpot-dac.c | 11 * It is assumed that the dpot is used as a voltage divider between the 12 * current dpot wiper setting and the maximum resistance of the dpot. The 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() 143 dev_err(dev, "dpot does not indicate its raw maximum value\n"); in dpot_dac_channel_max_ohms() 147 switch (iio_read_channel_scale(dac->dpot, &val, &val2)) { in dpot_dac_channel_max_ohms() [all …]
|
H A D | Makefile | 33 obj-$(CONFIG_DPOT_DAC) += dpot-dac.o
|
H A D | Kconfig | 293 tristate "DAC emulation using a DPOT" 299 called dpot-dac.
|
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H 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";
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | envelope-detector.yaml | 62 dpot: dpot@28 { 70 compatible = "dpot-dac"; 72 io-channels = <&dpot 0>; 73 io-channel-names = "dpot";
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H 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
|
/openbmc/linux/Documentation/devicetree/bindings/iio/potentiometer/ |
H A D | microchip,mcp4531.yaml | 110 dpot: dpot@28 {
|
/openbmc/linux/Documentation/misc-devices/ |
H A D | ad525x_dpot.rst | 16 Each dpot device will have a set of eeprom, rdac, and tolerance files. How
|
/openbmc/linux/ |
H A D | MAINTAINERS | 10199 F: Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac 10200 F: Documentation/devicetree/bindings/iio/dac/dpot-dac.yaml 10201 F: drivers/iio/dac/dpot-dac.c
|
H A D | opengrok2.0.log | [all...] |