Searched refs:log2size (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/arm/ |
H A D | smmuv3.c | 635 uint32_t log2size; in smmu_find_ste() local 640 log2size = FIELD_EX32(s->strtab_base_cfg, STRTAB_BASE_CFG, LOG2SIZE); in smmu_find_ste() 644 if (sid >= (1 << MIN(log2size, SMMU_IDR1_SIDSIZE))) { in smmu_find_ste() 657 strtab_size_shift = MAX(5, (int)log2size - s->sid_split - 1 + 3); in smmu_find_ste() 701 strtab_size_shift = log2size + 5; in smmu_find_ste() 1537 s->cmdq.log2size = extract64(s->cmdq.base, 0, 5); in smmu_writell() 1538 if (s->cmdq.log2size > SMMU_CMDQS) { in smmu_writell() 1539 s->cmdq.log2size = SMMU_CMDQS; in smmu_writell() 1544 s->eventq.log2size = extract64(s->eventq.base, 0, 5); in smmu_writell() 1545 if (s->eventq.log2size > SMMU_EVENTQS) { in smmu_writell() [all …]
|
H A D | smmuv3-internal.h | 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()
|
/openbmc/qemu/include/hw/arm/ |
H A D | smmuv3.h | 32 uint8_t log2size; member
|
/openbmc/qemu/hw/nvme/ |
H A D | trace-events | 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"
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | cmd.h | 504 MLXSW_ITEM32_INDEXED(cmd_mbox, map_fa, log2size, 0x00, 0, 5, 0x08, 0x04, false);
|