tp_rfk 1174 drivers/platform/x86/thinkpad_acpi.c static int tpacpi_rfk_update_swstate(const struct tpacpi_rfk *tp_rfk) tp_rfk 1178 drivers/platform/x86/thinkpad_acpi.c if (!tp_rfk) tp_rfk 1181 drivers/platform/x86/thinkpad_acpi.c status = (tp_rfk->ops->get_status)(); tp_rfk 1185 drivers/platform/x86/thinkpad_acpi.c rfkill_set_sw_state(tp_rfk->rfkill, tp_rfk 1207 drivers/platform/x86/thinkpad_acpi.c struct tpacpi_rfk *tp_rfk; tp_rfk 1210 drivers/platform/x86/thinkpad_acpi.c tp_rfk = tpacpi_rfkill_switches[i]; tp_rfk 1211 drivers/platform/x86/thinkpad_acpi.c if (tp_rfk) { tp_rfk 1212 drivers/platform/x86/thinkpad_acpi.c if (rfkill_set_hw_state(tp_rfk->rfkill, tp_rfk 1241 drivers/platform/x86/thinkpad_acpi.c struct tpacpi_rfk *tp_rfk = data; tp_rfk 1249 drivers/platform/x86/thinkpad_acpi.c res = (tp_rfk->ops->set_status)(blocked ? tp_rfk 1253 drivers/platform/x86/thinkpad_acpi.c tpacpi_rfk_update_swstate(tp_rfk); tp_rfk 1324 drivers/platform/x86/thinkpad_acpi.c struct tpacpi_rfk *tp_rfk; tp_rfk 1328 drivers/platform/x86/thinkpad_acpi.c tp_rfk = tpacpi_rfkill_switches[id]; tp_rfk 1329 drivers/platform/x86/thinkpad_acpi.c if (tp_rfk) { tp_rfk 1330 drivers/platform/x86/thinkpad_acpi.c rfkill_unregister(tp_rfk->rfkill); tp_rfk 1331 drivers/platform/x86/thinkpad_acpi.c rfkill_destroy(tp_rfk->rfkill); tp_rfk 1333 drivers/platform/x86/thinkpad_acpi.c kfree(tp_rfk);