Lines Matching refs:allowed
360 * @resize: controls whether we allowed to resize the table to
1109 u64 allowed, enabled;
1116 allowed = dev->allowed_protocols;
1117 if (dev->raw && !allowed)
1118 allowed = ir_raw_get_allowed_protocols();
1122 dev_dbg(&dev->dev, "%s: allowed - 0x%llx, enabled - 0x%llx\n",
1123 __func__, (long long)allowed, (long long)enabled);
1126 if (allowed & enabled & proto_names[i].type)
1128 else if (allowed & proto_names[i].type)
1131 if (allowed & proto_names[i].type)
1132 allowed &= ~proto_names[i].type;
1500 u64 allowed;
1507 allowed = dev->allowed_wakeup_protocols;
1512 dev_dbg(&dev->dev, "%s: allowed - 0x%llx, enabled - %d\n",
1513 __func__, (long long)allowed, enabled);
1516 if (allowed & (1ULL << i)) {
1552 u64 allowed;
1561 allowed = dev->allowed_wakeup_protocols;
1565 if ((allowed & (1ULL << i)) &&
1946 * as a result. This results in driver code being allowed to submit