Searched refs:blocked (Results 1 - 16 of 16) sorted by relevance

/net/rfkill/
H A Drfkill.h16 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
H A Drfkill-gpio.c44 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 Drfkill-regulator.c30 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 Dcore.c237 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 Dinput.c88 bool blocked; local
90 blocked = rfkill_get_global_sw_state(type);
92 blocked = !blocked;
94 rfkill_switch_all(type, blocked);
/net/wimax/
H A Dop-rfkill.c249 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 Dpppoatm.c68 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 Dtimer.c203 icsk->icsk_ack.blocked = 1;
H A Doutput.c609 /* If delack timer was blocked or is about to expire,
614 if (icsk->icsk_ack.blocked) {
/net/wireless/
H A Dcore.c237 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 Dcore.c182 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 Dtcp_timer.c258 inet_csk(sk)->icsk_ack.blocked = 1;
H A Dinet_connection_sock.c378 icsk->icsk_pending = icsk->icsk_ack.pending = icsk->icsk_ack.blocked = 0;
826 * blocked by sock lock in tcp_v4_rcv().
H A Dtcp.c1419 if (icsk->icsk_ack.blocked ||
H A Dtcp_output.c3178 /* If delack timer was blocked or is about to expire,
3181 if (icsk->icsk_ack.blocked ||
/net/bluetooth/
H A Dhci_core.c2998 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) {

Completed in 3717 milliseconds