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,
155 * @blocked: the current hardware block state to set
157 * rfkill drivers that get events when the hard-blocked state changes
168 * should be blocked) so that drivers need not keep track of the soft
171 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
173 return rfkill_set_hw_state_reason(rfkill, blocked, in rfkill_set_hw_state()
180 * @blocked: the current software block state to set
182 * rfkill drivers that get events when the soft-blocked state changes
195 * should be blocked).
197 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked);
202 * @blocked: the current software block state to set
213 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked);
283 bool blocked, in rfkill_set_hw_state_reason() argument
286 return blocked; in rfkill_set_hw_state_reason()
289 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
291 return blocked; in rfkill_set_hw_state()
294 static inline bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_sw_state() argument
296 return blocked; in rfkill_set_sw_state()
299 static inline void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_init_sw_state() argument