Searched refs:tp_rfk (Results 1 – 1 of 1) sorted by relevance
1156 static int tpacpi_rfk_update_swstate(const struct tpacpi_rfk *tp_rfk) in tpacpi_rfk_update_swstate() argument1160 if (!tp_rfk) in tpacpi_rfk_update_swstate()1163 status = (tp_rfk->ops->get_status)(); in tpacpi_rfk_update_swstate()1167 rfkill_set_sw_state(tp_rfk->rfkill, in tpacpi_rfk_update_swstate()1189 struct tpacpi_rfk *tp_rfk; in tpacpi_rfk_update_hwblock_state() local1192 tp_rfk = tpacpi_rfkill_switches[i]; in tpacpi_rfk_update_hwblock_state()1193 if (tp_rfk) { in tpacpi_rfk_update_hwblock_state()1194 if (rfkill_set_hw_state(tp_rfk->rfkill, in tpacpi_rfk_update_hwblock_state()1223 struct tpacpi_rfk *tp_rfk = data; in tpacpi_rfk_hook_set_block() local1231 res = (tp_rfk->ops->set_status)(blocked ? in tpacpi_rfk_hook_set_block()[all …]