Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Drx51_battery.c20 struct iio_channel *channel_temp; member
97 int raw = rx51_battery_read_adc(di->channel_temp); in rx51_battery_read_temperature()
209 di->channel_temp = devm_iio_channel_get(di->dev, "temp"); in rx51_battery_probe()
210 if (IS_ERR(di->channel_temp)) in rx51_battery_probe()
211 return PTR_ERR(di->channel_temp); in rx51_battery_probe()
H A Dtwl4030_madc_battery.c27 struct iio_channel *channel_temp; member
72 return madc_read(bt->channel_temp) * 10; in twl4030_madc_bat_get_temp()
197 twl4030_madc_bat->channel_temp = devm_iio_channel_get(&pdev->dev, "temp"); in twl4030_madc_battery_probe()
198 if (IS_ERR(twl4030_madc_bat->channel_temp)) in twl4030_madc_battery_probe()
199 return PTR_ERR(twl4030_madc_bat->channel_temp); in twl4030_madc_battery_probe()
H A Dmax17040_battery.c146 struct iio_channel *channel_temp; member
410 if (!chip->channel_temp) in max17040_get_property()
413 iio_read_channel_processed_scale(chip->channel_temp, in max17040_get_property()
483 chip->channel_temp = devm_iio_channel_get(&client->dev, "temp"); in max17040_probe()
484 if (IS_ERR(chip->channel_temp)) { in max17040_probe()
485 ret = PTR_ERR(chip->channel_temp); in max17040_probe()
487 return dev_err_probe(&client->dev, PTR_ERR(chip->channel_temp), in max17040_probe()
490 chip->channel_temp = NULL; in max17040_probe()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c2315 rate_section = -1, channel_temp = -1; in _rtl8812ae_phy_get_txpower_limit() local
2420 channel_temp = _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt(hw, in _rtl8812ae_phy_get_txpower_limit()
2423 channel_temp = _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt(hw, in _rtl8812ae_phy_get_txpower_limit()
2430 rate_section == -1 || channel_temp == -1) { in _rtl8812ae_phy_get_txpower_limit()
2434 rate_section, channel_temp); in _rtl8812ae_phy_get_txpower_limit()
2441 chnl = channel_temp; in _rtl8812ae_phy_get_txpower_limit()