Lines Matching refs:RFKILL_BLOCK_HW
29 #define RFKILL_BLOCK_HW BIT(0) macro
32 #define RFKILL_BLOCK_ANY (RFKILL_BLOCK_HW |\
269 ev->hard = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_fill_event()
557 rfkill->state |= RFKILL_BLOCK_HW; in rfkill_set_hw_state_reason()
562 rfkill->state &= ~RFKILL_BLOCK_HW; in rfkill_set_hw_state_reason()
601 hwblock = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_set_sw_state()
646 hwprev = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_set_states()
649 rfkill->state |= RFKILL_BLOCK_HW; in rfkill_set_states()
651 rfkill->state &= ~RFKILL_BLOCK_HW; in rfkill_set_states()
736 return sysfs_emit(buf, "%d\n", (rfkill->state & RFKILL_BLOCK_HW) ? 1 : 0); in hard_show()
790 if (state & RFKILL_BLOCK_HW) in user_state_from_blocked()