Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dthinkpad_acpi.c1171 static struct tpacpi_rfk *tpacpi_rfkill_switches[TPACPI_RFK_SW_MAX]; variable
1197 tpacpi_rfk_update_swstate(tpacpi_rfkill_switches[i]); in tpacpi_rfk_update_swstate_all()
1210 tp_rfk = tpacpi_rfkill_switches[i]; in tpacpi_rfk_update_hwblock_state()
1274 BUG_ON(id >= TPACPI_RFK_SW_MAX || tpacpi_rfkill_switches[id]); in tpacpi_new_rfkill()
1315 tpacpi_rfkill_switches[id] = atp_rfk; in tpacpi_new_rfkill()
1328 tp_rfk = tpacpi_rfkill_switches[id]; in tpacpi_destroy_rfkill()
1332 tpacpi_rfkill_switches[id] = NULL; in tpacpi_destroy_rfkill()
1356 status = tpacpi_rfk_update_swstate(tpacpi_rfkill_switches[id]); in tpacpi_rfk_sysfs_enable_show()
1383 res = tpacpi_rfkill_switches[id]->ops->set_status((!!t) ? in tpacpi_rfk_sysfs_enable_store()
1385 tpacpi_rfk_update_swstate(tpacpi_rfkill_switches[id]); in tpacpi_rfk_sysfs_enable_store()
[all …]