Home
last modified time | relevance | path

Searched refs:blocked (Results 1 – 25 of 49) sorted by relevance

12

/drivers/platform/x86/
Damilo-rfkill.c32 static int amilo_a1655_rfkill_set_block(void *data, bool blocked) in amilo_a1655_rfkill_set_block() argument
34 u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; in amilo_a1655_rfkill_set_block()
58 static int amilo_m7440_rfkill_set_block(void *data, bool blocked) in amilo_m7440_rfkill_set_block() argument
60 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; in amilo_m7440_rfkill_set_block()
61 u8 val2 = blocked ? M7440_RADIO_OFF2 : M7440_RADIO_ON2; in amilo_m7440_rfkill_set_block()
Dxo1-rfkill.c18 static int rfkill_set_block(void *data, bool blocked) in rfkill_set_block() argument
21 if (blocked) in rfkill_set_block()
Dmsi-laptop.c553 static int rfkill_bluetooth_set(void *data, bool blocked) in rfkill_bluetooth_set() argument
560 if (blocked) in rfkill_bluetooth_set()
568 static int rfkill_wlan_set(void *data, bool blocked) in rfkill_wlan_set() argument
570 if (blocked) in rfkill_wlan_set()
578 static int rfkill_threeg_set(void *data, bool blocked) in rfkill_threeg_set() argument
580 if (blocked) in rfkill_threeg_set()
Dclassmate-laptop.c510 bool blocked; in cmpc_rfkill_query() local
515 blocked = state & 1 ? false : true; in cmpc_rfkill_query()
516 rfkill_set_sw_state(rfkill, blocked); in cmpc_rfkill_query()
520 static int cmpc_rfkill_block(void *data, bool blocked) in cmpc_rfkill_block() argument
533 if (is_blocked != blocked) { in cmpc_rfkill_block()
534 state = blocked ? 0 : 1; in cmpc_rfkill_block()
Dasus-wmi.c522 bool blocked; in asus_rfkill_hotplug() local
527 blocked = asus_wlan_rfkill_blocked(asus); in asus_rfkill_hotplug()
533 rfkill_set_sw_state(asus->wlan.rfkill, blocked); in asus_rfkill_hotplug()
548 if (blocked != absent) { in asus_rfkill_hotplug()
551 blocked ? "blocked" : "unblocked", in asus_rfkill_hotplug()
558 if (!blocked) { in asus_rfkill_hotplug()
724 static int asus_rfkill_set(void *data, bool blocked) in asus_rfkill_set() argument
727 u32 ctrl_param = !blocked; in asus_rfkill_set()
745 static int asus_rfkill_wlan_set(void *data, bool blocked) in asus_rfkill_wlan_set() argument
759 ret = asus_rfkill_set(data, blocked); in asus_rfkill_wlan_set()
Dintel_oaktrail.c111 static int oaktrail_rfkill_set(void *data, bool blocked) in oaktrail_rfkill_set() argument
119 if (!blocked) in oaktrail_rfkill_set()
Dsamsung-laptop.c556 static int seclinux_rfkill_set(void *data, bool blocked) in seclinux_rfkill_set() argument
563 !blocked); in seclinux_rfkill_set()
579 static int swsmi_rfkill_set(void *priv, bool blocked) in swsmi_rfkill_set() argument
597 data.data[WL_STATUS_WLAN] = !blocked; in swsmi_rfkill_set()
599 data.data[WL_STATUS_BT] = !blocked; in swsmi_rfkill_set()
869 int blocked) in samsung_new_rfkill() argument
883 if (blocked != -1) in samsung_new_rfkill()
884 rfkill_init_sw_state(*rfkill, blocked); in samsung_new_rfkill()
Deeepc-laptop.c593 bool blocked = eeepc_wlan_rfkill_blocked(eeepc); in eeepc_rfkill_hotplug() local
598 rfkill_set_sw_state(eeepc->wlan_rfkill, blocked); in eeepc_rfkill_hotplug()
623 if (blocked != absent) { in eeepc_rfkill_hotplug()
626 blocked ? "blocked" : "unblocked", in eeepc_rfkill_hotplug()
633 if (!blocked) { in eeepc_rfkill_hotplug()
802 static int eeepc_rfkill_set(void *data, bool blocked) in eeepc_rfkill_set() argument
806 return write_acpi_int(handle, NULL, !blocked); in eeepc_rfkill_set()
Dasus-laptop.c1280 static int asus_gps_rfkill_set(void *data, bool blocked) in asus_gps_rfkill_set() argument
1284 return asus_gps_switch(asus, !blocked); in asus_gps_rfkill_set()
1291 static int asus_rfkill_set(void *data, bool blocked) in asus_rfkill_set() argument
1297 return asus_wlan_set(asus, !blocked); in asus_rfkill_set()
1299 return asus_bluetooth_set(asus, !blocked); in asus_rfkill_set()
1301 return asus_wimax_set(asus, !blocked); in asus_rfkill_set()
1303 return asus_wwan_set(asus, !blocked); in asus_rfkill_set()
1407 static int pega_rfkill_set(void *data, bool blocked) in pega_rfkill_set() argument
1411 int ret = asus_pega_lucid_set(rfk->asus, rfk->control_id, !blocked); in pega_rfkill_set()
Dhp-wmi.c303 static int hp_wmi_set_block(void *data, bool blocked) in hp_wmi_set_block() argument
306 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block()
354 static int hp_wmi_rfkill2_set_block(void *data, bool blocked) in hp_wmi_rfkill2_set_block() argument
357 char buffer[4] = { 0x01, 0x00, rfkill_id, !blocked }; in hp_wmi_rfkill2_set_block()
Ddell-laptop.c348 static int dell_rfkill_set(void *data, bool blocked) in dell_rfkill_set() argument
350 int disable = blocked ? 1 : 0; in dell_rfkill_set()
/drivers/net/wireless/ath/ath5k/
Drfkill.c79 bool blocked; in ath5k_tasklet_rfkill_toggle() local
81 blocked = ath5k_is_rfkill_set(ah); in ath5k_tasklet_rfkill_toggle()
82 wiphy_rfkill_set_hw_state(ah->hw->wiphy, blocked); in ath5k_tasklet_rfkill_toggle()
/drivers/net/ethernet/8390/
D3c503.c560 goto blocked; in el2_block_output()
575 blocked:; in el2_block_output()
612 goto blocked; in el2_get_8390_hdr()
616 blocked:; in el2_get_8390_hdr()
675 goto blocked; in el2_block_input()
690 blocked:; in el2_block_input()
/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c286 bool blocked; in brcms_ops_start() local
291 blocked = brcms_rfkill_set_hw_state(wl); in brcms_ops_start()
293 if (!blocked) in brcms_ops_start()
686 bool blocked; in brcms_ops_rfkill_poll() local
689 blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_ops_rfkill_poll()
692 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
1595 bool blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_rfkill_set_hw_state() local
1598 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1599 if (blocked) in brcms_rfkill_set_hw_state()
1602 return blocked; in brcms_rfkill_set_hw_state()
/drivers/firewire/
Dsbp2.c151 bool blocked; member
177 int blocked; /* ditto */ member
721 if (!tgt->dont_block && !lu->blocked && in sbp2_conditionally_block()
723 lu->blocked = true; in sbp2_conditionally_block()
724 if (++tgt->blocked == 1) in sbp2_conditionally_block()
746 if (lu->blocked && lu->generation == card->generation) { in sbp2_conditionally_unblock()
747 lu->blocked = false; in sbp2_conditionally_unblock()
748 unblock = --tgt->blocked == 0; in sbp2_conditionally_unblock()
999 lu->blocked = false; in sbp2_add_logical_unit()
/drivers/isdn/capi/
Dkcapi.c469 if (!ctr->blocked) { in capi_ctr_suspend_output()
472 ctr->blocked = 1; in capi_ctr_suspend_output()
490 if (ctr->blocked) { in capi_ctr_resume_output()
493 ctr->blocked = 0; in capi_ctr_resume_output()
532 ctr->blocked = 0; in attach_capi_ctr()
793 if (ctr->blocked) in capi20_put_message()
/drivers/net/wireless/b43/
Dphy_common.h175 void (*software_rfkill)(struct b43_wldev *dev, bool blocked);
399 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
Dphy_common.c339 void b43_software_rfkill(struct b43_wldev *dev, bool blocked) in b43_software_rfkill() argument
344 phy->ops->software_rfkill(dev, blocked); in b43_software_rfkill()
345 phy->radio_on = !blocked; in b43_software_rfkill()
Dphy_a.c484 bool blocked) in b43_aphy_op_software_rfkill() argument
488 if (!blocked) { in b43_aphy_op_software_rfkill()
Dphy_ht.c479 bool blocked) in b43_phy_ht_op_software_rfkill() argument
489 if (blocked) { in b43_phy_ht_op_software_rfkill()
/drivers/parport/
Dshare.c790 goto blocked; in parport_claim()
793 goto blocked; in parport_claim()
802 goto blocked; in parport_claim()
849 blocked: in parport_claim()
/drivers/block/
Dnbd.c156 sigset_t blocked, oldset; in sock_xmit() local
167 siginitsetinv(&blocked, sigmask(SIGKILL)); in sock_xmit()
168 sigprocmask(SIG_SETMASK, &blocked, &oldset); in sock_xmit()
201 dequeue_signal_lock(current, &current->blocked, &info)); in sock_xmit()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_gpio.c303 bool blocked = !!ath_is_rfkill_set(priv); in ath9k_htc_rfkill_poll_state() local
305 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in ath9k_htc_rfkill_poll_state()
Dgpio.c100 bool blocked = !!ath_is_rfkill_set(sc); in ath9k_rfkill_poll_state() local
102 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in ath9k_rfkill_poll_state()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c169 ring->blocked = 0; in mlx4_en_activate_tx_ring()
366 if (unlikely(ring->blocked)) { in mlx4_en_process_tx_cq()
369 ring->blocked = 0; in mlx4_en_process_tx_cq()
642 ring->blocked = 1; in mlx4_en_xmit()

12