Searched refs:channel_temp (Results 1 – 3 of 3) sorted by relevance
20 struct iio_channel *channel_temp; member97 int raw = rx51_battery_read_adc(di->channel_temp); in rx51_battery_read_temperature()212 di->channel_temp = iio_channel_get(di->dev, "temp"); in rx51_battery_probe()213 if (IS_ERR(di->channel_temp)) { in rx51_battery_probe()214 ret = PTR_ERR(di->channel_temp); in rx51_battery_probe()243 iio_channel_release(di->channel_temp); in rx51_battery_probe()257 iio_channel_release(di->channel_temp); in rx51_battery_remove()
27 struct iio_channel *channel_temp; member72 return madc_read(bt->channel_temp) * 10; in twl4030_madc_bat_get_temp()198 twl4030_madc_bat->channel_temp = iio_channel_get(&pdev->dev, "temp"); in twl4030_madc_battery_probe()199 if (IS_ERR(twl4030_madc_bat->channel_temp)) { in twl4030_madc_battery_probe()200 ret = PTR_ERR(twl4030_madc_bat->channel_temp); in twl4030_madc_battery_probe()242 iio_channel_release(twl4030_madc_bat->channel_temp); in twl4030_madc_battery_probe()255 iio_channel_release(bat->channel_temp); in twl4030_madc_battery_remove()
2328 rate_section = -1, channel_temp = -1; in _rtl8812ae_phy_get_txpower_limit() local2433 channel_temp = _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt(hw, in _rtl8812ae_phy_get_txpower_limit()2436 channel_temp = _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt(hw, in _rtl8812ae_phy_get_txpower_limit()2443 rate_section == -1 || channel_temp == -1) { in _rtl8812ae_phy_get_txpower_limit()2447 rate_section, channel_temp); in _rtl8812ae_phy_get_txpower_limit()2454 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit()