Searched refs:log2size (Results 1 – 4 of 4) sorted by relevance
635 uint32_t log2size; in smmu_find_ste() local701 strtab_size_shift = log2size + 5; in smmu_find_ste()1538 if (s->cmdq.log2size > SMMU_CMDQS) { in smmu_writell()1539 s->cmdq.log2size = SMMU_CMDQS; in smmu_writell()1545 if (s->eventq.log2size > SMMU_EVENTQS) { in smmu_writell()1546 s->eventq.log2size = SMMU_EVENTQS; in smmu_writell()1625 if (s->cmdq.log2size > SMMU_CMDQS) { in smmu_writel()1626 s->cmdq.log2size = SMMU_CMDQS; in smmu_writel()1642 if (s->eventq.log2size > SMMU_EVENTQS) { in smmu_writel()1643 s->eventq.log2size = SMMU_EVENTQS; in smmu_writel()[all …]
223 #define WRAP_MASK(q) (1 << (q)->log2size)224 #define INDEX_MASK(q) (((1 << (q)->log2size)) - 1)225 #define WRAP_INDEX_MASK(q) ((1 << ((q)->log2size + 1)) - 1)233 #define Q_CONS_WRAP(q) (((q)->cons & WRAP_MASK(q)) >> (q)->log2size)234 #define Q_PROD_WRAP(q) (((q)->prod & WRAP_MASK(q)) >> (q)->log2size)257 q->cons = deposit32(q->cons, 0, q->log2size + 1, q->cons + 1); in queue_cons_incr()
32 uint8_t log2size; member
181 …uint8_t maxlog2ps) "nvme_start_ctrl failed because the page size is too small: log2size=%u, min=%u"182 …uint8_t maxlog2ps) "nvme_start_ctrl failed because the page size is too large: log2size=%u, max=%u"183 … "nvme_start_ctrl failed because the completion queue entry size is too small: log2size=%u, min=%u"184 … "nvme_start_ctrl failed because the completion queue entry size is too large: log2size=%u, max=%u"185 … "nvme_start_ctrl failed because the submission queue entry size is too small: log2size=%u, min=%u"186 … "nvme_start_ctrl failed because the submission queue entry size is too large: log2size=%u, max=%u"