Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/thermal/intel/
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_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_resume()
/Linux-v5.10/drivers/mtd/nand/raw/
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()