Home
last modified time | relevance | path

Searched refs:tsel (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_pch_thermal.c118 u8 tsel; in pch_wpt_init() local
129 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()
134 if (tsel & WPT_TSEL_PLDB) { in pch_wpt_init()
139 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()
185 u8 tsel; in pch_wpt_suspend() local
190 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
192 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()
199 u8 tsel; in pch_wpt_resume() local
204 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_resume()
206 writeb(tsel | WPT_TSEL_ET in pch_wpt_resume()
[all...]
/kernel/linux/linux-6.6/drivers/thermal/intel/
H A Dintel_pch_thermal.c166 u8 tsel; in intel_pch_thermal_probe() local
201 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe()
206 if (tsel & WPT_TSEL_PLDB) { in intel_pch_thermal_probe()
212 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe()
280 u8 tsel; in intel_pch_thermal_suspend_noirq() local
284 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq()
285 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq()
346 u8 tsel; in intel_pch_thermal_resume() local
351 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_resume()
353 writeb(tsel | WPT_TSEL_ET in intel_pch_thermal_resume()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmtk_nand.c540 u32 temp, tsel = 0; in mtk_nfc_setup_interface() local
610 tsel = timings->tREA_max / 1000; in mtk_nfc_setup_interface()
611 tsel = DIV_ROUND_UP(tsel * rate, 1000000); in mtk_nfc_setup_interface()
612 tsel -= (trlt + 1); in mtk_nfc_setup_interface()
613 if (tsel > MAX_STROBE_DLY) { in mtk_nfc_setup_interface()
614 trlt += tsel - MAX_STROBE_DLY; in mtk_nfc_setup_interface()
615 tsel = MAX_STROBE_DLY; in mtk_nfc_setup_interface()
620 temp |= tsel << STROBE_SHIFT; in mtk_nfc_setup_interface()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmtk_nand.c539 u32 temp, tsel = 0; in mtk_nfc_setup_interface() local
609 tsel = timings->tREA_max / 1000; in mtk_nfc_setup_interface()
610 tsel = DIV_ROUND_UP(tsel * rate, 1000000); in mtk_nfc_setup_interface()
611 tsel -= (trlt + 1); in mtk_nfc_setup_interface()
612 if (tsel > MAX_STROBE_DLY) { in mtk_nfc_setup_interface()
613 trlt += tsel - MAX_STROBE_DLY; in mtk_nfc_setup_interface()
614 tsel = MAX_STROBE_DLY; in mtk_nfc_setup_interface()
619 temp |= tsel << STROBE_SHIFT; in mtk_nfc_setup_interface()

Completed in 9 milliseconds