twl4030_madc 232 drivers/iio/adc/twl4030-madc.c static struct twl4030_madc_data *twl4030_madc; twl4030_madc 615 drivers/iio/adc/twl4030-madc.c if (!req || !twl4030_madc) twl4030_madc 618 drivers/iio/adc/twl4030-madc.c mutex_lock(&twl4030_madc->lock); twl4030_madc 624 drivers/iio/adc/twl4030-madc.c if (twl4030_madc->requests[req->method].active) { twl4030_madc 632 drivers/iio/adc/twl4030-madc.c dev_err(twl4030_madc->dev, twl4030_madc 641 drivers/iio/adc/twl4030-madc.c dev_err(twl4030_madc->dev, twl4030_madc 652 drivers/iio/adc/twl4030-madc.c ret = twl4030_madc_start_conversion(twl4030_madc, req->method); twl4030_madc 655 drivers/iio/adc/twl4030-madc.c twl4030_madc->requests[req->method].active = 1; twl4030_madc 657 drivers/iio/adc/twl4030-madc.c ret = twl4030_madc_wait_conversion_ready(twl4030_madc, 5, method->ctrl); twl4030_madc 659 drivers/iio/adc/twl4030-madc.c twl4030_madc->requests[req->method].active = 0; twl4030_madc 662 drivers/iio/adc/twl4030-madc.c ret = twl4030_madc_read_channels(twl4030_madc, method->rbase, twl4030_madc 664 drivers/iio/adc/twl4030-madc.c twl4030_madc->requests[req->method].active = 0; twl4030_madc 667 drivers/iio/adc/twl4030-madc.c mutex_unlock(&twl4030_madc->lock); twl4030_madc 854 drivers/iio/adc/twl4030-madc.c twl4030_madc = madc;