Searched refs:bluetooth_rfkill (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/platform/x86/ |
D | hp-wmi.c | 148 static struct rfkill *bluetooth_rfkill; variable 538 if (bluetooth_rfkill) in hp_wmi_notify() 539 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify() 647 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup() 651 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 653 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup() 655 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup() 678 if (bluetooth_rfkill) in hp_wmi_rfkill_setup() 679 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup() 681 rfkill_destroy(bluetooth_rfkill); in hp_wmi_rfkill_setup() [all …]
|
D | dell-laptop.c | 94 static struct rfkill *bluetooth_rfkill; variable 469 if (bluetooth_rfkill) in dell_update_rfkill() 470 dell_rfkill_query(bluetooth_rfkill, (void *)2); in dell_update_rfkill() 509 bluetooth_rfkill = rfkill_alloc("dell-bluetooth", in dell_setup_rfkill() 513 if (!bluetooth_rfkill) { in dell_setup_rfkill() 517 ret = rfkill_register(bluetooth_rfkill); in dell_setup_rfkill() 539 if (bluetooth_rfkill) in dell_setup_rfkill() 540 rfkill_unregister(bluetooth_rfkill); in dell_setup_rfkill() 542 rfkill_destroy(bluetooth_rfkill); in dell_setup_rfkill() 557 if (bluetooth_rfkill) { in dell_cleanup_rfkill() [all …]
|
D | acer-wmi.c | 255 static struct rfkill *bluetooth_rfkill; variable 1400 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update() 1473 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init() 1476 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init() 1477 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init() 1503 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init() 1504 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init() 1527 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit() 1528 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit() 1644 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()
|
D | eeepc-laptop.c | 175 struct rfkill *bluetooth_rfkill; member 855 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit() 856 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit() 857 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit() 858 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit() 885 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init() 960 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore() 961 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
|