Home
last modified time | relevance | path

Searched refs:pq_mask (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.h53 uint32_t pq_mask; /* Page request queue index bit mask */ member
H A Driscv-iommu.c154 uint32_t head = riscv_iommu_reg_get32(s, RISCV_IOMMU_REG_PQH) & s->pq_mask; in riscv_iommu_pri()
155 uint32_t tail = riscv_iommu_reg_get32(s, RISCV_IOMMU_REG_PQT) & s->pq_mask; in riscv_iommu_pri()
156 uint32_t next = (tail + 1) & s->pq_mask; in riscv_iommu_pri()
1764 s->pq_mask = (2ULL << get_field(base, RISCV_IOMMU_PQB_LOG2SZ)) - 1; in riscv_iommu_process_pq_control()
1766 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_PQH], ~s->pq_mask); in riscv_iommu_process_pq_control()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_fw_funcs.c1145 u32 pq_mask = 0, last_pq, pq_id; in qed_send_qm_stop_cmd() local
1156 pq_mask |= BIT((pq_id % QM_STOP_PQ_MASK_WIDTH)); in qed_send_qm_stop_cmd()
1163 QM_STOP_CMD, PAUSE_MASK, pq_mask); in qed_send_qm_stop_cmd()
1171 pq_mask = 0; in qed_send_qm_stop_cmd()