Home
last modified time | relevance | path

Searched refs:EFA_SET (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_com.c88 EFA_SET(&mmio_read_reg, EFA_REGS_MMIO_REG_READ_REQ_ID, in efa_com_reg_read32()
153 EFA_SET(&aq_caps, EFA_REGS_AQ_CAPS_AQ_ENTRY_SIZE, in efa_com_admin_init_sq()
187 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_ENTRY_SIZE, in efa_com_admin_init_cq()
189 EFA_SET(&acq_caps, EFA_REGS_ACQ_CAPS_ACQ_MSIX_VECTOR, in efa_com_admin_init_cq()
323 EFA_SET(&cmd->aq_common_descriptor.flags, in __efa_com_submit_admin_cmd()
698 EFA_SET(&mask_value, EFA_REGS_INTR_MASK_EN, 1); in efa_com_set_admin_polling_mode()
950 EFA_SET(&min_ver, EFA_REGS_VERSION_MAJOR_VERSION, in efa_com_validate_version()
952 EFA_SET(&min_ver, EFA_REGS_VERSION_MINOR_VERSION, in efa_com_validate_version()
1158 EFA_SET(&val, EFA_REGS_EQ_DB_EQN, eeq->eqn); in efa_com_arm_eq()
1159 EFA_SET(&val, EFA_REGS_EQ_DB_ARM, 1); in efa_com_arm_eq()
[all …]
H A Defa_main.c267 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_MAJOR, 0); in efa_set_host_info()
268 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_MINOR, 0); in efa_set_host_info()
269 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_SUB_MINOR, 0); in efa_set_host_info()
270 EFA_SET(&hinf->driver_ver, EFA_ADMIN_HOST_INFO_DRIVER_MODULE_TYPE, 0); in efa_set_host_info()
271 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_BUS, dev->pdev->bus->number); in efa_set_host_info()
272 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_DEVICE, in efa_set_host_info()
274 EFA_SET(&hinf->bdf, EFA_ADMIN_HOST_INFO_FUNCTION, in efa_set_host_info()
276 EFA_SET(&hinf->spec_ver, EFA_ADMIN_HOST_INFO_SPEC_MAJOR, in efa_set_host_info()
278 EFA_SET(&hinf->spec_ver, EFA_ADMIN_HOST_INFO_SPEC_MINOR, in efa_set_host_info()
280 EFA_SET(&hinf->flags, EFA_ADMIN_HOST_INFO_INTREE, 1); in efa_set_host_info()
[all …]
H A Defa_com_cmd.c160 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq()
167 EFA_SET(&create_cmd.cq_caps_1, in efa_com_create_cq()
172 EFA_SET(&create_cmd.cq_caps_2, in efa_com_create_cq()
238 EFA_SET(&mr_cmd.flags, EFA_ADMIN_REG_MR_CMD_PHYS_PAGE_SIZE_SHIFT, in efa_com_register_mr()
253 EFA_SET(&mr_cmd.aq_common_desc.flags, in efa_com_register_mr()
256 EFA_SET(&mr_cmd.aq_common_desc.flags, in efa_com_register_mr()
397 EFA_SET(&get_cmd.aq_common_descriptor.flags, in efa_com_get_feature_ex()
568 EFA_SET(&set_cmd->aq_common_descriptor.flags, in efa_com_set_feature_ex()
H A Defa_common_defs.h16 #define EFA_SET(ptr, mask, value) \ macro
H A Defa_verbs.c959 EFA_SET(&params.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_QP_STATE, in efa_modify_qp()
961 EFA_SET(&params.modify_mask, in efa_modify_qp()
968 EFA_SET(&params.modify_mask, in efa_modify_qp()
974 EFA_SET(&params.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_QKEY, 1); in efa_modify_qp()
979 EFA_SET(&params.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_SQ_PSN, 1); in efa_modify_qp()
984 EFA_SET(&params.modify_mask, EFA_ADMIN_MODIFY_QP_CMD_RNR_RETRY, in efa_modify_qp()