Home
last modified time | relevance | path

Searched refs:madc (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/iio/adc/
Dtwl4030-madc.c192 struct twl4030_madc_data *madc = iio_priv(iio_dev); in twl4030_madc_read() local
196 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read()
322 static int twl4030_madc_channel_raw_read(struct twl4030_madc_data *madc, u8 reg) in twl4030_madc_channel_raw_read() argument
332 dev_err(madc->dev, "unable to read register 0x%X\n", reg); in twl4030_madc_channel_raw_read()
393 static int twl4030_madc_read_channels(struct twl4030_madc_data *madc, in twl4030_madc_read_channels() argument
404 buf[i] = twl4030_madc_channel_raw_read(madc, reg); in twl4030_madc_read_channels()
406 dev_err(madc->dev, "Unable to read register 0x%X\n", in twl4030_madc_read_channels()
418 dev_err(madc->dev, "err reading current\n"); in twl4030_madc_read_channels()
428 dev_err(madc->dev, "err reading temperature\n"); in twl4030_madc_read_channels()
462 static int twl4030_madc_disable_irq(struct twl4030_madc_data *madc, u8 id) in twl4030_madc_disable_irq() argument
[all …]
DMakefile82 obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
DKconfig892 called twl4030-madc.
/Linux-v4.19/Documentation/devicetree/bindings/iio/adc/
Dtwl4030-madc.txt7 - compatible: Should contain "ti,twl4030-madc".
12 - ti,system-uses-second-madc-irq: boolean, set if the second madc irq register
19 madc {
20 compatible = "ti,twl4030-madc";
/Linux-v4.19/Documentation/hwmon/
Dtwl4030-madc-hwmon1 Kernel driver twl4030-madc
6 Prefix: 'twl4030-madc'
/Linux-v4.19/arch/arm/boot/dts/
Dtwl4030.dtsi158 twl_madc: madc {
159 compatible = "ti,twl4030-madc";
/Linux-v4.19/sound/soc/codecs/
Dtlv320aic31xx.c182 u8 madc; member
869 aic31xx_divs[i].madc ? aic31xx_divs[i].madc : 1); in aic31xx_setup_pll()
889 aic31xx_divs[i].madc, in aic31xx_setup_pll()
1171 if (aic31xx_divs[aic31xx->rate_div_line].madc) in aic31xx_clk_on()
Dtlv320aic32x4.c60 u8 madc; member
729 AIC32X4_MADC_MASK, aic32x4_divs[i].madc); in aic32x4_hw_params()
/Linux-v4.19/drivers/mfd/
Dtwl-core.c742 if (IS_ENABLED(CONFIG_TWL4030_MADC) && pdata->madc && in add_children()
745 pdata->madc, sizeof(*pdata->madc), in add_children()
/Linux-v4.19/include/linux/mfd/
Dtwl.h711 struct twl4030_madc_platform_data *madc; member