Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Drx51_battery.c21 struct iio_channel *channel_bsi; member
134 int capacity = rx51_battery_read_adc(di->channel_bsi); in rx51_battery_read_capacity()
218 di->channel_bsi = iio_channel_get(di->dev, "bsi"); in rx51_battery_probe()
219 if (IS_ERR(di->channel_bsi)) { in rx51_battery_probe()
220 ret = PTR_ERR(di->channel_bsi); in rx51_battery_probe()
241 iio_channel_release(di->channel_bsi); in rx51_battery_probe()
256 iio_channel_release(di->channel_bsi); in rx51_battery_remove()