Home
last modified time | relevance | path

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

/openbmc/linux/net/rfkill/
H A Dcore.c43 unsigned long hard_block_reasons; member
272 ev->hard_block_reasons = rfkill->hard_block_reasons; in rfkill_fill_event()
555 prev = !!(rfkill->hard_block_reasons & reason); in rfkill_set_hw_state_reason()
558 rfkill->hard_block_reasons |= reason; in rfkill_set_hw_state_reason()
560 rfkill->hard_block_reasons &= ~reason; in rfkill_set_hw_state_reason()
561 if (!rfkill->hard_block_reasons) in rfkill_set_hw_state_reason()
784 return sysfs_emit(buf, "0x%lx\n", rfkill->hard_block_reasons); in hard_block_reasons_show()
786 static DEVICE_ATTR_RO(hard_block_reasons);
874 reasons = rfkill->hard_block_reasons; in rfkill_dev_uevent()
/openbmc/linux/include/uapi/linux/
H A Drfkill.h128 __u8 hard_block_reasons; member