Searched defs:blocked (Results 1 - 11 of 11) sorted by relevance

/net/rfkill/
H A Drfkill-regulator.c30 static int rfkill_regulator_set_block(void *data, bool blocked) argument
34 pr_debug("%s: blocked: %d\n", __func__, blocked);
36 if (blocked) {
H A Drfkill-gpio.c50 static int rfkill_gpio_set_power(void *data, bool blocked) argument
54 if (blocked) {
71 PWR_CLK_SET(rfkill, blocked);
H A Dinput.c88 bool blocked; local
90 blocked = rfkill_get_global_sw_state(type);
92 blocked = !blocked;
94 rfkill_switch_all(type, blocked);
H A Dcore.c239 bool blocked, bool *change)
248 if (blocked)
252 *change = prev != blocked;
265 * @blocked: the new software state
270 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) argument
295 if (blocked)
303 err = rfkill->ops->set_block(rfkill->data, blocked);
342 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) argument
346 rfkill_global_states[type].cur = blocked;
351 rfkill_set_block(rfkill, blocked);
238 __rfkill_set_hw_state(struct rfkill *rfkill, bool blocked, bool *change) argument
365 rfkill_switch_all(enum rfkill_type type, bool blocked) argument
475 rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) argument
491 __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
505 rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) argument
531 rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) argument
[all...]
/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/tipc/
H A Dbearer.h111 * @blocked: non-zero if bearer is blocked
133 int blocked; /* initalized by media */ member in struct:tipc_bearer
H A Dlink.h81 u32 link_congs; /* # port sends blocked by congestion */
109 * @blocked: indicates if link has been administratively blocked
158 int blocked; member in struct:tipc_link
311 return l_ptr->exp_msg_count || l_ptr->blocked;
/net/nfc/
H A Dcore.c126 static int nfc_rfkill_set_block(void *data, bool blocked) argument
130 pr_debug("%s blocked %d", dev_name(&dev->dev), blocked);
132 if (!blocked)
/net/wireless/
H A Dcore.c248 static int cfg80211_rfkill_set_block(void *data, bool blocked) argument
253 if (!blocked)
769 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked) argument
773 if (rfkill_set_hw_state(rdev->rfkill, blocked))
/net/bluetooth/
H A Dhci_core.c1542 static int hci_rfkill_set_block(void *data, bool blocked) argument
1546 BT_DBG("%p name %s blocked %d", hdev, hdev->name, blocked);
1548 if (!blocked)

Completed in 165 milliseconds