Searched refs:rfk (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/platform/x86/ |
A D | xo1-rfkill.c | 41 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 D | toshiba_bluetooth.c | 31 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 D | asus-laptop.c | 1304 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 D | ideapad-laptop.c | 129 struct rfkill *rfk[IDEAPAD_RFKILL_DEV_NUM]; member 1093 if (priv->rfk[i]) in ideapad_sync_rfk_state() 1094 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state() 1111 priv->rfk[dev] = rfkill_alloc(ideapad_rfk_data[dev].name, in ideapad_register_rfkill() 1116 if (!priv->rfk[dev]) in ideapad_register_rfkill() 1123 rfkill_init_sw_state(priv->rfk[dev], !rf_enabled); in ideapad_register_rfkill() 1125 err = rfkill_register(priv->rfk[dev]); in ideapad_register_rfkill() 1127 rfkill_destroy(priv->rfk[dev]); in ideapad_register_rfkill() 1134 if (!priv->rfk[dev]) in ideapad_unregister_rfkill() 1137 rfkill_unregister(priv->rfk[dev]); in ideapad_unregister_rfkill() [all …]
|
A D | sony-laptop.c | 1609 struct rfkill *rfk; in sony_nc_setup_rfkill() local 1636 rfk = rfkill_alloc(name, &device->dev, type, in sony_nc_setup_rfkill() 1638 if (!rfk) in sony_nc_setup_rfkill() 1643 rfkill_destroy(rfk); in sony_nc_setup_rfkill() 1652 rfkill_destroy(rfk); in sony_nc_setup_rfkill() 1657 rfkill_init_sw_state(rfk, swblock); in sony_nc_setup_rfkill() 1658 rfkill_set_hw_state(rfk, hwblock); in sony_nc_setup_rfkill() 1660 err = rfkill_register(rfk); in sony_nc_setup_rfkill() 1662 rfkill_destroy(rfk); in sony_nc_setup_rfkill() 1665 sony_rfkill_devices[nc_type] = rfk; in sony_nc_setup_rfkill()
|
/linux-6.3-rc2/drivers/net/usb/ |
A D | hso.c | 3128 struct rfkill *rfk = dev2net(network_table[i])->rfkill; in hso_free_interface() local 3135 if (rfk) { in hso_free_interface() 3136 rfkill_unregister(rfk); in hso_free_interface() 3137 rfkill_destroy(rfk); in hso_free_interface()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | coex.c | 3582 struct rtw89_btc_wl_rfk_info rfk = btc->cx.wl.rfk_info; in _action_wl_rfk() local 3584 if (rfk.state != BTC_WRFK_START) in _action_wl_rfk() 3588 __func__, rfk.band); in _action_wl_rfk()
|
Completed in 39 milliseconds