/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | cmd.c | 223 data->rx_ack_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters() 225 data->rx_send_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters() 227 data->tx_ack_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters() 229 data->tx_send_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters() 231 data->rx_total_drop = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.h | 286 #define VPORT_COUNTER_GET(vstats, c) MLX5_GET64(query_vport_counter_out, \ 294 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \ 297 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \ 300 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \ 303 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \ 306 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \ 310 MLX5_GET64(ppcnt_reg, (pstats)->eth_ext_counters, \ 330 MLX5_GET64(mpcnt_reg, (pcie_stats)->pcie_perf_counters, \
|
H A D | vport.c | 435 *system_image_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_system_image_guid() 454 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid() 1017 *rx_discard_vport_down = MLX5_GET64(query_vnic_env_out, out, in mlx5_query_vport_down_stats() 1019 *tx_discard_vport_down = MLX5_GET64(query_vnic_env_out, out, in mlx5_query_vport_down_stats()
|
H A D | fs_counters.c | 166 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache() 167 u64 bytes = MLX5_GET64(traffic_counter, stats, octets); in update_counter_cache()
|
H A D | pagealloc.c | 426 free_4k(dev, MLX5_GET64(manage_pages_in, in, pas[i]), function); in give_pages() 571 free_4k(dev, MLX5_GET64(manage_pages_out, out, pas[i]), function); in reclaim_pages()
|
H A D | hwmon.c | 356 mlx5_hwmon_init_sensors_indexes(hwmon, MLX5_GET64(mtcap_reg, mtcap_out, sensor_map)); in mlx5_hwmon_dev_init()
|
H A D | fs_cmd.c | 847 *packets = MLX5_GET64(traffic_counter, stats, packets); in mlx5_cmd_fc_query() 848 *bytes = MLX5_GET64(traffic_counter, stats, octets); in mlx5_cmd_fc_query()
|
H A D | en_rep.c | 204 MLX5_GET64(query_vport_counter_out, p, x) in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
|
H A D | eswitch.c | 2145 MLX5_GET64(query_vport_counter_out, p, x) in mlx5_eswitch_get_vport_stats()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | device.h | 121 #define MLX5_GET64(typ, p, fld) be64_to_cpu(*((__be64 *)(p) + __mlx5_64_off(typ, fld))) macro 124 u64 ___t = MLX5_GET64(typ, p, fld); \ 1264 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap) 1273 MLX5_GET64(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap) 1302 MLX5_GET64(flow_table_nic_cap, (mdev)->caps.hca[MLX5_CAP_FLOW_TABLE]->cur, cap) 1343 MLX5_GET64(flow_table_eswitch_cap, \ 1400 MLX5_GET64(fpga_cap, (mdev)->caps.fpga, cap) 1406 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap) 1419 MLX5_GET64(virtio_emulation_cap, \
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | std_types.c | 58 icm_rx = MLX5_GET64( in fill_vport_icm_addr() 62 icm_tx = MLX5_GET64( in fill_vport_icm_addr()
|
H A D | mad.c | 80 (MLX5_GET64(query_vport_counter_out, p, cntr1) + \ in pma_cnt_ext_assign() 81 MLX5_GET64(query_vport_counter_out, p, cntr2)) in pma_cnt_ext_assign()
|
H A D | dm.c | 79 MLX5_GET64(alloc_memic_out, out, memic_start_addr); in mlx5_cmd_alloc_memic() 146 MLX5_GET64(modify_memic_out, out, memic_operation_addr); in mlx5_cmd_alloc_memic_op()
|
H A D | srq_cmd.c | 65 in->db_record = MLX5_GET64(wq, wq, dbr_addr); in get_wq() 78 in->db_record = MLX5_GET64(srqc, srqc, dbr_addr); in get_srqc()
|
H A D | odp.c | 905 offset = io_virt - MLX5_GET64(query_mkey_out, out, in pagefault_single_data_segment()
|
H A D | qp.c | 1398 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_sq() 1486 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_rq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 26 MLX5_GET64(query_esw_vport_context_out, out, in mlx5dr_cmd_query_esw_vport_context() 29 MLX5_GET64(query_esw_vport_context_out, out, in mlx5dr_cmd_query_esw_vport_context() 253 output->sw_owner_icm_root_1 = MLX5_GET64(query_flow_table_out, out, in mlx5dr_cmd_query_flow_table() 255 output->sw_owner_icm_root_0 = MLX5_GET64(query_flow_table_out, out, in mlx5dr_cmd_query_flow_table() 283 *rx_icm_addr = MLX5_GET64(sampler_obj, attr, in mlx5dr_cmd_query_flow_sampler() 285 *tx_icm_addr = MLX5_GET64(sampler_obj, attr, in mlx5dr_cmd_query_flow_sampler()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | reporter_vnic.c | 9 MLX5_GET64(query_vnic_env_out, (vnic_env_stats)->query_vnic_env_out, \
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_offload.c | 265 modify_field_select = MLX5_GET64(ipsec_obj, obj, modify_field_select); in mlx5_modify_ipsec_obj()
|
H A D | macsec.c | 1328 modify_field_select = MLX5_GET64(macsec_offload_obj, obj, modify_field_select); in mlx5e_macsec_modify_obj()
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 3086 *received_desc = MLX5_GET64(virtio_q_counters, ctx, received_desc); in counter_set_query() 3087 *completed_desc = MLX5_GET64(virtio_q_counters, ctx, completed_desc); in counter_set_query()
|