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

/linux-4.1.27/net/rfkill/
H A Dcore.c42 #define RFKILL_BLOCK_SW BIT(1) macro
45 RFKILL_BLOCK_SW |\
203 ev->soft = !!(rfkill->state & (RFKILL_BLOCK_SW | rfkill_fill_event()
286 prev = rfkill->state & RFKILL_BLOCK_SW; rfkill_set_block()
288 if (rfkill->state & RFKILL_BLOCK_SW) rfkill_set_block()
294 rfkill->state |= RFKILL_BLOCK_SW; rfkill_set_block()
296 rfkill->state &= ~RFKILL_BLOCK_SW; rfkill_set_block()
311 rfkill->state |= RFKILL_BLOCK_SW; rfkill_set_block()
313 rfkill->state &= ~RFKILL_BLOCK_SW; rfkill_set_block()
317 curr = rfkill->state & RFKILL_BLOCK_SW; rfkill_set_block()
491 u32 bit = RFKILL_BLOCK_SW; __rfkill_set_sw_state()
511 prev = !!(rfkill->state & RFKILL_BLOCK_SW); rfkill_set_sw_state()
556 swprev = !!(rfkill->state & RFKILL_BLOCK_SW); rfkill_set_states()
653 return sprintf(buf, "%d\n", (rfkill->state & RFKILL_BLOCK_SW) ? 1 : 0 ); soft_show()
685 if (state & RFKILL_BLOCK_SW) user_state_from_blocked()
812 cur = !!(rfkill->state & RFKILL_BLOCK_SW); rfkill_resume()
971 bool soft_blocked = !!(rfkill->state & RFKILL_BLOCK_SW); rfkill_register()

Completed in 62 milliseconds