Home
last modified time | relevance | path

Searched refs:opmod (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dmad.c40 u16 opmod, u8 port) in mlx5_core_mad_ifc() argument
56 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_core_mad_ifc()
Dfs_cmd.c311 int opmod, int modify_mask, in mlx5_cmd_set_fte() argument
331 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte()
455 int opmod; in mlx5_cmd_update_fte() local
461 opmod = 1; in mlx5_cmd_update_fte()
463 return mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, group_id, fte); in mlx5_cmd_update_fte()
Dvport.c42 static int _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, in _mlx5_query_vport_state() argument
49 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in _mlx5_query_vport_state()
57 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() argument
61 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out)); in mlx5_query_vport_state()
66 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state() argument
74 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
Dmain.c407 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local
416 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode()
458 static int set_caps(struct mlx5_core_dev *dev, void *in, int in_sz, int opmod) in set_caps() argument
463 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
/Linux-v4.19/include/linux/mlx5/
Dvport.h45 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
46 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
Ddriver.h1103 u16 opmod, u8 port);
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dcq.c155 int cq_num, u32 opmod) in mlx4_MODIFY_CQ() argument
157 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, MLX4_CMD_MODIFY_CQ, in mlx4_MODIFY_CQ()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dqp.c4335 u8 opmod = 0; in finish_wqe() local
4338 mlx5_opcode | ((u32)opmod << 24)); in finish_wqe()