Home
last modified time | relevance | path

Searched refs:RFKILL_BLOCK_HW (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/net/rfkill/
Dcore.c29 #define RFKILL_BLOCK_HW BIT(0) macro
32 #define RFKILL_BLOCK_ANY (RFKILL_BLOCK_HW |\
268 ev->hard = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_fill_event()
545 rfkill->state |= RFKILL_BLOCK_HW; in rfkill_set_hw_state_reason()
550 rfkill->state &= ~RFKILL_BLOCK_HW; in rfkill_set_hw_state_reason()
589 hwblock = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_set_sw_state()
634 hwprev = !!(rfkill->state & RFKILL_BLOCK_HW); in rfkill_set_states()
637 rfkill->state |= RFKILL_BLOCK_HW; in rfkill_set_states()
639 rfkill->state &= ~RFKILL_BLOCK_HW; in rfkill_set_states()
724 return sprintf(buf, "%d\n", (rfkill->state & RFKILL_BLOCK_HW) ? 1 : 0 ); in hard_show()
[all …]