Home
last modified time | relevance | path

Searched refs:iadc (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/iio/adc/
H A Dqcom-spmi-iadc.c117 static int iadc_read(struct iadc_chip *iadc, u16 offset, u8 *data) in iadc_read() argument
122 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read()
130 static int iadc_write(struct iadc_chip *iadc, u16 offset, u8 data) in iadc_write() argument
132 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write()
135 static int iadc_reset(struct iadc_chip *iadc) in iadc_reset() argument
140 ret = iadc_write(iadc, IADC_SEC_ACCESS, IADC_SEC_ACCESS_DATA); in iadc_reset()
144 ret = iadc_read(iadc, IADC_PERH_RESET_CTL3, &data); in iadc_reset()
148 ret = iadc_write(iadc, IADC_SEC_ACCESS, IADC_SEC_ACCESS_DATA); in iadc_reset()
154 return iadc_write(iadc, IADC_PERH_RESET_CTL3, data); in iadc_reset()
157 static int iadc_set_state(struct iadc_chip *iadc, bool state) in iadc_set_state() argument
[all …]
H A DMakefile86 obj-$(CONFIG_QCOM_SPMI_IADC) += qcom-spmi-iadc.o
H A DKconfig927 be called qcom-spmi-iadc.
/openbmc/linux/arch/arm/boot/dts/qcom/
H A Dpm8226.dtsi131 compatible = "qcom,pm8226-iadc", "qcom,spmi-iadc";
H A Dpm8941.dtsi178 compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
/openbmc/linux/
H A Dopengrok2.0.log[all...]
H A Dopengrok0.0.log[all...]