Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c540 static struct rfkill *bluetooth_rfkill; variable
1416 if (bluetooth_rfkill) in hp_wmi_notify()
1417 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
1564 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
1568 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
1572 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1574 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1576 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1604 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
1605 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
/linux/drivers/platform/x86/
H A Deeepc-laptop.c165 struct rfkill *bluetooth_rfkill; member
809 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit()
810 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
811 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
812 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit()
839 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init()
915 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore()
916 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
H A Dacer-wmi.c370 static struct rfkill *bluetooth_rfkill; variable
2336 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
2409 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
2412 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
2413 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
2439 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
2440 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
2463 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
2464 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
2515 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()