Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
Dfw.c419 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcc_set()
435 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcc_query()
473 err = mlx5_core_access_reg(dev, in, in_size, out, in mlx5_reg_mcda_set()
493 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcqi_query()
665 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_fsm_reactivate()
672 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_fsm_reactivate()
747 err = mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_reg_mcqs_query()
Den_stats.c864 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
883 return mlx5_core_access_reg(mdev, in, sz, ppcnt_ieee_802_3, in mlx5e_stats_get_ieee()
1019 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
1081 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0);
1109 if (mlx5_core_access_reg(mdev, in, sz, ppcnt_RFC_2819_counters, in mlx5e_stats_rmon_get()
1234 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1241 mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
1251 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in fec_num_lanes()
1317 if (mlx5_core_access_reg(mdev, in, sz, out, sz, MLX5_REG_PPCNT, 0, 0)) in fec_set_block_stats()
1341 if (mlx5_core_access_reg(mdev, in, sz, ppcnt_phy_statistical, in fec_set_corrected_bits_total()
[all …]
Dfw_reset.c59 return mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MFRL, 0, 1); in mlx5_reg_mfrl_set()
69 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.c803 mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_MRTC, 0, 1); in mlx5_health_log_ts_update()
Den_dcbnl.c1225 if (mlx5_core_access_reg(mdev, in, sizeof(in), out, sizeof(out), in mlx5e_query_port_buffers_cell_size()
Dmain.c768 err = mlx5_core_access_reg(dev, &he_in, sizeof(he_in), in set_hca_ctrl()
Den_ethtool.c2207 err = mlx5_core_access_reg(mdev, in, sizeof(in), out, in query_port_status_opcode()
/linux-6.1.9/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()
/linux-6.1.9/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.1.9/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()
754 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_set_mtrc_conf()
773 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fw_tracer_set_mtrc_ctrl()
839 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.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dtout.c132 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), MLX5_REG_DTOR, 0, 0); in tout_query_dtor()
Dclock.c96 return mlx5_core_access_reg(dev, mtutc, size, out, sizeof(out), in mlx5_set_mtutc()
715 return mlx5_core_access_reg(mdev, in, sizeof(in), mtpps, in mlx5_query_mtpps_pin_mode()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmad.c165 err = mlx5_core_access_reg(dev, in, sz, out, in query_ib_ppcnt()
Dcounters.c259 ret = mlx5_core_access_reg(dev->mdev, in, sz, out, sz, MLX5_REG_PPCNT, in mlx5_ib_query_ext_ppcnt_counters()
Dmain.c793 return mlx5_core_access_reg(dev->mdev, &in, sizeof(in), node_desc, in mlx5_query_node_desc()
1493 err = mlx5_core_access_reg(dev->mdev, &in, sizeof(in), &out, in mlx5_ib_modify_device()
/linux-6.1.9/include/linux/mlx5/
Ddriver.h1063 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in,