Lines Matching defs:allowed
360 * @resize: controls whether we allowed to resize the table to
1108 u64 allowed, enabled;
1115 allowed = dev->allowed_protocols;
1116 if (dev->raw && !allowed)
1117 allowed = ir_raw_get_allowed_protocols();
1121 dev_dbg(&dev->dev, "%s: allowed - 0x%llx, enabled - 0x%llx\n",
1122 __func__, (long long)allowed, (long long)enabled);
1125 if (allowed & enabled & proto_names[i].type)
1127 else if (allowed & proto_names[i].type)
1130 if (allowed & proto_names[i].type)
1131 allowed &= ~proto_names[i].type;
1499 u64 allowed;
1506 allowed = dev->allowed_wakeup_protocols;
1511 dev_dbg(&dev->dev, "%s: allowed - 0x%llx, enabled - %d\n",
1512 __func__, (long long)allowed, enabled);
1515 if (allowed & (1ULL << i)) {
1551 u64 allowed;
1560 allowed = dev->allowed_wakeup_protocols;
1564 if ((allowed & (1ULL << i)) &&
1945 * as a result. This results in driver code being allowed to submit