/linux-master/include/linux/ |
H A D | rfkill.h | 57 * @set_block: turn the transmitter on (blocked == false) or off 58 * (blocked == true) -- ignore and return 0 when hard blocked. 64 int (*set_block)(void *data, bool blocked); 94 * set_block() will be called to initialize the software blocked state 97 * If the hardware blocked state is not set before registration, 144 * @blocked: the current hardware block state to set 150 bool blocked, unsigned long reason); 154 * @blocked: the current hardware block state to set 156 * rfkill drivers that get events when the hard-blocked stat 170 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument 281 rfkill_set_hw_state_reason(struct rfkill *rfkill, bool blocked, unsigned long reason) argument 288 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument 293 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument 298 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument [all...] |
/linux-master/net/rfkill/ |
H A D | rfkill.h | 12 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
|
H A D | rfkill-gpio.c | 30 static int rfkill_gpio_set_power(void *data, bool blocked) argument 34 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) 37 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); 38 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); 40 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) 43 rfkill->clk_enabled = !blocked;
|
H A D | input.c | 85 bool blocked; local 87 blocked = rfkill_get_global_sw_state(type); 89 blocked = !blocked; 91 rfkill_switch_all(type, blocked);
|
H A D | core.c | 308 * @blocked: the new software state 313 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) argument 338 if (blocked) 346 err = rfkill->ops->set_block(rfkill->data, blocked); 383 static void rfkill_update_global_state(enum rfkill_type type, bool blocked) argument 388 rfkill_global_states[type].cur = blocked; 393 rfkill_global_states[i].cur = blocked; 402 * @blocked: the new state 409 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) argument 413 rfkill_update_global_state(type, blocked); 432 rfkill_switch_all(enum rfkill_type type, bool blocked) argument 541 rfkill_set_hw_state_reason(struct rfkill *rfkill, bool blocked, unsigned long reason) argument 577 __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument 591 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument 618 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument [all...] |
/linux-master/drivers/platform/x86/ |
H A D | xo1-rfkill.c | 15 static int rfkill_set_block(void *data, bool blocked) argument 20 if (blocked == card_blocked) 23 if (blocked) 30 card_blocked = blocked;
|
H A D | amilo-rfkill.c | 28 static int amilo_a1655_rfkill_set_block(void *data, bool blocked) argument 30 u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; 54 static int amilo_m7440_rfkill_set_block(void *data, bool blocked) argument 56 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; 57 u8 val2 = blocked ? M7440_RADIO_OFF2 : M7440_RADIO_ON2;
|
H A D | msi-laptop.c | 714 static int rfkill_bluetooth_set(void *data, bool blocked) argument 716 /* Do something with blocked...*/ 718 * blocked == false is on 719 * blocked == true is off 721 int result = set_device_state(blocked ? "0" : "1", 0, 727 static int rfkill_wlan_set(void *data, bool blocked) argument 729 int result = set_device_state(blocked ? "0" : "1", 0, 735 static int rfkill_threeg_set(void *data, bool blocked) argument 737 int result = set_device_state(blocked ? "0" : "1", 0, 773 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) argument [all...] |
H A D | toshiba_bluetooth.c | 164 static int bt_rfkill_set_block(void *data, bool blocked) argument 176 if (blocked)
|
/linux-master/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);
|
/linux-master/include/linux/isdn/ |
H A D | capilli.h | 70 int blocked; /* output blocked */ member in struct:capi_ctr
|
/linux-master/kernel/ |
H A D | compat.c | 33 * blocked set of signals to the supplied signal set 35 static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set) argument 37 memcpy(blocked->sig, &set, sizeof(set)); 47 old_set = current->blocked.sig[0]; 54 new_blocked = current->blocked;
|
H A D | signal.c | 111 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) 127 * signals, globally pending signals, and blocked signals. 129 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) argument 137 ready |= signal->sig[i] &~ blocked->sig[i]; 140 case 4: ready = signal->sig[3] &~ blocked->sig[3]; 141 ready |= signal->sig[2] &~ blocked->sig[2]; 142 ready |= signal->sig[1] &~ blocked->sig[1]; 143 ready |= signal->sig[0] &~ blocked->sig[0]; 146 case 2: ready = signal->sig[1] &~ blocked->sig[1]; 147 ready |= signal->sig[0] &~ blocked 1330 int ret, blocked, ignored; local 2936 sigset_t blocked; local 4740 sigset_t blocked; local 4748 sigset_t blocked; local [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | asm-offsets.c | 24 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked));
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | flowring.c | 179 bool blocked) 193 if (ring->blocked == blocked) { 205 if (ring->blocked) { 212 flow->rings[flowid]->blocked = blocked; 221 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, blocked); 268 if (!ring->blocked && 296 if (ring->blocked && 178 brcmf_flowring_block(struct brcmf_flowring *flow, u16 flowid, bool blocked) argument
|
H A D | flowring.h | 28 bool blocked; member in struct:brcmf_flowring_ring
|
/linux-master/fs/bcachefs/ |
H A D | journal_types.h | 144 x(blocked) \ 214 unsigned blocked; member in struct:journal
|
/linux-master/arch/hexagon/kernel/ |
H A D | signal.c | 227 sigset_t blocked; local 235 if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) 238 set_current_blocked(&blocked);
|
/linux-master/fs/coda/ |
H A D | upcall.c | 619 *old = current->blocked; 621 sigfillset(¤t->blocked); 622 sigdelset(¤t->blocked, SIGKILL); 623 sigdelset(¤t->blocked, SIGSTOP); 624 sigdelset(¤t->blocked, SIGINT); 633 current->blocked = *old; 657 int blocked; local 660 blocked = 1; 673 if (blocked && time_after(jiffies, timeout) && 677 blocked [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | tx.c | 442 return q->stopped || q->blocked || 794 void __mt76_set_tx_blocked(struct mt76_dev *dev, bool blocked) argument 799 if (blocked == q->blocked) 802 q->blocked = blocked; 807 q->blocked = blocked; 812 q->blocked = blocked; [all...] |
/linux-master/net/atm/ |
H A D | pppoatm.c | 65 unsigned long blocked; member in struct:pppoatm_vcc 124 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) 132 * but we also need to wake up the device if we blocked it 159 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) 254 test_and_set_bit(BLOCKED, &pvcc->blocked); 260 * remain permanently blocked. Cope with that race by checking 308 test_and_set_bit(BLOCKED, &pvcc->blocked);
|
/linux-master/arch/mips/kernel/ |
H A D | signal_o32.c | 261 sigset_t blocked; local 268 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) 271 set_current_blocked(&blocked);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | iwl-mei.h | 304 void (*rfkill)(void *priv, bool blocked, bool csme_taking_ownership);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
H A D | fifo.h | 36 atomic_t blocked; member in struct:nvkm_chan
|
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | phy_common.h | 169 void (*software_rfkill)(struct b43_wldev *dev, bool blocked); 396 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
|