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,
143 * @blocked: the current hardware block state to set
145 * rfkill drivers that get events when the hard-blocked state changes
156 * should be blocked) so that drivers need not keep track of the soft
159 bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked);
164 * @blocked: the current software block state to set
166 * rfkill drivers that get events when the soft-blocked state changes
179 * should be blocked).
181 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked);
186 * @blocked: the current software block state to set
197 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked);
259 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
261 return blocked; in rfkill_set_hw_state()
264 static inline bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_sw_state() argument
266 return blocked; in rfkill_set_sw_state()
269 static inline void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_init_sw_state() argument