Home
last modified time | relevance | path

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

/linux/drivers/thermal/intel/
H A Dintel_pch_thermal.c168 u8 tsel; in intel_pch_thermal_probe() local
203 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe()
208 if (tsel & WPT_TSEL_PLDB) { in intel_pch_thermal_probe()
214 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe()
282 u8 tsel; in intel_pch_thermal_suspend_noirq() local
286 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq()
287 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq()
353 u8 tsel; in intel_pch_thermal_resume() local
358 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_resume()
360 writeb(tsel | WPT_TSEL_ET in intel_pch_thermal_resume()
[all...]
/linux/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()