/linux-6.12.1/include/linux/mlx4/ |
D | cmd.h | 269 int out_is_imm, u32 in_modifier, u8 op_modifier, 274 u8 op_modifier, u16 op, unsigned long timeout, in mlx4_cmd() argument 278 op_modifier, op, timeout, native); in mlx4_cmd() 283 u32 in_modifier, u8 op_modifier, u16 op, in mlx4_cmd_box() argument 287 op_modifier, op, timeout, native); in mlx4_cmd_box() 296 u32 in_modifier, u8 op_modifier, u16 op, in mlx4_cmd_imm() argument 300 op_modifier, op, timeout, native); in mlx4_cmd_imm()
|
D | device.h | 1426 int mlx4_query_diag_counters(struct mlx4_dev *dev, u8 op_modifier,
|
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 202 u8 op_modifier, in mthca_cmd_post_dbell() argument 223 (op_modifier << HCR_OPMOD_SHIFT) | in mthca_cmd_post_dbell() 234 u8 op_modifier, in mthca_cmd_post_hcr() argument 269 (op_modifier << HCR_OPMOD_SHIFT) | in mthca_cmd_post_hcr() 279 u8 op_modifier, in mthca_cmd_post() argument 290 op_modifier, op, token); in mthca_cmd_post() 293 op_modifier, op, token, event); in mthca_cmd_post() 336 u8 op_modifier, in mthca_cmd_poll() argument 348 in_modifier, op_modifier, in mthca_cmd_poll() 411 u8 op_modifier, in mthca_cmd_wait() argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 190 u8 op_modifier) in mlx4_internal_err_ret_value() argument 209 if (op_modifier == 0) in mlx4_internal_err_ret_value() 241 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow() argument 249 err = mlx4_internal_err_ret_value(dev, op, op_modifier); in mlx4_cmd_reset_flow() 433 u32 in_modifier, u8 op_modifier, u16 op, u16 token, in mlx4_cmd_post() argument 495 (op_modifier << HCR_OPMOD_SHIFT) | in mlx4_cmd_post() 505 op, ret, in_param, in_modifier, op_modifier); in mlx4_cmd_post() 512 int out_is_imm, u32 in_modifier, u8 op_modifier, in mlx4_slave_cmd() argument 524 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd() 546 ret = mlx4_internal_err_ret_value(dev, op, op_modifier); in mlx4_slave_cmd() [all …]
|
D | resource_tracker.c | 2301 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper() 2305 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2310 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2315 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2320 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2325 err = srq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2330 err = mac_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2336 err = vlan_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2342 err = counter_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() 2347 err = xrcdn_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper() [all …]
|
D | fw.c | 394 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper() 450 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper() 544 u8 field, op_modifier; in mlx4_QUERY_FUNC_CAP() local 550 op_modifier = !!gen_or_port; /* 0 = general, 1 = logical port */ in mlx4_QUERY_FUNC_CAP() 553 in_modifier = op_modifier ? gen_or_port : slave_caps; in mlx4_QUERY_FUNC_CAP() 559 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_modifier, op_modifier, in mlx4_QUERY_FUNC_CAP() 567 if (!op_modifier) { in mlx4_QUERY_FUNC_CAP() 1432 if (vhcr->op_modifier || vhcr->in_modifier & ~0xFF) in mlx4_QUERY_PORT_wrapper() 2604 int mlx4_query_diag_counters(struct mlx4_dev *dev, u8 op_modifier, in mlx4_query_diag_counters() argument 2619 ret = mlx4_cmd_box(dev, 0, mailbox->dma, port, op_modifier, in mlx4_query_diag_counters()
|
D | mlx4.h | 183 u8 op_modifier; member
|
D | mcg.c | 1575 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
|
D | port.c | 1556 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | mad.c | 59 u8 op_modifier = 0; in mlx5_MAD_IFC() local 68 op_modifier |= 0x1; in mlx5_MAD_IFC() 70 op_modifier |= 0x2; in mlx5_MAD_IFC() 72 return mlx5_cmd_mad_ifc(dev, in_mad, response_mad, op_modifier, in mlx5_MAD_IFC()
|
/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | mad.c | 117 u8 op_modifier = 0; in mlx4_MAD_IFC() local 137 op_modifier |= 0x1; in mlx4_MAD_IFC() 139 op_modifier |= 0x2; in mlx4_MAD_IFC() 142 op_modifier |= 0x8; in mlx4_MAD_IFC() 170 op_modifier |= 0x4; in mlx4_MAD_IFC() 176 mlx4_is_master(dev->dev) ? (op_modifier & ~0x8) : op_modifier, in mlx4_MAD_IFC() 178 (op_modifier & 0x8) ? MLX4_CMD_NATIVE : MLX4_CMD_WRAPPED); in mlx4_MAD_IFC()
|