Searched refs:rfk (Results 1 – 7 of 7) sorted by relevance
/drivers/platform/x86/ |
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()
|
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() 270 rfkill_set_hw_state(bt_dev->rfk, !bt_dev->killswitch); 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() [all …]
|
D | asus-laptop.c | 1304 struct asus_rfkill *rfk = data; in asus_rfkill_set() local 1305 struct asus_laptop *asus = rfk->asus; in asus_rfkill_set() 1307 if (rfk->control_id == WL_RSTS) in asus_rfkill_set() 1309 else if (rfk->control_id == BT_RSTS) in asus_rfkill_set() 1311 else if (rfk->control_id == WM_RSTS) in asus_rfkill_set() 1313 else if (rfk->control_id == WW_RSTS) in asus_rfkill_set() 1323 static void asus_rfkill_terminate(struct asus_rfkill *rfk) in asus_rfkill_terminate() argument 1325 if (!rfk->rfkill) in asus_rfkill_terminate() 1328 rfkill_unregister(rfk->rfkill); in asus_rfkill_terminate() 1329 rfkill_destroy(rfk->rfkill); in asus_rfkill_terminate() [all …]
|
D | ideapad-laptop.c | 129 struct rfkill *rfk[IDEAPAD_RFKILL_DEV_NUM]; member 1087 if (priv->rfk[i]) in ideapad_sync_rfk_state() 1088 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state() 1105 priv->rfk[dev] = rfkill_alloc(ideapad_rfk_data[dev].name, in ideapad_register_rfkill() 1110 if (!priv->rfk[dev]) in ideapad_register_rfkill() 1117 rfkill_init_sw_state(priv->rfk[dev], !rf_enabled); in ideapad_register_rfkill() 1119 err = rfkill_register(priv->rfk[dev]); in ideapad_register_rfkill() 1121 rfkill_destroy(priv->rfk[dev]); in ideapad_register_rfkill() 1128 if (!priv->rfk[dev]) in ideapad_unregister_rfkill() 1131 rfkill_unregister(priv->rfk[dev]); in ideapad_unregister_rfkill() [all …]
|
D | sony-laptop.c | 1610 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()
|
/drivers/net/usb/ |
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()
|
/drivers/net/wireless/realtek/rtw89/ |
D | coex.c | 3382 struct rtw89_btc_wl_rfk_info rfk = btc->cx.wl.rfk_info; in _action_wl_rfk() local 3384 if (rfk.state != BTC_WRFK_START) in _action_wl_rfk() 3388 __func__, rfk.band); in _action_wl_rfk()
|