Searched refs:thermal_base (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | spear_thermal.c | 24 void __iomem *thermal_base; member 40 *temp = (readl_relaxed(stdev->thermal_base) & 0x7F) * MD_FACTOR; in thermal_get_temp() 55 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_suspend() 56 writel_relaxed(actual_mask & ~stdev->flags, stdev->thermal_base); in spear_thermal_suspend() 78 actual_mask = readl_relaxed(stdev->thermal_base); in spear_thermal_resume() 79 writel_relaxed(actual_mask | stdev->flags, stdev->thermal_base); in spear_thermal_resume() 108 stdev->thermal_base = devm_ioremap_resource(&pdev->dev, res); in spear_thermal_probe() 109 if (IS_ERR(stdev->thermal_base)) in spear_thermal_probe() 110 return PTR_ERR(stdev->thermal_base); in spear_thermal_probe() 125 writel_relaxed(stdev->flags, stdev->thermal_base); in spear_thermal_probe() [all …]
|
| H A D | mtk_thermal.c | 276 void __iomem *thermal_base; member 619 val = readl(mt->thermal_base + PTPCORESEL); in mtk_thermal_get_bank() 622 writel(val, mt->thermal_base + PTPCORESEL); in mtk_thermal_get_bank() 655 raw = readl(mt->thermal_base + conf->msr[i]); in mtk_thermal_bank_temperature() 714 void __iomem *controller_base = mt->thermal_base + offset; in mtk_thermal_init_bank() 802 mt->thermal_base + conf->adcpnp[i]); in mtk_thermal_init_bank() 981 writel(0x1, mt->thermal_base + TEMP_MONCTL0); in mtk_thermal_release_periodic_ts() 982 tmp = readl(mt->thermal_base + TEMP_MSRCTL1); in mtk_thermal_release_periodic_ts() 983 writel((tmp & (~0x10e)), mt->thermal_base + TEMP_MSRCTL1); in mtk_thermal_release_periodic_ts() 1011 mt->thermal_base = devm_ioremap_resource(&pdev->dev, res); in mtk_thermal_probe() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/ |
| H A D | halrf.c | 4420 u8 thermal_base = 0, temp[2] = {0}; in halrf_powertracking_thermal() local 4447 thermal_base = tssi->thermal_cal; in halrf_powertracking_thermal() 4449 thermal_detla = (s8)(thermal_value - thermal_base); in halrf_powertracking_thermal() 4451 thermal_value, thermal_base); in halrf_powertracking_thermal() 4487 u8 thermal_base = 0; in halrf_xtal_thermal_track() local 4506 thermal_base = tssi->thermal[0]; in halrf_xtal_thermal_track() 4510 RF_DBG(dm, DBG_RF_TX_PWR_TRACK, "[RF][xtal] thermal_base = 0x%x\n", thermal_base); in halrf_xtal_thermal_track() 4514 thermal_detla = (s8)(thermal_value - thermal_base); in halrf_xtal_thermal_track()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/halrf/ |
| H A D | halrf.c | 4427 u8 thermal_base = 0, temp[2] = {0}; in halrf_powertracking_thermal() local 4454 thermal_base = tssi->thermal_cal; in halrf_powertracking_thermal() 4456 thermal_detla = (s8)(thermal_value - thermal_base); in halrf_powertracking_thermal() 4458 thermal_value, thermal_base); in halrf_powertracking_thermal() 4494 u8 thermal_base = 0; in halrf_xtal_thermal_track() local 4513 thermal_base = tssi->thermal[0]; in halrf_xtal_thermal_track() 4517 RF_DBG(dm, DBG_RF_TX_PWR_TRACK, "[RF][xtal] thermal_base = 0x%x\n", thermal_base); in halrf_xtal_thermal_track() 4521 thermal_detla = (s8)(thermal_value - thermal_base); in halrf_xtal_thermal_track()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/halrf/ |
| H A D | halrf.c | 3950 u8 thermal_base = 0; in halrf_xtal_thermal_track() local 3969 thermal_base = tssi->thermal[0]; in halrf_xtal_thermal_track() 3973 RF_DBG(dm, DBG_RF_TX_PWR_TRACK, "[RF][xtal] thermal_base = 0x%x\n", thermal_base); in halrf_xtal_thermal_track() 3977 thermal_detla = (s8)(thermal_value - thermal_base); in halrf_xtal_thermal_track()
|