Home
last modified time | relevance | path

Searched refs:twl4030_madc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/iio/adc/
Dtwl4030-madc.c232 static struct twl4030_madc_data *twl4030_madc; variable
608 if (!req || !twl4030_madc) in twl4030_madc_conversion()
611 mutex_lock(&twl4030_madc->lock); in twl4030_madc_conversion()
617 if (twl4030_madc->requests[req->method].active) { in twl4030_madc_conversion()
625 dev_err(twl4030_madc->dev, in twl4030_madc_conversion()
634 dev_err(twl4030_madc->dev, in twl4030_madc_conversion()
645 ret = twl4030_madc_start_conversion(twl4030_madc, req->method); in twl4030_madc_conversion()
648 twl4030_madc->requests[req->method].active = true; in twl4030_madc_conversion()
650 ret = twl4030_madc_wait_conversion_ready(twl4030_madc, 5, method->ctrl); in twl4030_madc_conversion()
652 twl4030_madc->requests[req->method].active = false; in twl4030_madc_conversion()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/power/supply/
Dnokia,n900-battery.yaml43 io-channels = <&twl4030_madc 0>,
44 <&twl4030_madc 4>,
45 <&twl4030_madc 12>;