Searched refs:madc (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/drivers/iio/adc/ |
| D | twl4030-madc.c | 178 struct twl4030_madc_data *madc = iio_priv(iio_dev); in twl4030_madc_read() local 182 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() 308 static int twl4030_madc_channel_raw_read(struct twl4030_madc_data *madc, u8 reg) in twl4030_madc_channel_raw_read() argument 318 dev_err(madc->dev, "unable to read register 0x%X\n", reg); in twl4030_madc_channel_raw_read() 379 static int twl4030_madc_read_channels(struct twl4030_madc_data *madc, in twl4030_madc_read_channels() argument 390 buf[i] = twl4030_madc_channel_raw_read(madc, reg); in twl4030_madc_read_channels() 392 dev_err(madc->dev, "Unable to read register 0x%X\n", in twl4030_madc_read_channels() 404 dev_err(madc->dev, "err reading current\n"); in twl4030_madc_read_channels() 414 dev_err(madc->dev, "err reading temperature\n"); in twl4030_madc_read_channels() 448 static int twl4030_madc_disable_irq(struct twl4030_madc_data *madc, u8 id) in twl4030_madc_disable_irq() argument [all …]
|
| D | Makefile | 96 obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
|
| D | Kconfig | 1047 called twl4030-madc.
|
| /Linux-v5.4/Documentation/devicetree/bindings/iio/adc/ |
| D | twl4030-madc.txt | 7 - 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-v5.4/Documentation/hwmon/ |
| D | twl4030-madc-hwmon.rst | 1 Kernel driver twl4030-madc 8 Prefix: 'twl4030-madc'
|
| D | index.rst | 157 twl4030-madc-hwmon
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | twl4030.dtsi | 155 twl_madc: madc { 156 compatible = "ti,twl4030-madc";
|
| /Linux-v5.4/sound/soc/codecs/ |
| D | tlv320aic32x4.c | 670 u8 madc, nadc, mdac, ndac, max_nadc, min_mdac, max_ndac; in aic32x4_setup_clocks() local 711 madc = DIV_ROUND_UP((32 * adc_resource_class), aosr); in aic32x4_setup_clocks() 716 max_nadc = AIC32X4_MAX_CODEC_CLKIN_FREQ / (madc * aosr * sample_rate); in aic32x4_setup_clocks() 719 adc_clock_rate = nadc * madc * aosr * sample_rate; in aic32x4_setup_clocks() 738 madc); in aic32x4_setup_clocks()
|
| D | tlv320aic31xx.c | 186 u8 madc; member 872 aic31xx_divs[i].madc ? aic31xx_divs[i].madc : 1); in aic31xx_setup_pll() 892 aic31xx_divs[i].madc, in aic31xx_setup_pll() 1174 if (aic31xx_divs[aic31xx->rate_div_line].madc) in aic31xx_clk_on()
|
| /Linux-v5.4/drivers/mfd/ |
| D | twl-core.c | 729 if (IS_ENABLED(CONFIG_TWL4030_MADC) && pdata->madc && in add_children() 732 pdata->madc, sizeof(*pdata->madc), in add_children()
|
| /Linux-v5.4/include/linux/mfd/ |
| D | twl.h | 697 struct twl4030_madc_platform_data *madc; member
|