Lines Matching refs:allowed
1072 u64 allowed, enabled; in show_protocols() local
1079 allowed = dev->allowed_protocols; in show_protocols()
1080 if (dev->raw && !allowed) in show_protocols()
1081 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1086 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1089 if (allowed & enabled & proto_names[i].type) in show_protocols()
1091 else if (allowed & proto_names[i].type) in show_protocols()
1094 if (allowed & proto_names[i].type) in show_protocols()
1095 allowed &= ~proto_names[i].type; in show_protocols()
1455 u64 allowed; in show_wakeup_protocols() local
1462 allowed = dev->allowed_wakeup_protocols; in show_wakeup_protocols()
1468 __func__, (long long)allowed, enabled); in show_wakeup_protocols()
1471 if (allowed & (1ULL << i)) { in show_wakeup_protocols()
1507 u64 allowed; in store_wakeup_protocols() local
1512 allowed = dev->allowed_wakeup_protocols; in store_wakeup_protocols()
1516 if ((allowed & (1ULL << i)) && in store_wakeup_protocols()