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,
145 * @blocked: the current hardware block state to set
151 bool blocked,
156 * @blocked: the current hardware block state to set
158 * rfkill drivers that get events when the hard-blocked state changes
169 * should be blocked) so that drivers need not keep track of the soft
172 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
174 return rfkill_set_hw_state_reason(rfkill, blocked, in rfkill_set_hw_state()
181 * @blocked: the current software block state to set
183 * rfkill drivers that get events when the soft-blocked state changes
196 * should be blocked).
198 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked);
203 * @blocked: the current software block state to set
214 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked);
284 bool blocked, in rfkill_set_hw_state_reason() argument
287 return blocked; in rfkill_set_hw_state_reason()
290 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
292 return blocked; in rfkill_set_hw_state()
295 static inline bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_sw_state() argument
297 return blocked; in rfkill_set_sw_state()
300 static inline void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_init_sw_state() argument