/net/rfkill/ |
H A D | rfkill.h | 16 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
|
H A D | rfkill-gpio.c | 44 static int rfkill_gpio_set_power(void *data, bool blocked) argument 48 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) 51 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); 52 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); 54 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) 57 rfkill->clk_enabled = !blocked;
|
H A D | rfkill-regulator.c | 30 static int rfkill_regulator_set_block(void *data, bool blocked) argument 35 pr_debug("%s: blocked: %d\n", __func__, blocked); 37 if (blocked) {
|
H A D | core.c | 237 bool blocked, bool *change) 246 if (blocked) 250 *change = prev != blocked; 263 * @blocked: the new software state 268 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) argument 293 if (blocked) 301 err = rfkill->ops->set_block(rfkill->data, blocked); 332 * @blocked: the new state 340 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) argument 344 rfkill_global_states[type].cur = blocked; 236 __rfkill_set_hw_state(struct rfkill *rfkill, bool blocked, bool *change) argument 363 rfkill_switch_all(enum rfkill_type type, bool blocked) argument 473 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument 489 __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument 503 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument 529 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument [all...] |
H A D | input.c | 88 bool blocked; local 90 blocked = rfkill_get_global_sw_state(type); 92 blocked = !blocked; 94 rfkill_switch_all(type, blocked);
|
/net/wimax/ |
H A D | op-rfkill.c | 249 static int wimax_rfkill_set_radio_block(void *data, bool blocked) argument 256 d_fnstart(3, dev, "(wimax_dev %p blocked %u)\n", wimax_dev, blocked); 258 if (blocked) 266 d_fnend(3, dev, "(wimax_dev %p blocked %u) = %d\n", 267 wimax_dev, blocked, result);
|
/net/atm/ |
H A D | pppoatm.c | 68 unsigned long blocked; member in struct:pppoatm_vcc 125 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) 133 * but we also need to wake up the device if we blocked it 160 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) 257 test_and_set_bit(BLOCKED, &pvcc->blocked); 263 * remain permanently blocked. Cope with that race by checking 311 test_and_set_bit(BLOCKED, &pvcc->blocked);
|
/net/dccp/ |
H A D | timer.c | 203 icsk->icsk_ack.blocked = 1;
|
H A D | output.c | 609 /* If delack timer was blocked or is about to expire, 614 if (icsk->icsk_ack.blocked) {
|
/net/wireless/ |
H A D | core.c | 237 static int cfg80211_rfkill_set_block(void *data, bool blocked) argument 241 if (!blocked) 755 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked) argument 759 if (rfkill_set_hw_state(rdev->rfkill, blocked))
|
/net/nfc/ |
H A D | core.c | 182 static int nfc_rfkill_set_block(void *data, bool blocked) argument 186 pr_debug("%s blocked %d", dev_name(&dev->dev), blocked); 188 if (!blocked)
|
/net/ipv4/ |
H A D | tcp_timer.c | 258 inet_csk(sk)->icsk_ack.blocked = 1;
|
H A D | inet_connection_sock.c | 378 icsk->icsk_pending = icsk->icsk_ack.pending = icsk->icsk_ack.blocked = 0; 826 * blocked by sock lock in tcp_v4_rcv().
|
H A D | tcp.c | 1419 if (icsk->icsk_ack.blocked ||
|
H A D | tcp_output.c | 3178 /* If delack timer was blocked or is about to expire, 3181 if (icsk->icsk_ack.blocked ||
|
/net/bluetooth/ |
H A D | hci_core.c | 2998 static int hci_rfkill_set_block(void *data, bool blocked) argument 3002 BT_DBG("%p name %s blocked %d", hdev, hdev->name, blocked); 3007 if (blocked) {
|