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()
553 rfkill->state |= RFKILL_BLOCK_HW; in rfkill_set_hw_state_reason()
558 rfkill->state &= ~RFKILL_BLOCK_HW; in rfkill_set_hw_state_reason()
597 hwblock = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_set_sw_state()
642 hwprev = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_set_states()
645 rfkill->state |= RFKILL_BLOCK_HW; in rfkill_set_states()
647 rfkill->state &= ~RFKILL_BLOCK_HW; in rfkill_set_states()
732 return sysfs_emit(buf, "%d\n", (rfkill->state & RFKILL_BLOCK_HW) ? 1 : 0); in hard_show()
786 if (state & RFKILL_BLOCK_HW) in user_state_from_blocked()