Home
last modified time | relevance | path

Searched refs:aenq_caps (Results 1 – 2 of 2) sorted by relevance

/drivers/infiniband/hw/efa/
Defa_com.c199 u32 aenq_caps = 0; in efa_com_admin_init_aenq() local
224 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_DEPTH, aenq->depth); in efa_com_admin_init_aenq()
225 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_ENTRY_SIZE, in efa_com_admin_init_aenq()
227 EFA_SET(&aenq_caps, EFA_REGS_AENQ_CAPS_AENQ_MSIX_VECTOR, in efa_com_admin_init_aenq()
229 writel(aenq_caps, edev->reg_bar + EFA_REGS_AENQ_CAPS_OFF); in efa_com_admin_init_aenq()
/drivers/net/ethernet/amazon/ena/
Dena_com.c131 u32 addr_low, addr_high, aenq_caps; in ena_com_admin_init_aenq() local
153 aenq_caps = 0; in ena_com_admin_init_aenq()
154 aenq_caps |= ena_dev->aenq.q_depth & ENA_REGS_AENQ_CAPS_AENQ_DEPTH_MASK; in ena_com_admin_init_aenq()
155 aenq_caps |= (sizeof(struct ena_admin_aenq_entry) in ena_com_admin_init_aenq()
158 writel(aenq_caps, ena_dev->reg_bar + ENA_REGS_AENQ_CAPS_OFF); in ena_com_admin_init_aenq()