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

/linux-4.4.14/net/rfkill/
H A Dcore.c41 #define RFKILL_BLOCK_HW BIT(0) macro
44 #define RFKILL_BLOCK_ANY (RFKILL_BLOCK_HW |\
202 ev->hard = !!(rfkill->state & RFKILL_BLOCK_HW); rfkill_fill_event()
245 prev = !!(rfkill->state & RFKILL_BLOCK_HW); __rfkill_set_hw_state()
247 rfkill->state |= RFKILL_BLOCK_HW; __rfkill_set_hw_state()
249 rfkill->state &= ~RFKILL_BLOCK_HW; __rfkill_set_hw_state()
521 hwblock = !!(rfkill->state & RFKILL_BLOCK_HW); rfkill_set_sw_state()
565 hwprev = !!(rfkill->state & RFKILL_BLOCK_HW); rfkill_set_states()
568 rfkill->state |= RFKILL_BLOCK_HW; rfkill_set_states()
570 rfkill->state &= ~RFKILL_BLOCK_HW; rfkill_set_states()
652 return sprintf(buf, "%d\n", (rfkill->state & RFKILL_BLOCK_HW) ? 1 : 0 ); hard_show()
691 if (state & RFKILL_BLOCK_HW) user_state_from_blocked()

Completed in 48 milliseconds