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

/linux-4.1.27/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()
513 hwblock = !!(rfkill->state & RFKILL_BLOCK_HW); rfkill_set_sw_state()
557 hwprev = !!(rfkill->state & RFKILL_BLOCK_HW); rfkill_set_states()
560 rfkill->state |= RFKILL_BLOCK_HW; rfkill_set_states()
562 rfkill->state &= ~RFKILL_BLOCK_HW; rfkill_set_states()
644 return sprintf(buf, "%d\n", (rfkill->state & RFKILL_BLOCK_HW) ? 1 : 0 ); hard_show()
683 if (state & RFKILL_BLOCK_HW) user_state_from_blocked()

Completed in 51 milliseconds