Searched refs:tsel (Results 1 – 2 of 2) sorted by relevance
118 u8 tsel; in pch_wpt_init() local129 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() local190 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() local204 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()
540 u32 temp, tsel = 0; in mtk_nfc_setup_interface() local610 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()