Lines Matching refs:allowed
1108 u64 allowed, enabled; in show_protocols() local
1115 allowed = dev->allowed_protocols; in show_protocols()
1116 if (dev->raw && !allowed) in show_protocols()
1117 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1122 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1125 if (allowed & enabled & proto_names[i].type) in show_protocols()
1127 else if (allowed & proto_names[i].type) in show_protocols()
1130 if (allowed & proto_names[i].type) in show_protocols()
1131 allowed &= ~proto_names[i].type; in show_protocols()
1499 u64 allowed; in show_wakeup_protocols() local
1506 allowed = dev->allowed_wakeup_protocols; in show_wakeup_protocols()
1512 __func__, (long long)allowed, enabled); in show_wakeup_protocols()
1515 if (allowed & (1ULL << i)) { in show_wakeup_protocols()
1551 u64 allowed; in store_wakeup_protocols() local
1560 allowed = dev->allowed_wakeup_protocols; in store_wakeup_protocols()
1564 if ((allowed & (1ULL << i)) && in store_wakeup_protocols()