/drivers/platform/x86/ |
H A D | xo1-rfkill.c | 19 static int rfkill_set_block(void *data, bool blocked) argument 24 if (blocked == card_blocked) 27 if (blocked) 34 card_blocked = blocked;
|
H A D | amilo-rfkill.c | 32 static int amilo_a1655_rfkill_set_block(void *data, bool blocked) argument 34 u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; 58 static int amilo_m7440_rfkill_set_block(void *data, bool blocked) argument 60 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; 61 u8 val2 = blocked ? M7440_RADIO_OFF2 : M7440_RADIO_ON2;
|
H A D | msi-laptop.c | 722 static int rfkill_bluetooth_set(void *data, bool blocked) argument 724 /* Do something with blocked...*/ 726 * blocked == false is on 727 * blocked == true is off 729 int result = set_device_state(blocked ? "0" : "1", 0, 735 static int rfkill_wlan_set(void *data, bool blocked) argument 737 int result = set_device_state(blocked ? "0" : "1", 0, 743 static int rfkill_threeg_set(void *data, bool blocked) argument 745 int result = set_device_state(blocked ? "0" : "1", 0, 781 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) argument [all...] |
H A D | intel_oaktrail.c | 108 static int oaktrail_rfkill_set(void *data, bool blocked) argument 116 if (!blocked)
|
H A D | samsung-laptop.c | 564 static int seclinux_rfkill_set(void *data, bool blocked) argument 571 !blocked); 587 static int swsmi_rfkill_set(void *priv, bool blocked) argument 605 data.data[WL_STATUS_WLAN] = !blocked; 607 data.data[WL_STATUS_BT] = !blocked; 877 int blocked) 891 if (blocked != -1) 892 rfkill_init_sw_state(*rfkill, blocked); 873 samsung_new_rfkill(struct samsung_laptop *samsung, struct samsung_rfkill *arfkill, const char *name, enum rfkill_type type, const struct rfkill_ops *ops, int blocked) argument
|
H A D | classmate-laptop.c | 912 bool blocked; local 917 blocked = state & 1 ? false : true; 918 rfkill_set_sw_state(rfkill, blocked); 922 static int cmpc_rfkill_block(void *data, bool blocked) argument 935 if (is_blocked != blocked) { 936 state = blocked ? 0 : 1;
|
H A D | asus-wmi.c | 597 bool blocked; local 602 blocked = asus_wlan_rfkill_blocked(asus); 609 rfkill_set_sw_state(asus->wlan.rfkill, blocked); 624 if (blocked != absent) { 627 blocked ? "blocked" : "unblocked", 634 if (!blocked) { 800 static int asus_rfkill_set(void *data, bool blocked) argument 803 u32 ctrl_param = !blocked; 834 static int asus_rfkill_wlan_set(void *data, bool blocked) argument [all...] |
H A D | eeepc-laptop.c | 573 bool blocked = eeepc_wlan_rfkill_blocked(eeepc); local 578 rfkill_set_sw_state(eeepc->wlan_rfkill, blocked); 604 if (blocked != absent) { 607 blocked ? "blocked" : "unblocked", 614 if (!blocked) { 785 static int eeepc_rfkill_set(void *data, bool blocked) argument 789 return write_acpi_int(handle, NULL, !blocked);
|
H A D | asus-laptop.c | 1306 static int asus_gps_rfkill_set(void *data, bool blocked) argument 1310 return asus_gps_switch(asus, !blocked); 1317 static int asus_rfkill_set(void *data, bool blocked) argument 1323 return asus_wlan_set(asus, !blocked); 1325 return asus_bluetooth_set(asus, !blocked); 1327 return asus_wimax_set(asus, !blocked); 1329 return asus_wwan_set(asus, !blocked); 1433 static int pega_rfkill_set(void *data, bool blocked) argument 1437 int ret = asus_pega_lucid_set(rfk->asus, rfk->control_id, !blocked);
|
H A D | hp-wmi.c | 322 static int hp_wmi_set_block(void *data, bool blocked) argument 325 int query = BIT(r + 8) | ((!blocked) << r); 373 static int hp_wmi_rfkill2_set_block(void *data, bool blocked) argument 376 char buffer[4] = { 0x01, 0x00, rfkill_id, !blocked }; 873 pr_info("device %s blocked by BIOS\n", name);
|
H A D | dell-laptop.c | 385 Bit 17: Wifi is blocked 386 Bit 18: Bluetooth is blocked 387 Bit 19: WWAN is blocked 406 static int dell_rfkill_set(void *data, bool blocked) argument 408 int disable = blocked ? 1 : 0; 500 seq_printf(s, "Bit 17: Wifi is blocked: %lu\n", 502 seq_printf(s, "Bit 18: Bluetooth is blocked: %lu\n", 504 seq_printf(s, "Bit 19: WWAN is blocked: %lu\n",
|
/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-prim.c | 134 old = current->blocked; 135 sigfillset(¤t->blocked); 148 old = current->blocked; 149 sigaddsetmask(¤t->blocked, sigs); 162 old = current->blocked; 163 sigaddsetmask(¤t->blocked, ~sigs); 176 current->blocked = old;
|
/drivers/net/wireless/ath/ath5k/ |
H A D | rfkill.c | 79 bool blocked; local 81 blocked = ath5k_is_rfkill_set(ah); 82 wiphy_rfkill_set_hw_state(ah->hw->wiphy, blocked);
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | flowring.c | 185 bool blocked) 207 if (ring->blocked) { 214 ring->blocked = blocked; 215 if (currently_blocked == blocked) { 223 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, blocked); 263 if (!ring->blocked && 290 if (ring->blocked && 184 brcmf_flowring_block(struct brcmf_flowring *flow, u8 flowid, bool blocked) argument
|
H A D | flowring.h | 38 bool blocked; member in struct:brcmf_flowring_ring
|
/drivers/net/wireless/b43/ |
H A D | phy_common.h | 175 void (*software_rfkill)(struct b43_wldev *dev, bool blocked); 403 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
|
H A D | phy_common.c | 458 void b43_software_rfkill(struct b43_wldev *dev, bool blocked) argument 463 phy->ops->software_rfkill(dev, blocked); 464 phy->radio_on = !blocked;
|
H A D | phy_a.c | 484 bool blocked) 488 if (!blocked) { 483 b43_aphy_op_software_rfkill(struct b43_wldev *dev, bool blocked) argument
|
/drivers/firewire/ |
H A D | sbp2.c | 152 bool blocked; member in struct:sbp2_logical_unit 178 int blocked; /* ditto */ member in struct:sbp2_target 721 if (!tgt->dont_block && !lu->blocked && 723 lu->blocked = true; 724 if (++tgt->blocked == 1) 746 if (lu->blocked && lu->generation == card->generation) { 747 lu->blocked = false; 748 unblock = --tgt->blocked == 0; 1006 lu->blocked = false;
|
/drivers/parport/ |
H A D | share.c | 789 goto blocked; 792 goto blocked; 801 goto blocked; 848 blocked:
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | mac80211_if.c | 426 bool blocked; local 437 blocked = brcms_rfkill_set_hw_state(wl); 439 if (!blocked) 447 if (!blocked) 881 bool blocked; local 884 blocked = brcms_c_check_radio_disabled(wl->wlc); 887 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); 1695 bool blocked = brcms_c_check_radio_disabled(wl->wlc); local 1698 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); 1699 if (blocked) [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_gpio.c | 319 bool blocked = !!ath_is_rfkill_set(priv); local 321 wiphy_rfkill_set_hw_state(hw->wiphy, blocked);
|
H A D | gpio.c | 109 bool blocked = !!ath_is_rfkill_set(sc); local 111 wiphy_rfkill_set_hw_state(hw->wiphy, blocked);
|
/drivers/isdn/capi/ |
H A D | kcapi.c | 469 if (!ctr->blocked) { 472 ctr->blocked = 1; 490 if (ctr->blocked) { 493 ctr->blocked = 0; 532 ctr->blocked = 0; 793 if (ctr->blocked)
|
/drivers/block/ |
H A D | nbd.c | 160 sigset_t blocked, oldset; local 172 siginitsetinv(&blocked, sigmask(SIGKILL)); 173 sigprocmask(SIG_SETMASK, &blocked, &oldset); 207 dequeue_signal_lock(current, ¤t->blocked, &info));
|