/Linux-v5.4/include/linux/mlx5/ |
D | vport.h | 66 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport); 67 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | cq.c | 147 int cq_num, u8 opmod) in mlx4_SW2HW_CQ() argument 149 return mlx4_cmd(dev, mailbox->dma, cq_num, opmod, in mlx4_SW2HW_CQ() 155 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-v5.4/drivers/infiniband/hw/mlx5/ |
D | cmd.h | 67 u16 opmod, u8 port);
|
D | cmd.c | 350 u16 opmod, u8 port) in mlx5_cmd_mad_ifc() argument 366 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
|
D | qp.c | 4939 u8 opmod = 0; in finish_wqe() local 4942 mlx5_opcode | ((u32)opmod << 24)); in finish_wqe()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 400 int opmod, int modify_mask, in mlx5_cmd_set_fte() argument 430 MLX5_SET(set_fte_in, in, op_mod, opmod); in mlx5_cmd_set_fte() 584 int opmod; in mlx5_cmd_update_fte() local 591 opmod = 1; in mlx5_cmd_update_fte() 593 return mlx5_cmd_set_fte(dev, opmod, modify_mask, ft, fg->id, fte); in mlx5_cmd_update_fte()
|
D | vport.c | 43 static int _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, in _mlx5_query_vport_state() argument 50 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in _mlx5_query_vport_state() 58 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) in mlx5_query_vport_state() argument 62 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out)); in mlx5_query_vport_state() 67 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, in mlx5_modify_vport_admin_state() argument 75 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
|
D | main.c | 358 u16 opmod = (cap_type << 1) | (cap_mode & 0x01); in mlx5_core_get_caps_mode() local 367 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps_mode() 409 static int set_caps(struct mlx5_core_dev *dev, void *in, int in_sz, int opmod) in set_caps() argument 414 MLX5_SET(set_hca_cap_in, in, op_mod, opmod << 1); in set_caps()
|