Lines Matching defs:limit
211 u32 base, limit;
217 limit = (value & PR_LIMIT_MASK) >> PR_LIMIT_SHIFT;
220 dev_dbg(ispi->dev, " %02d base: 0x%08x limit: 0x%08x [%c%c]\n",
221 i, base << 12, (limit << 12) | 0xfff,
228 u32 region, base, limit;
232 limit = (region & FREG_LIMIT_MASK) >> FREG_LIMIT_SHIFT;
234 if (base >= limit || (i > 0 && limit == 0))
237 dev_dbg(ispi->dev, " %02d base: 0x%08x limit: 0x%08x\n",
238 i, base << 12, (limit << 12) | 0xfff);
833 unsigned int base, unsigned int limit)
847 if (pr_base >= base && pr_limit <= limit)
875 u32 region, base, limit;
879 limit = (region & FREG_LIMIT_MASK) >> FREG_LIMIT_SHIFT;
881 if (base >= limit || limit == 0)
891 if (!writeable || intel_spi_is_protected(ispi, base, limit))
894 end = (limit << 12) + 4096;