Searched refs:twl4030_madc (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/iio/adc/
H A Dtwl4030-madc.c135 static struct twl4030_madc_data *twl4030_madc; variable in typeref:struct:twl4030_madc_data
576 if (!req || !twl4030_madc) twl4030_madc_conversion()
579 mutex_lock(&twl4030_madc->lock); twl4030_madc_conversion()
585 if (twl4030_madc->requests[req->method].active) { twl4030_madc_conversion()
593 dev_err(twl4030_madc->dev, twl4030_madc_conversion()
602 dev_err(twl4030_madc->dev, twl4030_madc_conversion()
609 ret = twl4030_madc_set_irq(twl4030_madc, req); twl4030_madc_conversion()
612 ret = twl4030_madc_start_conversion(twl4030_madc, req->method); twl4030_madc_conversion()
615 twl4030_madc->requests[req->method].active = 1; twl4030_madc_conversion()
624 ret = twl4030_madc_start_conversion(twl4030_madc, req->method); twl4030_madc_conversion()
627 twl4030_madc->requests[req->method].active = 1; twl4030_madc_conversion()
629 ret = twl4030_madc_wait_conversion_ready(twl4030_madc, 5, method->ctrl); twl4030_madc_conversion()
631 twl4030_madc->requests[req->method].active = 0; twl4030_madc_conversion()
634 ret = twl4030_madc_read_channels(twl4030_madc, method->rbase, twl4030_madc_conversion()
636 twl4030_madc->requests[req->method].active = 0; twl4030_madc_conversion()
639 mutex_unlock(&twl4030_madc->lock); twl4030_madc_conversion()
843 "twl4030_madc", madc); twl4030_madc_probe()
848 twl4030_madc = madc; twl4030_madc_probe()
918 .name = "twl4030_madc",
928 MODULE_ALIAS("platform:twl4030_madc");
/linux-4.4.14/drivers/hwmon/
H A Dtwl4030-madc-hwmon.c94 ATTRIBUTE_GROUPS(twl4030_madc); variable
101 "twl4030_madc", NULL, twl4030_madc_hwmon_probe()
/linux-4.4.14/include/linux/i2c/
H A Dtwl4030-madc.h2 * twl4030_madc.h - Header for TWL4030 MADC
/linux-4.4.14/drivers/power/
H A Dtwl4030_madc_battery.c277 MODULE_DESCRIPTION("twl4030_madc battery driver");
/linux-4.4.14/drivers/mfd/
H A Dtwl-core.c747 child = add_child(TWL4030_MODULE_MADC, "twl4030_madc", add_children()

Completed in 280 milliseconds