Searched refs:tsel (Results 1 – 2 of 2) sorted by relevance
115 u8 tsel; in pch_wpt_init() local126 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()131 if (tsel & WPT_TSEL_PLDB) { in pch_wpt_init()136 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()182 u8 tsel; in pch_wpt_suspend() local187 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()189 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend()196 u8 tsel; in pch_wpt_resume() local201 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_resume()203 writeb(tsel | WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_resume()
510 u32 temp, tsel = 0; in mtk_nfc_setup_data_interface() local580 tsel = timings->tREA_max / 1000; in mtk_nfc_setup_data_interface()581 tsel = DIV_ROUND_UP(tsel * rate, 1000000); in mtk_nfc_setup_data_interface()582 tsel -= (trlt + 1); in mtk_nfc_setup_data_interface()583 if (tsel > MAX_STROBE_DLY) { in mtk_nfc_setup_data_interface()584 trlt += tsel - MAX_STROBE_DLY; in mtk_nfc_setup_data_interface()585 tsel = MAX_STROBE_DLY; in mtk_nfc_setup_data_interface()590 temp |= tsel << STROBE_SHIFT; in mtk_nfc_setup_data_interface()