Searched refs:EFA_SET (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/efa/ |
D | efa_com.c | 84 EFA_SET(&mmio_read_reg, EFA_REGS_MMIO_REG_READ_REG_OFF, offset); in efa_com_reg_read32() 85 EFA_SET(&mmio_read_reg, EFA_REGS_MMIO_REG_READ_REQ_ID, in efa_com_reg_read32() 149 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_DEPTH, aq->depth); in efa_com_admin_init_sq() 150 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_ENTRY_SIZE, in efa_com_admin_init_sq() 183 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_DEPTH, aq->depth); in efa_com_admin_init_cq() 184 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_ENTRY_SIZE, in efa_com_admin_init_cq() 186 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_MSIX_VECTOR, in efa_com_admin_init_cq() 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() [all …]
|
D | efa_main.c | 218 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_MAJOR, 0); in efa_set_host_info() 219 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_MINOR, 0); in efa_set_host_info() 220 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_SUB_MINOR, 0); in efa_set_host_info() 221 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_MODULE_TYPE, 0); in efa_set_host_info() 222 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_BUS, dev->pdev->bus->number); in efa_set_host_info() 223 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_DEVICE, in efa_set_host_info() 225 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_FUNCTION, in efa_set_host_info() 227 EFA_SET(&hinf->spec_ver, EFA_ADMIN_HOST_INFO_SPEC_MAJOR, in efa_set_host_info() 229 EFA_SET(&hinf->spec_ver, EFA_ADMIN_HOST_INFO_SPEC_MINOR, in efa_set_host_info() 231 EFA_SET(&hinf->flags, EFA_ADMIN_HOST_INFO_INTREE, 1); in efa_set_host_info() [all …]
|
D | efa_common_defs.h | 16 #define EFA_SET(ptr, mask, value) \ macro
|
D | efa_com_cmd.c | 166 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq() 233 EFA_SET(&mr_cmd.flags, EFA_ADMIN_REG_MR_CMD_PHYS_PAGE_SIZE_SHIFT, in efa_com_register_mr() 248 EFA_SET(&mr_cmd.aq_common_desc.flags, in efa_com_register_mr() 251 EFA_SET(&mr_cmd.aq_common_desc.flags, in efa_com_register_mr() 392 EFA_SET(&get_cmd.aq_common_descriptor.flags, in efa_com_get_feature_ex() 546 EFA_SET(&set_cmd->aq_common_descriptor.flags, in efa_com_set_feature_ex()
|
D | efa_verbs.c | 939 EFA_SET(¶ms.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_QP_STATE, in efa_modify_qp() 941 EFA_SET(¶ms.modify_mask, in efa_modify_qp() 948 EFA_SET(¶ms.modify_mask, in efa_modify_qp() 954 EFA_SET(¶ms.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_QKEY, 1); in efa_modify_qp() 959 EFA_SET(¶ms.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_SQ_PSN, 1); in efa_modify_qp() 964 EFA_SET(¶ms.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_RNR_RETRY, in efa_modify_qp()
|