Searched defs:madc (Results 1 - 1 of 1) sorted by relevance

/drivers/mfd/
H A Dtwl4030-madc.c10 * Based on twl4030-madc.c
40 #include <linux/i2c/twl4030-madc.h>
51 * struct twl4030_madc_data - a container for madc info
52 * @dev - pointer to device structure for madc
138 * @madc - pointer to struct twl4030_madc_data
142 static int twl4030_madc_channel_raw_read(struct twl4030_madc_data *madc, u8 reg) argument
152 dev_err(madc->dev, "unable to read MSB register 0x%X\n",
158 dev_err(madc->dev, "unable to read LSB register 0x%X\n", reg);
210 * @madc - pointer to twl4030_madc_data struct
217 static int twl4030_madc_read_channels(struct twl4030_madc_data *madc, argument
283 twl4030_madc_enable_irq(struct twl4030_madc_data *madc, u8 id) argument
314 twl4030_madc_disable_irq(struct twl4030_madc_data *madc, u8 id) argument
338 struct twl4030_madc_data *madc = _madc; local
415 twl4030_madc_set_irq(struct twl4030_madc_data *madc, struct twl4030_madc_request *req) argument
440 twl4030_madc_start_conversion(struct twl4030_madc_data *madc, int conv_method) argument
472 twl4030_madc_wait_conversion_ready(struct twl4030_madc_data *madc, unsigned int timeout_ms, u8 status_reg) argument
632 twl4030_madc_set_current_generator(struct twl4030_madc_data *madc, int chan, int on) argument
666 twl4030_madc_set_power(struct twl4030_madc_data *madc, int on) argument
697 struct twl4030_madc_data *madc; local
790 struct twl4030_madc_data *madc = platform_get_drvdata(pdev); local
[all...]

Completed in 209 milliseconds