Home
last modified time | relevance | path

Searched full:vadc (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/iio/adc/
H A Dqcom-spmi-vadc.c10 #include <linux/iio/adc/qcom-vadc-common.h>
23 #include <dt-bindings/iio/qcom,spmi-vadc.h>
25 /* VADC register and bit definitions */
76 * struct vadc_channel_prop - VADC channel property.
101 * struct vadc_priv - VADC private structure.
105 * @nchannels: number of VADC channels.
106 * @chan_props: array of VADC channel properties.
110 * @complete: VADC result notification after interrupt is received.
139 static int vadc_read(struct vadc_priv *vadc, u16 offset, u8 *data) in vadc_read() argument
141 return regmap_bulk_read(vadc in vadc_read()
144 vadc_write(struct vadc_priv * vadc,u16 offset,u8 data) vadc_write() argument
149 vadc_reset(struct vadc_priv * vadc) vadc_reset() argument
171 vadc_set_state(struct vadc_priv * vadc,bool state) vadc_set_state() argument
176 vadc_show_status(struct vadc_priv * vadc) vadc_show_status() argument
210 vadc_configure(struct vadc_priv * vadc,struct vadc_channel_prop * prop) vadc_configure() argument
251 vadc_poll_wait_eoc(struct vadc_priv * vadc,unsigned int interval_us) vadc_poll_wait_eoc() argument
276 vadc_read_result(struct vadc_priv * vadc,u16 * data) vadc_read_result() argument
289 vadc_get_channel(struct vadc_priv * vadc,unsigned int num) vadc_get_channel() argument
303 vadc_do_conversion(struct vadc_priv * vadc,struct vadc_channel_prop * prop,u16 * data) vadc_do_conversion() argument
354 vadc_measure_ref_points(struct vadc_priv * vadc) vadc_measure_ref_points() argument
450 struct vadc_priv *vadc = iio_priv(indio_dev); vadc_read_raw() local
490 struct vadc_priv *vadc = iio_priv(indio_dev); vadc_fwnode_xlate() local
503 struct vadc_priv *vadc = iio_priv(indio_dev); vadc_read_label() local
752 vadc_get_fw_data(struct vadc_priv * vadc) vadc_get_fw_data() argument
822 struct vadc_priv *vadc = dev_id; vadc_isr() local
829 vadc_check_revision(struct vadc_priv * vadc) vadc_check_revision() argument
868 struct vadc_priv *vadc; vadc_probe() local
[all...]
H A DMakefile114 obj-$(CONFIG_QCOM_SPMI_VADC) += qcom-spmi-vadc.o
115 obj-$(CONFIG_QCOM_VADC_COMMON) += qcom-vadc-common.o
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dqcom,spmi-vadc.yaml4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
26 - qcom,spmi-vadc
32 description: VADC base address in the SPMI PMIC register map
62 For compatible property "qcom,spmi-vadc" following channels, also known as
73 See include/dt-bindings/iio/qcom,spmi-vadc.h
93 fed to VADC. The configuration for this node is to know the
111 - For compatible property "qcom,spmi-vadc", i
[all...]
/linux/Documentation/devicetree/bindings/thermal/
H A Dqcom-spmi-adc-tm-hc.yaml73 If this property is specified VADC will use the VDD reference
85 signal is fed to VADC. The configuration for this node is to know the
113 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dqcom-spmi-adc-tm5.yaml78 If this property is specified VADC will use the VDD reference
90 signal is fed to VADC. The configuration for this node is to know the
166 #include <dt-bindings/iio/qcom,spmi-vadc.h>
/linux/arch/arm/boot/dts/qcom/
H A Dpma8084.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
66 compatible = "qcom,spmi-vadc";
H A Dpm8226.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
100 compatible = "qcom,spmi-vadc";
H A Dpm8941.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
142 compatible = "qcom,spmi-vadc";
H A Dpmx55.dtsi8 #include <dt-bindings/iio/qcom,spmi-vadc.h>
/linux/arch/arm64/boot/dts/qcom/
H A Dpm8953.dtsi4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
77 compatible = "qcom,spmi-vadc";
H A Dpmi8950.dtsi4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
16 compatible = "qcom,spmi-vadc";
H A Dpm8937.dtsi6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
100 compatible = "qcom,spmi-vadc";
H A Dpm8994.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
78 compatible = "qcom,spmi-vadc";
H A Dpm8950.dtsi8 #include <dt-bindings/iio/qcom,spmi-vadc.h>
54 compatible = "qcom,spmi-vadc";
H A Dpm8916.dtsi2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
120 compatible = "qcom,spmi-vadc";
H A Dpm660l.dtsi6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm4125.dtsi6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpmm8155au_1.dtsi9 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm8998.dtsi4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dpm6150l.dtsi6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
/linux/include/dt-bindings/iio/
H A Dqcom,spmi-adc7-smb139x.h9 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dqcom,spmi-adc7-pmr735a.h13 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dqcom,spmi-adc7-pmr735b.h13 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dqcom,spmi-adc7-pmk8350.h13 #include <dt-bindings/iio/qcom,spmi-vadc.h>
H A Dqcom,spmi-adc7-pm8350b.h13 #include <dt-bindings/iio/qcom,spmi-vadc.h>

12