Lines Matching refs:MLX4_GET

58 #define MLX4_GET(dest, source, offset)				      \  macro
235 MLX4_GET(field, outbox, QUERY_FUNC_BUS_OFFSET); in mlx4_QUERY_FUNC()
237 MLX4_GET(field, outbox, QUERY_FUNC_DEVICE_OFFSET); in mlx4_QUERY_FUNC()
239 MLX4_GET(field, outbox, QUERY_FUNC_FUNCTION_OFFSET); in mlx4_QUERY_FUNC()
241 MLX4_GET(field, outbox, QUERY_FUNC_PHYSICAL_FUNCTION_OFFSET); in mlx4_QUERY_FUNC()
243 MLX4_GET(field16, outbox, QUERY_FUNC_RSVD_EQS_OFFSET); in mlx4_QUERY_FUNC()
245 MLX4_GET(field16, outbox, QUERY_FUNC_MAX_EQ_OFFSET); in mlx4_QUERY_FUNC()
247 MLX4_GET(field, outbox, QUERY_FUNC_RSVD_UARS_OFFSET); in mlx4_QUERY_FUNC()
568 MLX4_GET(field, outbox, QUERY_FUNC_CAP_FLAGS_OFFSET); in mlx4_QUERY_FUNC_CAP()
577 MLX4_GET(field, outbox, QUERY_FUNC_CAP_NUM_PORTS_OFFSET); in mlx4_QUERY_FUNC_CAP()
580 MLX4_GET(size, outbox, QUERY_FUNC_CAP_PF_BHVR_OFFSET); in mlx4_QUERY_FUNC_CAP()
584 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP_QUOTA_OFFSET); in mlx4_QUERY_FUNC_CAP()
587 MLX4_GET(size, outbox, QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET); in mlx4_QUERY_FUNC_CAP()
590 MLX4_GET(size, outbox, QUERY_FUNC_CAP_CQ_QUOTA_OFFSET); in mlx4_QUERY_FUNC_CAP()
593 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MPT_QUOTA_OFFSET); in mlx4_QUERY_FUNC_CAP()
596 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MTT_QUOTA_OFFSET); in mlx4_QUERY_FUNC_CAP()
599 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MCG_QUOTA_OFFSET); in mlx4_QUERY_FUNC_CAP()
603 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP_QUOTA_OFFSET_DEP); in mlx4_QUERY_FUNC_CAP()
606 MLX4_GET(size, outbox, QUERY_FUNC_CAP_SRQ_QUOTA_OFFSET_DEP); in mlx4_QUERY_FUNC_CAP()
609 MLX4_GET(size, outbox, QUERY_FUNC_CAP_CQ_QUOTA_OFFSET_DEP); in mlx4_QUERY_FUNC_CAP()
612 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MPT_QUOTA_OFFSET_DEP); in mlx4_QUERY_FUNC_CAP()
615 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MTT_QUOTA_OFFSET_DEP); in mlx4_QUERY_FUNC_CAP()
618 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MCG_QUOTA_OFFSET_DEP); in mlx4_QUERY_FUNC_CAP()
621 MLX4_GET(size, outbox, QUERY_FUNC_CAP_MAX_EQ_OFFSET); in mlx4_QUERY_FUNC_CAP()
624 MLX4_GET(size, outbox, QUERY_FUNC_CAP_RESERVED_EQ_OFFSET); in mlx4_QUERY_FUNC_CAP()
628 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP_RESD_LKEY_OFFSET); in mlx4_QUERY_FUNC_CAP()
640 MLX4_GET(size, outbox, QUERY_FUNC_CAP_EXTRA_FLAGS_OFFSET); in mlx4_QUERY_FUNC_CAP()
656 MLX4_GET(func_cap->flags1, outbox, QUERY_FUNC_CAP_FLAGS1_OFFSET); in mlx4_QUERY_FUNC_CAP()
670 MLX4_GET(field, outbox, QUERY_FUNC_CAP_FLAGS0_OFFSET); in mlx4_QUERY_FUNC_CAP()
678 MLX4_GET(field, outbox, QUERY_FUNC_CAP_PHYS_PORT_OFFSET); in mlx4_QUERY_FUNC_CAP()
686 MLX4_GET(qkey, outbox, QUERY_FUNC_CAP_PRIV_VF_QKEY_OFFSET); in mlx4_QUERY_FUNC_CAP()
692 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP0_TUNNEL); in mlx4_QUERY_FUNC_CAP()
695 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP0_PROXY); in mlx4_QUERY_FUNC_CAP()
698 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP1_TUNNEL); in mlx4_QUERY_FUNC_CAP()
701 MLX4_GET(size, outbox, QUERY_FUNC_CAP_QP1_PROXY); in mlx4_QUERY_FUNC_CAP()
705 MLX4_GET(func_cap->phys_port_id, outbox, in mlx4_QUERY_FUNC_CAP()
708 MLX4_GET(func_cap->flags0, outbox, QUERY_FUNC_CAP_FLAGS0_OFFSET); in mlx4_QUERY_FUNC_CAP()
845 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAP_CLOCK_TO_USER); in mlx4_QUERY_DEV_CAP()
847 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_QP_OFFSET); in mlx4_QUERY_DEV_CAP()
849 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_QP_OFFSET); in mlx4_QUERY_DEV_CAP()
851 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_SRQ_OFFSET); in mlx4_QUERY_DEV_CAP()
853 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SRQ_OFFSET); in mlx4_QUERY_DEV_CAP()
855 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_CQ_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
857 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_CQ_OFFSET); in mlx4_QUERY_DEV_CAP()
859 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_CQ_OFFSET); in mlx4_QUERY_DEV_CAP()
861 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_MPT_OFFSET); in mlx4_QUERY_DEV_CAP()
863 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_EQ_OFFSET); in mlx4_QUERY_DEV_CAP()
865 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_EQ_OFFSET); in mlx4_QUERY_DEV_CAP()
867 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_MTT_OFFSET); in mlx4_QUERY_DEV_CAP()
869 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_MRW_OFFSET); in mlx4_QUERY_DEV_CAP()
871 MLX4_GET(size, outbox, QUERY_DEV_CAP_NUM_SYS_EQ_OFFSET); in mlx4_QUERY_DEV_CAP()
873 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_REQ_QP_OFFSET); in mlx4_QUERY_DEV_CAP()
875 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_RES_QP_OFFSET); in mlx4_QUERY_DEV_CAP()
877 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_GSO_OFFSET); in mlx4_QUERY_DEV_CAP()
884 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSS_OFFSET); in mlx4_QUERY_DEV_CAP()
895 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_RDMA_OFFSET); in mlx4_QUERY_DEV_CAP()
897 MLX4_GET(field, outbox, QUERY_DEV_CAP_ACK_DELAY_OFFSET); in mlx4_QUERY_DEV_CAP()
899 MLX4_GET(field, outbox, QUERY_DEV_CAP_VL_PORT_OFFSET); in mlx4_QUERY_DEV_CAP()
901 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_MSG_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
903 MLX4_GET(field, outbox, QUERY_DEV_CAP_PORT_FLOWSTATS_COUNTERS_OFFSET); in mlx4_QUERY_DEV_CAP()
906 MLX4_GET(field, outbox, QUERY_DEV_CAP_FLOW_STEERING_RANGE_EN_OFFSET); in mlx4_QUERY_DEV_CAP()
912 MLX4_GET(field, outbox, QUERY_DEV_CAP_PORT_BEACON_OFFSET); in mlx4_QUERY_DEV_CAP()
915 MLX4_GET(field, outbox, QUERY_DEV_CAP_FLOW_STEERING_IPOIB_OFFSET); in mlx4_QUERY_DEV_CAP()
918 MLX4_GET(field, outbox, QUERY_DEV_CAP_FLOW_STEERING_MAX_QP_OFFSET); in mlx4_QUERY_DEV_CAP()
920 MLX4_GET(field, outbox, QUERY_DEV_CAP_SL2VL_EVENT_OFFSET); in mlx4_QUERY_DEV_CAP()
923 MLX4_GET(field, outbox, QUERY_DEV_CAP_ECN_QCN_VER_OFFSET); in mlx4_QUERY_DEV_CAP()
926 MLX4_GET(stat_rate, outbox, QUERY_DEV_CAP_RATE_SUPPORT_OFFSET); in mlx4_QUERY_DEV_CAP()
928 MLX4_GET(field, outbox, QUERY_DEV_CAP_CQ_TS_SUPPORT_OFFSET); in mlx4_QUERY_DEV_CAP()
931 MLX4_GET(ext_flags, outbox, QUERY_DEV_CAP_EXT_FLAGS_OFFSET); in mlx4_QUERY_DEV_CAP()
932 MLX4_GET(flags, outbox, QUERY_DEV_CAP_FLAGS_OFFSET); in mlx4_QUERY_DEV_CAP()
934 MLX4_GET(field, outbox, QUERY_DEV_CAP_WOL_OFFSET); in mlx4_QUERY_DEV_CAP()
937 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_UAR_OFFSET); in mlx4_QUERY_DEV_CAP()
939 MLX4_GET(field, outbox, QUERY_DEV_CAP_UAR_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
941 MLX4_GET(field, outbox, QUERY_DEV_CAP_PAGE_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
944 MLX4_GET(field, outbox, QUERY_DEV_CAP_BF_OFFSET); in mlx4_QUERY_DEV_CAP()
946 MLX4_GET(field, outbox, QUERY_DEV_CAP_LOG_BF_REG_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
948 MLX4_GET(field, outbox, QUERY_DEV_CAP_LOG_MAX_BF_REGS_PER_PAGE_OFFSET); in mlx4_QUERY_DEV_CAP()
956 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SG_SQ_OFFSET); in mlx4_QUERY_DEV_CAP()
958 MLX4_GET(size, outbox, QUERY_DEV_CAP_MAX_DESC_SZ_SQ_OFFSET); in mlx4_QUERY_DEV_CAP()
961 MLX4_GET(field, outbox, QUERY_DEV_CAP_USER_MAC_EN_OFFSET); in mlx4_QUERY_DEV_CAP()
964 MLX4_GET(field, outbox, QUERY_DEV_CAP_SVLAN_BY_QP_OFFSET); in mlx4_QUERY_DEV_CAP()
967 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_QP_MCG_OFFSET); in mlx4_QUERY_DEV_CAP()
969 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_MCG_OFFSET); in mlx4_QUERY_DEV_CAP()
971 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_MCG_OFFSET); in mlx4_QUERY_DEV_CAP()
973 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_PD_OFFSET); in mlx4_QUERY_DEV_CAP()
975 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_PD_OFFSET); in mlx4_QUERY_DEV_CAP()
977 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSVD_XRC_OFFSET); in mlx4_QUERY_DEV_CAP()
979 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_XRC_OFFSET); in mlx4_QUERY_DEV_CAP()
982 MLX4_GET(size, outbox, QUERY_DEV_CAP_RDMARC_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
984 MLX4_GET(size, outbox, QUERY_DEV_CAP_QPC_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
986 MLX4_GET(size, outbox, QUERY_DEV_CAP_AUX_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
988 MLX4_GET(size, outbox, QUERY_DEV_CAP_ALTC_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
990 MLX4_GET(size, outbox, QUERY_DEV_CAP_EQC_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
992 MLX4_GET(size, outbox, QUERY_DEV_CAP_CQC_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
994 MLX4_GET(size, outbox, QUERY_DEV_CAP_SRQ_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
996 MLX4_GET(size, outbox, QUERY_DEV_CAP_C_MPT_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
998 MLX4_GET(size, outbox, QUERY_DEV_CAP_MTT_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
1000 MLX4_GET(size, outbox, QUERY_DEV_CAP_D_MPT_ENTRY_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
1003 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SRQ_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
1005 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_QP_SZ_OFFSET); in mlx4_QUERY_DEV_CAP()
1007 MLX4_GET(field, outbox, QUERY_DEV_CAP_RSZ_SRQ_OFFSET); in mlx4_QUERY_DEV_CAP()
1009 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_SG_RQ_OFFSET); in mlx4_QUERY_DEV_CAP()
1011 MLX4_GET(size, outbox, QUERY_DEV_CAP_MAX_DESC_SZ_RQ_OFFSET); in mlx4_QUERY_DEV_CAP()
1013 MLX4_GET(field, outbox, QUERY_DEV_CAP_CQ_EQ_CACHE_LINE_STRIDE); in mlx4_QUERY_DEV_CAP()
1022 MLX4_GET(dev_cap->bmme_flags, outbox, in mlx4_QUERY_DEV_CAP()
1028 MLX4_GET(field, outbox, QUERY_DEV_CAP_CONFIG_DEV_OFFSET); in mlx4_QUERY_DEV_CAP()
1033 MLX4_GET(field, outbox, QUERY_DEV_CAP_PHV_EN_OFFSET); in mlx4_QUERY_DEV_CAP()
1039 MLX4_GET(dev_cap->reserved_lkey, outbox, in mlx4_QUERY_DEV_CAP()
1041 MLX4_GET(field32, outbox, QUERY_DEV_CAP_ETH_BACKPL_OFFSET); in mlx4_QUERY_DEV_CAP()
1048 MLX4_GET(field32, outbox, QUERY_DEV_CAP_DIAG_RPRT_PER_PORT); in mlx4_QUERY_DEV_CAP()
1051 MLX4_GET(field, outbox, QUERY_DEV_CAP_FW_REASSIGN_MAC); in mlx4_QUERY_DEV_CAP()
1054 MLX4_GET(field, outbox, QUERY_DEV_CAP_VXLAN); in mlx4_QUERY_DEV_CAP()
1059 MLX4_GET(dev_cap->max_icm_sz, outbox, in mlx4_QUERY_DEV_CAP()
1062 MLX4_GET(dev_cap->max_counters, outbox, in mlx4_QUERY_DEV_CAP()
1065 MLX4_GET(field32, outbox, in mlx4_QUERY_DEV_CAP()
1070 MLX4_GET(dev_cap->dmfs_high_rate_qpn_base, outbox, in mlx4_QUERY_DEV_CAP()
1073 MLX4_GET(dev_cap->dmfs_high_rate_qpn_range, outbox, in mlx4_QUERY_DEV_CAP()
1077 MLX4_GET(size, outbox, QUERY_DEV_CAP_QP_RATE_LIMIT_NUM_OFFSET); in mlx4_QUERY_DEV_CAP()
1081 MLX4_GET(size, outbox, QUERY_DEV_CAP_QP_RATE_LIMIT_MAX_OFFSET); in mlx4_QUERY_DEV_CAP()
1084 MLX4_GET(size, outbox, QUERY_DEV_CAP_QP_RATE_LIMIT_MIN_OFFSET); in mlx4_QUERY_DEV_CAP()
1089 MLX4_GET(dev_cap->health_buffer_addrs, outbox, in mlx4_QUERY_DEV_CAP()
1092 MLX4_GET(field32, outbox, QUERY_DEV_CAP_EXT_2_FLAGS_OFFSET); in mlx4_QUERY_DEV_CAP()
1207 MLX4_GET(field, outbox, QUERY_DEV_CAP_VL_PORT_OFFSET); in mlx4_QUERY_PORT()
1209 MLX4_GET(field, outbox, QUERY_DEV_CAP_MTU_WIDTH_OFFSET); in mlx4_QUERY_PORT()
1212 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_GID_OFFSET); in mlx4_QUERY_PORT()
1214 MLX4_GET(field, outbox, QUERY_DEV_CAP_MAX_PKEY_OFFSET); in mlx4_QUERY_PORT()
1234 MLX4_GET(field, outbox, QUERY_PORT_SUPPORTED_TYPE_OFFSET); in mlx4_QUERY_PORT()
1240 MLX4_GET(field, outbox, QUERY_PORT_MTU_OFFSET); in mlx4_QUERY_PORT()
1242 MLX4_GET(field, outbox, QUERY_PORT_WIDTH_OFFSET); in mlx4_QUERY_PORT()
1244 MLX4_GET(field, outbox, QUERY_PORT_MAX_GID_PKEY_OFFSET); in mlx4_QUERY_PORT()
1247 MLX4_GET(field, outbox, QUERY_PORT_MAX_VL_OFFSET); in mlx4_QUERY_PORT()
1250 MLX4_GET(field, outbox, QUERY_PORT_MAX_MACVLAN_OFFSET); in mlx4_QUERY_PORT()
1253 MLX4_GET(port_cap->eth_mtu, outbox, QUERY_PORT_ETH_MTU_OFFSET); in mlx4_QUERY_PORT()
1254 MLX4_GET(port_cap->def_mac, outbox, QUERY_PORT_MAC_OFFSET); in mlx4_QUERY_PORT()
1255 MLX4_GET(field32, outbox, QUERY_PORT_TRANS_VENDOR_OFFSET); in mlx4_QUERY_PORT()
1258 MLX4_GET(port_cap->wavelength, outbox, QUERY_PORT_WAVELENGTH_OFFSET); in mlx4_QUERY_PORT()
1259 MLX4_GET(port_cap->trans_code, outbox, QUERY_PORT_TRANS_CODE_OFFSET); in mlx4_QUERY_PORT()
1297 MLX4_GET(flags, outbox->buf, QUERY_DEV_CAP_EXT_FLAGS_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1318 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_VL_PORT_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1324 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_CQ_TS_SUPPORT_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1329 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_VXLAN); in mlx4_QUERY_DEV_CAP_wrapper()
1334 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_PORT_BEACON_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1339 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_BF_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1344 MLX4_GET(bmme_flags, outbox->buf, QUERY_DEV_CAP_BMME_FLAGS_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1351 MLX4_GET(field, outbox->buf, in mlx4_QUERY_DEV_CAP_wrapper()
1359 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_FLOW_STEERING_IPOIB_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1364 MLX4_GET(field32, outbox->buf, QUERY_DEV_CAP_EXT_2_FLAGS_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1370 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_ECN_QCN_VER_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1379 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_CQ_EQ_CACHE_LINE_STRIDE); in mlx4_QUERY_DEV_CAP_wrapper()
1384 MLX4_GET(field, outbox->buf, QUERY_DEV_CAP_CONFIG_DEV_OFFSET); in mlx4_QUERY_DEV_CAP_wrapper()
1395 MLX4_GET(flags, buf, QUERY_DEV_CAP_EXT_FLAGS_OFFSET); in disable_unsupported_roce_caps()
1398 MLX4_GET(flags, buf, QUERY_DEV_CAP_EXT_2_FLAGS_OFFSET); in disable_unsupported_roce_caps()
1401 MLX4_GET(flags, buf, QUERY_DEV_CAP_BMME_FLAGS_OFFSET); in disable_unsupported_roce_caps()
1446 MLX4_GET(port_type, outbox->buf, in mlx4_QUERY_PORT_wrapper()
1507 MLX4_GET(field, outbox, QUERY_PORT_CUR_MAX_GID_OFFSET); in mlx4_get_slave_pkey_gid_tbl_len()
1510 MLX4_GET(field, outbox, QUERY_PORT_CUR_MAX_PKEY_OFFSET); in mlx4_get_slave_pkey_gid_tbl_len()
1658 MLX4_GET(fw_ver, outbox, QUERY_FW_VER_OFFSET); in mlx4_QUERY_FW()
1667 MLX4_GET(lg, outbox, QUERY_FW_PPF_ID); in mlx4_QUERY_FW()
1674 MLX4_GET(cmd_if_rev, outbox, QUERY_FW_CMD_IF_REV_OFFSET); in mlx4_QUERY_FW()
1692 MLX4_GET(lg, outbox, QUERY_FW_MAX_CMD_OFFSET); in mlx4_QUERY_FW()
1701 MLX4_GET(fw->catas_offset, outbox, QUERY_FW_ERR_START_OFFSET); in mlx4_QUERY_FW()
1702 MLX4_GET(fw->catas_size, outbox, QUERY_FW_ERR_SIZE_OFFSET); in mlx4_QUERY_FW()
1703 MLX4_GET(fw->catas_bar, outbox, QUERY_FW_ERR_BAR_OFFSET); in mlx4_QUERY_FW()
1709 MLX4_GET(fw->fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mlx4_QUERY_FW()
1710 MLX4_GET(fw->clr_int_base, outbox, QUERY_FW_CLR_INT_BASE_OFFSET); in mlx4_QUERY_FW()
1711 MLX4_GET(fw->clr_int_bar, outbox, QUERY_FW_CLR_INT_BAR_OFFSET); in mlx4_QUERY_FW()
1714 MLX4_GET(fw->comm_base, outbox, QUERY_FW_COMM_BASE_OFFSET); in mlx4_QUERY_FW()
1715 MLX4_GET(fw->comm_bar, outbox, QUERY_FW_COMM_BAR_OFFSET); in mlx4_QUERY_FW()
1721 MLX4_GET(fw->clock_offset, outbox, QUERY_FW_CLOCK_OFFSET); in mlx4_QUERY_FW()
1722 MLX4_GET(fw->clock_bar, outbox, QUERY_FW_CLOCK_BAR); in mlx4_QUERY_FW()
1823 MLX4_GET(adapter->inta_pin, outbox, QUERY_ADAPTER_INTA_PIN_OFFSET); in mlx4_QUERY_ADAPTER()
2100 MLX4_GET(param->global_caps, outbox, QUERY_HCA_GLOBAL_CAPS_OFFSET); in mlx4_QUERY_HCA()
2101 MLX4_GET(param->hca_core_clock, outbox, QUERY_HCA_CORE_CLOCK_OFFSET); in mlx4_QUERY_HCA()
2105 MLX4_GET(qword_field, outbox, INIT_HCA_QPC_BASE_OFFSET); in mlx4_QUERY_HCA()
2107 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_QP_OFFSET); in mlx4_QUERY_HCA()
2109 MLX4_GET(qword_field, outbox, INIT_HCA_SRQC_BASE_OFFSET); in mlx4_QUERY_HCA()
2111 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_SRQ_OFFSET); in mlx4_QUERY_HCA()
2113 MLX4_GET(qword_field, outbox, INIT_HCA_CQC_BASE_OFFSET); in mlx4_QUERY_HCA()
2115 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_CQ_OFFSET); in mlx4_QUERY_HCA()
2117 MLX4_GET(qword_field, outbox, INIT_HCA_ALTC_BASE_OFFSET); in mlx4_QUERY_HCA()
2119 MLX4_GET(qword_field, outbox, INIT_HCA_AUXC_BASE_OFFSET); in mlx4_QUERY_HCA()
2121 MLX4_GET(qword_field, outbox, INIT_HCA_EQC_BASE_OFFSET); in mlx4_QUERY_HCA()
2123 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_EQ_OFFSET); in mlx4_QUERY_HCA()
2125 MLX4_GET(word_field, outbox, INIT_HCA_NUM_SYS_EQS_OFFSET); in mlx4_QUERY_HCA()
2127 MLX4_GET(qword_field, outbox, INIT_HCA_RDMARC_BASE_OFFSET); in mlx4_QUERY_HCA()
2129 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_RD_OFFSET); in mlx4_QUERY_HCA()
2132 MLX4_GET(dword_field, outbox, INIT_HCA_FLAGS_OFFSET); in mlx4_QUERY_HCA()
2136 MLX4_GET(byte_field, outbox, INIT_HCA_UC_STEERING_OFFSET); in mlx4_QUERY_HCA()
2148 MLX4_GET(param->mc_base, outbox, INIT_HCA_FS_BASE_OFFSET); in mlx4_QUERY_HCA()
2149 MLX4_GET(byte_field, outbox, INIT_HCA_FS_LOG_ENTRY_SZ_OFFSET); in mlx4_QUERY_HCA()
2151 MLX4_GET(byte_field, outbox, INIT_HCA_FS_LOG_TABLE_SZ_OFFSET); in mlx4_QUERY_HCA()
2153 MLX4_GET(byte_field, outbox, INIT_HCA_FS_A0_OFFSET); in mlx4_QUERY_HCA()
2157 MLX4_GET(param->mc_base, outbox, INIT_HCA_MC_BASE_OFFSET); in mlx4_QUERY_HCA()
2158 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_MC_ENTRY_SZ_OFFSET); in mlx4_QUERY_HCA()
2160 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_MC_HASH_SZ_OFFSET); in mlx4_QUERY_HCA()
2162 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_MC_TABLE_SZ_OFFSET); in mlx4_QUERY_HCA()
2167 MLX4_GET(byte_field, outbox, INIT_HCA_EQE_CQE_OFFSETS); in mlx4_QUERY_HCA()
2174 MLX4_GET(byte_field, outbox, INIT_HCA_EQE_CQE_STRIDE_OFFSET); in mlx4_QUERY_HCA()
2186 MLX4_GET(param->dmpt_base, outbox, INIT_HCA_DMPT_BASE_OFFSET); in mlx4_QUERY_HCA()
2187 MLX4_GET(byte_field, outbox, INIT_HCA_TPT_MW_OFFSET); in mlx4_QUERY_HCA()
2189 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_MPT_SZ_OFFSET); in mlx4_QUERY_HCA()
2191 MLX4_GET(param->mtt_base, outbox, INIT_HCA_MTT_BASE_OFFSET); in mlx4_QUERY_HCA()
2192 MLX4_GET(param->cmpt_base, outbox, INIT_HCA_CMPT_BASE_OFFSET); in mlx4_QUERY_HCA()
2196 MLX4_GET(param->uar_page_sz, outbox, INIT_HCA_UAR_PAGE_SZ_OFFSET); in mlx4_QUERY_HCA()
2197 MLX4_GET(byte_field, outbox, INIT_HCA_LOG_UAR_SZ_OFFSET); in mlx4_QUERY_HCA()
2201 MLX4_GET(byte_field, outbox, INIT_HCA_CACHELINE_SZ_OFFSET); in mlx4_QUERY_HCA()
2232 MLX4_GET(dev->caps.hca_core_clock, outbox, QUERY_HCA_CORE_CLOCK_OFFSET); in mlx4_hca_core_clock_update()
2631 MLX4_GET(value[i], outbox, offset[i]); in mlx4_query_diag_counters()
2667 MLX4_GET(guid_hi, outbox, MOD_STAT_CFG_GUID_H); in mlx4_get_phys_port_id()
2668 MLX4_GET(guid_lo, outbox, MOD_STAT_CFG_GUID_L); in mlx4_get_phys_port_id()
2742 MLX4_GET(modifier, outbox, GET_OP_REQ_MODIFIER_OFFSET); in mlx4_opreq_action()
2743 MLX4_GET(token, outbox, GET_OP_REQ_TOKEN_OFFSET); in mlx4_opreq_action()
2744 MLX4_GET(type, outbox, GET_OP_REQ_TYPE_OFFSET); in mlx4_opreq_action()
2811 MLX4_GET(set_attr_mask, mailbox->buf, in mlx4_check_smp_firewall_active()
2816 MLX4_GET(getresp_attr_mask, mailbox->buf, in mlx4_check_smp_firewall_active()
2821 MLX4_GET(trap_attr_mask, mailbox->buf, in mlx4_check_smp_firewall_active()
2826 MLX4_GET(traprepress_attr_mask, mailbox->buf, in mlx4_check_smp_firewall_active()