Lines Matching full:blocked
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 state changes
167 * should be blocked) so that drivers need not keep track of the soft
170 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
172 return rfkill_set_hw_state_reason(rfkill, blocked, in rfkill_set_hw_state()
179 * @blocked: the current software block state to set
181 * rfkill drivers that get events when the soft-blocked state changes
194 * should be blocked).
196 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked);
201 * @blocked: the current software block state to set
212 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked);
282 bool blocked, in rfkill_set_hw_state_reason() argument
285 return blocked; in rfkill_set_hw_state_reason()
288 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
290 return blocked; in rfkill_set_hw_state()
293 static inline bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_sw_state() argument
295 return blocked; in rfkill_set_sw_state()
298 static inline void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_init_sw_state() argument