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.c402 static struct rfkill *bluetooth_rfkill; variable
1156 if (bluetooth_rfkill) in hp_wmi_notify()
1157 rfkill_set_states(bluetooth_rfkill, in hp_wmi_notify()
1304 bluetooth_rfkill = rfkill_alloc("hp-bluetooth", &device->dev, in hp_wmi_rfkill_setup()
1308 if (!bluetooth_rfkill) { in hp_wmi_rfkill_setup()
1312 rfkill_init_sw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1314 rfkill_set_hw_state(bluetooth_rfkill, in hp_wmi_rfkill_setup()
1316 err = rfkill_register(bluetooth_rfkill); in hp_wmi_rfkill_setup()
1344 if (bluetooth_rfkill) in hp_wmi_rfkill_setup()
1345 rfkill_unregister(bluetooth_rfkill); in hp_wmi_rfkill_setup()
[all …]
/linux/drivers/platform/x86/
H A Deeepc-laptop.c167 struct rfkill *bluetooth_rfkill; member
811 if (eeepc->bluetooth_rfkill) { in eeepc_rfkill_exit()
812 rfkill_unregister(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
813 rfkill_destroy(eeepc->bluetooth_rfkill); in eeepc_rfkill_exit()
814 eeepc->bluetooth_rfkill = NULL; in eeepc_rfkill_exit()
841 result = eeepc_new_rfkill(eeepc, &eeepc->bluetooth_rfkill, in eeepc_rfkill_init()
917 if (eeepc->bluetooth_rfkill) in eeepc_hotk_restore()
918 rfkill_set_sw_state(eeepc->bluetooth_rfkill, in eeepc_hotk_restore()
H A Dacer-wmi.c370 static struct rfkill *bluetooth_rfkill; variable
2334 rfkill_set_sw_state(bluetooth_rfkill, !state); in acer_rfkill_update()
2407 bluetooth_rfkill = acer_rfkill_register(dev, in acer_rfkill_init()
2410 if (IS_ERR(bluetooth_rfkill)) { in acer_rfkill_init()
2411 err = PTR_ERR(bluetooth_rfkill); in acer_rfkill_init()
2437 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_init()
2438 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_init()
2461 rfkill_unregister(bluetooth_rfkill); in acer_rfkill_exit()
2462 rfkill_destroy(bluetooth_rfkill); in acer_rfkill_exit()
2513 rfkill_set_sw_state(bluetooth_rfkill, in acer_wmi_notify()