Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Drn5t618_power.c68 struct iio_channel *channel_vusb; member
607 if (!info->channel_vusb) in rn5t618_usb_get_property()
610 ret = iio_read_channel_processed_scale(info->channel_vusb, &val->intval, 1000); in rn5t618_usb_get_property()
737 info->channel_vusb = devm_iio_channel_get(&pdev->dev, "vusb"); in rn5t618_power_probe()
738 if (IS_ERR(info->channel_vusb)) { in rn5t618_power_probe()
739 if (PTR_ERR(info->channel_vusb) == -ENODEV) in rn5t618_power_probe()
741 return PTR_ERR(info->channel_vusb); in rn5t618_power_probe()