/drivers/platform/x86/ |
D | amilo-rfkill.c | 32 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()
|
D | xo1-rfkill.c | 18 static int rfkill_set_block(void *data, bool blocked) in rfkill_set_block() argument 21 if (blocked) in rfkill_set_block()
|
D | msi-laptop.c | 553 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()
|
D | classmate-laptop.c | 510 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()
|
D | asus-wmi.c | 522 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()
|
D | intel_oaktrail.c | 111 static int oaktrail_rfkill_set(void *data, bool blocked) in oaktrail_rfkill_set() argument 119 if (!blocked) in oaktrail_rfkill_set()
|
D | samsung-laptop.c | 556 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()
|
D | eeepc-laptop.c | 593 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()
|
D | asus-laptop.c | 1280 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()
|
D | hp-wmi.c | 303 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()
|
D | dell-laptop.c | 348 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/ |
D | rfkill.c | 79 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/ |
D | 3c503.c | 560 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/ |
D | mac80211_if.c | 286 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/ |
D | sbp2.c | 151 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/ |
D | kcapi.c | 469 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/ |
D | phy_common.h | 175 void (*software_rfkill)(struct b43_wldev *dev, bool blocked); 399 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
|
D | phy_common.c | 339 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()
|
D | phy_a.c | 484 bool blocked) in b43_aphy_op_software_rfkill() argument 488 if (!blocked) { in b43_aphy_op_software_rfkill()
|
D | phy_ht.c | 479 bool blocked) in b43_phy_ht_op_software_rfkill() argument 489 if (blocked) { in b43_phy_ht_op_software_rfkill()
|
/drivers/parport/ |
D | share.c | 790 goto blocked; in parport_claim() 793 goto blocked; in parport_claim() 802 goto blocked; in parport_claim() 849 blocked: in parport_claim()
|
/drivers/block/ |
D | nbd.c | 156 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, ¤t->blocked, &info)); in sock_xmit()
|
/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_gpio.c | 303 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()
|
D | gpio.c | 100 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/ |
D | en_tx.c | 169 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()
|