Home
last modified time | relevance | path

Searched refs:mlx5_core_access_reg (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c77 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg() function
84 EXPORT_SYMBOL_GPL(mlx5_core_access_reg);
95 return mlx5_core_access_reg(dev, in, sz, pcam, sz, MLX5_REG_PCAM, 0, 0); in mlx5_query_pcam_reg()
107 return mlx5_core_access_reg(dev, in, sz, mcam, sz, MLX5_REG_MCAM, 0, 0); in mlx5_query_mcam_reg()
119 return mlx5_core_access_reg(mdev, in, sz, qcam, sz, MLX5_REG_QCAM, 0, 0); in mlx5_query_qcam_reg()
141 return mlx5_core_access_reg(dev, &in, sizeof(in), &out, in mlx5_set_port_caps()
153 return mlx5_core_access_reg(dev, in, sizeof(in), ptys, in mlx5_query_port_ptys()
165 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_set_port_beacon()
208 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_set_port_admin_status()
221 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_query_port_admin_status()
[all …]
Dhwmon.c49 return mlx5_core_access_reg(mdev, mtmp_in, sizeof(mtmp_in), in mlx5_hwmon_query_mtmp()
62 return mlx5_core_access_reg(mdev, mtmp_in, sizeof(mtmp_in), in mlx5_hwmon_reset_max_temp()
78 return mlx5_core_access_reg(mdev, mtmp_in, sizeof(mtmp_in), in mlx5_hwmon_enable_max_temp()
273 err = mlx5_core_access_reg(mdev, mtcap_in, sizeof(mtcap_in), in mlx5_hwmon_get_sensors_count()
349 err = mlx5_core_access_reg(hwmon->mdev, mtcap_in, sizeof(mtcap_in), in mlx5_hwmon_dev_init()
Dfw.c413 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcc_set()
429 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcc_query()
467 err = mlx5_core_access_reg(dev, in, in_size, out, in mlx5_reg_mcda_set()
487 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcqi_query()
659 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_fsm_reactivate()
666 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_fsm_reactivate()
741 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcqs_query()
Den_stats.c885 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
904 return mlx5_core_access_reg(mdev, in, sz, ppcnt_ieee_802_3, in mlx5e_stats_get_ieee()
1040 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
1102 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
1130 if (mlx5_core_access_reg(mdev, in, sz, ppcnt_RFC_2819_counters, in mlx5e_stats_rmon_get()
1255 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1262 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1275 mlx5_core_access_reg(priv->mdev, in, sz, out, in mlx5e_get_link_ext_stats()
1289 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in fec_num_lanes()
1355 if (mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0)) in fec_set_block_stats()
[all …]
Dfw_reset.c93 return mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MFRL, 0, 1); in mlx5_reg_mfrl_set()
103 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MFRL, 0, 0); in mlx5_reg_mfrl_query()
Devents.c285 mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_pcie_event()
Dhealth.c790 mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MRTC, 0, 1); in mlx5_health_log_ts_update()
Den_dcbnl.c1228 if (mlx5_core_access_reg(mdev, in, sizeof(in), out, sizeof(out), in mlx5e_query_port_buffers_cell_size()
Dmain.c803 err = mlx5_core_access_reg(dev, &he_in, sizeof(he_in), in set_hca_ctrl()
Den_ethtool.c2211 err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in query_port_status_opcode()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c76 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_port_set_eth_ptys()
116 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 0); in mlx5e_port_query_pbmc()
133 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 1); in mlx5e_port_set_pbmc()
148 return mlx5_core_access_reg(mdev, in, sizeof(in), out, size_out, MLX5_REG_SBPR, 0, 0); in mlx5e_port_query_sbpr()
164 return mlx5_core_access_reg(mdev, in, sizeof(in), out, sizeof(out), MLX5_REG_SBPR, 0, 1); in mlx5e_port_set_sbpr()
178 return mlx5_core_access_reg(mdev, in, sizeof(in), out, size_out, MLX5_REG_SBCM, 0, 0); in mlx5e_port_query_sbcm()
208 return mlx5_core_access_reg(mdev, in, sizeof(in), out, sizeof(out), MLX5_REG_SBCM, 0, 1); in mlx5e_port_set_sbcm()
229 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_query_priority2buffer()
262 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_set_priority2buffer()
277 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 1); in mlx5e_port_set_priority2buffer()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c62 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fpga_access_reg()
77 return mlx5_core_access_reg(dev, in, sizeof(in), dev->caps.fpga, in mlx5_fpga_caps()
89 return mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fpga_ctrl_op()
131 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fpga_query()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c47 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_query_mtrc_caps()
90 return mlx5_core_access_reg(dev, in, sizeof(in), out, out_size, in mlx5_set_mtrc_caps_trace_owner()
298 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_tracer_read_strings_db()
319 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_tracer_read_strings_db()
351 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_arm()
782 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_set_mtrc_conf()
802 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_set_mtrc_ctrl()
867 return mlx5_core_access_reg(dev, in, size_in, out, sizeof(out), in mlx5_fw_tracer_set_core_dump_reg()
Drsc_dump.c113 err = mlx5_core_access_reg(dev, cmd->cmd, sizeof(cmd->cmd), cmd->cmd, in mlx5_rsc_dump_trigger()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dtout.c134 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_DTOR, 0, 0); in tout_query_dtor()
Dclock.c147 return mlx5_core_access_reg(dev, mtutc, size, out, sizeof(out), in mlx5_set_mtutc()
782 return mlx5_core_access_reg(mdev, in, sizeof(in), mtpps, in mlx5_query_mtpps_pin_mode()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmad.c165 err = mlx5_core_access_reg(dev, in, sz, out, in query_ib_ppcnt()
Dcounters.c313 ret = mlx5_core_access_reg(dev->mdev, in, sz, out, sz, MLX5_REG_PPCNT, in mlx5_ib_query_ext_ppcnt_counters()
Dmain.c812 return mlx5_core_access_reg(dev->mdev, &in, sizeof(in), node_desc, in mlx5_query_node_desc()
1512 err = mlx5_core_access_reg(dev->mdev, &in, sizeof(in), &out, in mlx5_ib_modify_device()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h1078 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in,