Home
last modified time | relevance | path

Searched refs:hw_regs (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/irdma/
H A Dicrdma_hw.c109 writel(val, dev->hw_regs[IRDMA_GLINT_DYN_CTL] + idx); in icrdma_ena_irq()
120 writel(0, dev->hw_regs[IRDMA_GLINT_DYN_CTL] + idx); in icrdma_disable_irq()
140 writel(reg_val, dev->hw_regs[IRDMA_GLINT_CEQCTL] + ceq_id); in icrdma_cfg_ceq()
211 dev->hw_regs[i] = (u32 IOMEM *) (hw_addr + icrdma_regs[i]); in icrdma_init_hw()
220 dev->wqe_alloc_db = dev->hw_regs[IRDMA_WQEALLOC]; in icrdma_init_hw()
221 dev->cq_arm_db = dev->hw_regs[IRDMA_CQARM]; in icrdma_init_hw()
222 dev->aeq_alloc_db = dev->hw_regs[IRDMA_AEQALLOC]; in icrdma_init_hw()
223 dev->cqp_db = dev->hw_regs[IRDMA_CQPDB]; in icrdma_init_hw()
224 dev->cq_ack_db = dev->hw_regs[IRDMA_CQACK]; in icrdma_init_hw()
H A Dirdma_ctrl.c2808 *val = readl(cqp->dev->hw_regs[IRDMA_CQPTAIL]); in irdma_get_cqp_reg_info()
2829 error = readl(cqp->dev->hw_regs[IRDMA_CQPERRCODES]); in irdma_cqp_poll_registers()
3213 writel(0, cqp->dev->hw_regs[IRDMA_CQPTAIL]); in irdma_sc_cqp_init()
3214 writel(0, cqp->dev->hw_regs[IRDMA_CQPDB]); in irdma_sc_cqp_init()
3215 writel(0, cqp->dev->hw_regs[IRDMA_CCQPSTATUS]); in irdma_sc_cqp_init()
3298 writel(p1, cqp->dev->hw_regs[IRDMA_CCQPHIGH]); in irdma_sc_cqp_create()
3299 writel(p2, cqp->dev->hw_regs[IRDMA_CCQPLOW]); in irdma_sc_cqp_create()
3307 val = readl(cqp->dev->hw_regs[IRDMA_CCQPSTATUS]); in irdma_sc_cqp_create()
3321 err_code = readl(cqp->dev->hw_regs[IRDMA_CQPERRCODES]); in irdma_sc_cqp_create()
3390 writel(0, cqp->dev->hw_regs[IRDMA_CCQPHIGH]); in irdma_sc_cqp_destroy()
[all …]
H A Dirdma_hmc.c150 writel(val, dev->hw_regs[IRDMA_PFHMC_PDINV]); in irdma_invalidate_pf_hmc_pd()
H A Dicrdma.c357 pe_criterr = readl(iwdev->rf->sc_dev.hw_regs[IRDMA_GLPE_CRITERR]); in irdma_event_handler()
H A Dirdma_type.h635 u32 IOMEM *hw_regs[IRDMA_MAX_REGS]; member
H A Dirdma_kcompat.c229 (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_alloc_ucontext()
H A Dirdma_verbs.c106 pfn = ((uintptr_t)ucontext->iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET] + in irdma_mmap_legacy()
283 u64 bar_off = (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_compute_push_wqe_offset()