Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c36 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg() function
72 EXPORT_SYMBOL_GPL(mlx5_core_access_reg);
83 return mlx5_core_access_reg(dev, in, sz, pcam, sz, MLX5_REG_PCAM, 0, 0); in mlx5_query_pcam_reg()
95 return mlx5_core_access_reg(dev, in, sz, mcam, sz, MLX5_REG_MCAM, 0, 0); in mlx5_query_mcam_reg()
107 return mlx5_core_access_reg(mdev, in, sz, qcam, sz, MLX5_REG_QCAM, 0, 0); in mlx5_query_qcam_reg()
129 return mlx5_core_access_reg(dev, &in, sizeof(in), &out, in mlx5_set_port_caps()
141 return mlx5_core_access_reg(dev, in, sizeof(in), ptys, in mlx5_query_port_ptys()
153 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_set_port_beacon()
196 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_set_port_admin_status()
209 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_query_port_admin_status()
[all …]
Dfw.c386 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcc_set()
402 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcc_query()
440 err = mlx5_core_access_reg(dev, in, in_size, out, in mlx5_reg_mcda_set()
460 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcqi_query()
631 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_fsm_reactivate()
638 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_fsm_reactivate()
713 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcqs_query()
Den_stats.c693 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
714 mlx5_core_access_reg(mdev, in, sz, ppcnt_ieee_802_3, in mlx5e_stats_pause_get()
771 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
833 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
933 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
940 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
997 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1098 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_MPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1193 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in mlx5e_grp_per_tc_prio_update_stats()
1224 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in mlx5e_grp_per_tc_congest_prio_update_stats()
[all …]
Dfw_reset.c56 return mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MFRL, 0, 1); in mlx5_reg_mfrl_set()
65 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MFRL, 0, 0); in mlx5_reg_mfrl_query()
Devents.c278 mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_pcie_event()
Den_dcbnl.c1234 if (mlx5_core_access_reg(mdev, in, sizeof(in), out, sizeof(out), in mlx5e_query_port_buffers_cell_size()
Dmain.c652 err = mlx5_core_access_reg(dev, &he_in, sizeof(he_in), in set_hca_ctrl()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c171 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_port_set_eth_ptys()
267 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 0); in mlx5e_port_query_pbmc()
284 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PBMC, 0, 1); in mlx5e_port_set_pbmc()
308 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_query_priority2buffer()
341 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 0); in mlx5e_port_set_priority2buffer()
356 err = mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPTB, 0, 1); in mlx5e_port_set_priority2buffer()
482 err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in mlx5e_fec_in_caps()
516 err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in mlx5e_get_fec_mode()
561 err = mlx5_core_access_reg(dev, in, sz, out, sz, MLX5_REG_PPLM, 0, 0); in mlx5e_set_fec_mode()
593 return mlx5_core_access_reg(dev, out, sz, out, sz, MLX5_REG_PPLM, 0, 1); in mlx5e_set_fec_mode()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
89 return mlx5_core_access_reg(dev, in, sizeof(in), out, out_size, in mlx5_set_mtrc_caps_trace_owner()
293 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_tracer_read_strings_db()
314 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_tracer_read_strings_db()
346 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_arm()
750 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_set_mtrc_conf()
769 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_set_mtrc_ctrl()
835 return mlx5_core_access_reg(dev, in, size_in, out, sizeof(out), in mlx5_fw_tracer_set_core_dump_reg()
Drsc_dump.c95 err = mlx5_core_access_reg(dev, cmd->cmd, sizeof(cmd->cmd), cmd->cmd, in mlx5_rsc_dump_trigger()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcounters.c230 ret = mlx5_core_access_reg(dev->mdev, in, sz, out, sz, MLX5_REG_PPCNT, in mlx5_ib_query_ext_ppcnt_counters()
Dmain.c775 return mlx5_core_access_reg(dev->mdev, &in, sizeof(in), node_desc, in mlx5_query_node_desc()
1476 err = mlx5_core_access_reg(dev->mdev, &in, sizeof(in), &out, in mlx5_ib_modify_device()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c464 return mlx5_core_access_reg(mdev, in, sizeof(in), mtpps, in mlx5_query_mtpps_pin_mode()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h990 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in,