Lines Matching refs:hw_regs
70 writel(val, dev->hw_regs[IRDMA_GLINT_DYN_CTL] + idx); in icrdma_ena_irq()
72 writel(val, dev->hw_regs[IRDMA_GLINT_DYN_CTL] + (idx - 1)); in icrdma_ena_irq()
83 writel(0, dev->hw_regs[IRDMA_GLINT_DYN_CTL] + idx); in icrdma_disable_irq()
85 writel(0, dev->hw_regs[IRDMA_GLINT_DYN_CTL] + (idx - 1)); in icrdma_disable_irq()
104 writel(reg_val, dev->hw_regs[IRDMA_GLINT_CEQCTL] + ceq_id); in icrdma_cfg_ceq()
174 dev->hw_regs[i] = (u32 __iomem *)(hw_addr + icrdma_regs[i]); in icrdma_init_hw()
185 dev->wqe_alloc_db = dev->hw_regs[IRDMA_WQEALLOC]; in icrdma_init_hw()
186 dev->cq_arm_db = dev->hw_regs[IRDMA_CQARM]; in icrdma_init_hw()
187 dev->aeq_alloc_db = dev->hw_regs[IRDMA_AEQALLOC]; in icrdma_init_hw()
188 dev->cqp_db = dev->hw_regs[IRDMA_CQPDB]; in icrdma_init_hw()
189 dev->cq_ack_db = dev->hw_regs[IRDMA_CQACK]; in icrdma_init_hw()