Home
last modified time | relevance | path

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

/linux/arch/arm/mach-pxa/
A Dtosa-bt.c56 struct rfkill *rfk; in tosa_bt_probe() local
73 rfk = rfkill_alloc("tosa-bt", &dev->dev, RFKILL_TYPE_BLUETOOTH, in tosa_bt_probe()
75 if (!rfk) { in tosa_bt_probe()
80 rc = rfkill_register(rfk); in tosa_bt_probe()
84 platform_set_drvdata(dev, rfk); in tosa_bt_probe()
89 rfkill_destroy(rfk); in tosa_bt_probe()
104 struct rfkill *rfk = platform_get_drvdata(dev); in tosa_bt_remove() local
108 if (rfk) { in tosa_bt_remove()
109 rfkill_unregister(rfk); in tosa_bt_remove()
110 rfkill_destroy(rfk); in tosa_bt_remove()
[all …]
/linux/arch/arm/mach-s3c/
A Dh1940-bluetooth.c62 struct rfkill *rfk; in h1940bt_probe() local
88 rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH, in h1940bt_probe()
90 if (!rfk) { in h1940bt_probe()
95 ret = rfkill_register(rfk); in h1940bt_probe()
99 platform_set_drvdata(pdev, rfk); in h1940bt_probe()
104 rfkill_destroy(rfk); in h1940bt_probe()
111 struct rfkill *rfk = platform_get_drvdata(pdev); in h1940bt_remove() local
116 if (rfk) { in h1940bt_remove()
117 rfkill_unregister(rfk); in h1940bt_remove()
118 rfkill_destroy(rfk); in h1940bt_remove()
[all …]
/linux/drivers/platform/x86/
A Dxo1-rfkill.c41 struct rfkill *rfk; in xo1_rfkill_probe() local
44 rfk = rfkill_alloc(pdev->name, &pdev->dev, RFKILL_TYPE_WLAN, in xo1_rfkill_probe()
46 if (!rfk) in xo1_rfkill_probe()
49 r = rfkill_register(rfk); in xo1_rfkill_probe()
51 rfkill_destroy(rfk); in xo1_rfkill_probe()
55 platform_set_drvdata(pdev, rfk); in xo1_rfkill_probe()
61 struct rfkill *rfk = platform_get_drvdata(pdev); in xo1_rfkill_remove() local
62 rfkill_unregister(rfk); in xo1_rfkill_remove()
63 rfkill_destroy(rfk); in xo1_rfkill_remove()
A Dtoshiba_bluetooth.c31 struct rfkill *rfk; member
198 rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); in bt_rfkill_poll()
214 rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); in toshiba_bt_rfkill_notify()
229 rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); in toshiba_bt_resume()
259 bt_dev->rfk = rfkill_alloc("Toshiba Bluetooth", in toshiba_bt_rfkill_add()
264 if (!bt_dev->rfk) { in toshiba_bt_rfkill_add()
272 result = rfkill_register(bt_dev->rfk); in toshiba_bt_rfkill_add()
275 rfkill_destroy(bt_dev->rfk); in toshiba_bt_rfkill_add()
287 if (bt_dev->rfk) { in toshiba_bt_rfkill_remove()
288 rfkill_unregister(bt_dev->rfk); in toshiba_bt_rfkill_remove()
[all …]
A Dasus-laptop.c1304 struct asus_rfkill *rfk = data; in asus_rfkill_set() local
1325 if (!rfk->rfkill) in asus_rfkill_terminate()
1329 rfkill_destroy(rfk->rfkill); in asus_rfkill_terminate()
1330 rfk->rfkill = NULL; in asus_rfkill_terminate()
1347 rfk->control_id = control_id; in asus_rfkill_setup()
1348 rfk->asus = asus; in asus_rfkill_setup()
1350 type, ops, rfk); in asus_rfkill_setup()
1351 if (!rfk->rfkill) in asus_rfkill_setup()
1356 rfkill_destroy(rfk->rfkill); in asus_rfkill_setup()
1357 rfk->rfkill = NULL; in asus_rfkill_setup()
[all …]
A Dideapad-laptop.c125 struct rfkill *rfk[IDEAPAD_RFKILL_DEV_NUM]; member
998 if (priv->rfk[i]) in ideapad_sync_rfk_state()
999 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state()
1016 priv->rfk[dev] = rfkill_alloc(ideapad_rfk_data[dev].name, in ideapad_register_rfkill()
1021 if (!priv->rfk[dev]) in ideapad_register_rfkill()
1028 rfkill_init_sw_state(priv->rfk[dev], !rf_enabled); in ideapad_register_rfkill()
1030 err = rfkill_register(priv->rfk[dev]); in ideapad_register_rfkill()
1032 rfkill_destroy(priv->rfk[dev]); in ideapad_register_rfkill()
1039 if (!priv->rfk[dev]) in ideapad_unregister_rfkill()
1042 rfkill_unregister(priv->rfk[dev]); in ideapad_unregister_rfkill()
[all …]
A Dsony-laptop.c1610 struct rfkill *rfk; in sony_nc_setup_rfkill() local
1637 rfk = rfkill_alloc(name, &device->dev, type, in sony_nc_setup_rfkill()
1639 if (!rfk) in sony_nc_setup_rfkill()
1644 rfkill_destroy(rfk); in sony_nc_setup_rfkill()
1653 rfkill_destroy(rfk); in sony_nc_setup_rfkill()
1658 rfkill_init_sw_state(rfk, swblock); in sony_nc_setup_rfkill()
1659 rfkill_set_hw_state(rfk, hwblock); in sony_nc_setup_rfkill()
1661 err = rfkill_register(rfk); in sony_nc_setup_rfkill()
1663 rfkill_destroy(rfk); in sony_nc_setup_rfkill()
1666 sony_rfkill_devices[nc_type] = rfk; in sony_nc_setup_rfkill()
/linux/drivers/net/usb/
A Dhso.c3127 struct rfkill *rfk = dev2net(network_table[i])->rfkill; in hso_free_interface() local
3134 if (rfk) { in hso_free_interface()
3135 rfkill_unregister(rfk); in hso_free_interface()
3136 rfkill_destroy(rfk); in hso_free_interface()
/linux/drivers/net/wireless/realtek/rtw89/
A Dcoex.c2742 struct rtw89_btc_wl_rfk_info rfk = btc->cx.wl.rfk_info; in _action_wl_rfk() local
2744 if (rfk.state != BTC_WRFK_START) in _action_wl_rfk()
2748 __func__, rfk.band); in _action_wl_rfk()

Completed in 47 milliseconds