Home
last modified time | relevance | path

Searched refs:op_modifier (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/dev/mlx4/
H A Dcmd.h269 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()
H A Ddevice.h1407 int mlx4_query_diag_counters(struct mlx4_dev *dev, u8 op_modifier,
/freebsd/sys/dev/mthca/
H A Dmthca_cmd.c201 u8 op_modifier, in mthca_cmd_post_dbell() argument
222 (op_modifier << HCR_OPMOD_SHIFT) | in mthca_cmd_post_dbell()
233 u8 op_modifier, in mthca_cmd_post_hcr() argument
268 (op_modifier << HCR_OPMOD_SHIFT) | in mthca_cmd_post_hcr()
278 u8 op_modifier, in mthca_cmd_post() argument
289 op_modifier, op, token); in mthca_cmd_post()
292 op_modifier, op, token, event); in mthca_cmd_post()
339 u8 op_modifier, in mthca_cmd_poll() argument
351 in_modifier, op_modifier, in mthca_cmd_poll()
410 u8 op_modifier, in mthca_cmd_wait() argument
[all …]
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c189 u8 op_modifier) in mlx4_internal_err_ret_value() argument
208 if (op_modifier == 0) in mlx4_internal_err_ret_value()
240 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow() argument
248 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()
511 op, ret, (long long)in_param, in_modifier, op_modifier); in mlx4_cmd_post()
518 int out_is_imm, u32 in_modifier, u8 op_modifier, in mlx4_slave_cmd() argument
530 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
552 ret = mlx4_internal_err_ret_value(dev, op, op_modifier); in mlx4_slave_cmd()
[all …]
H A Dmlx4_resource_tracker.c2248 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper()
2252 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2257 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2262 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2267 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2272 err = srq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2277 err = mac_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2283 err = vlan_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2289 err = counter_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2294 err = xrcdn_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
[all …]
H A Dmlx4_fw.c393 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper()
449 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper()
543 u8 field, op_modifier; in mlx4_QUERY_FUNC_CAP() local
549 op_modifier = !!gen_or_port; /* 0 = general, 1 = logical port */ in mlx4_QUERY_FUNC_CAP()
552 in_modifier = op_modifier ? gen_or_port : slave_caps; in mlx4_QUERY_FUNC_CAP()
558 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_modifier, op_modifier, in mlx4_QUERY_FUNC_CAP()
566 if (!op_modifier) { in mlx4_QUERY_FUNC_CAP()
1415 if (vhcr->op_modifier || vhcr->in_modifier & ~0xFF) in mlx4_QUERY_PORT_wrapper()
2569 int mlx4_query_diag_counters(struct mlx4_dev *dev, u8 op_modifier, in mlx4_query_diag_counters() argument
2584 ret = mlx4_cmd_box(dev, 0, mailbox->dma, port, op_modifier, in mlx4_query_diag_counters()
H A Dmlx4.h182 u8 op_modifier; member
H A Dmlx4_mcg.c1574 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
H A Dmlx4_port.c1492 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mad.c44 u8 op_modifier = 0; in mlx5_MAD_IFC() local
50 op_modifier |= 0x1; in mlx5_MAD_IFC()
52 op_modifier |= 0x2; in mlx5_MAD_IFC()
54 return mlx5_core_mad_ifc(dev->mdev, in_mad, response_mad, op_modifier, port); in mlx5_MAD_IFC()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c115 u8 op_modifier = 0; in mlx4_MAD_IFC() local
135 op_modifier |= 0x1; in mlx4_MAD_IFC()
137 op_modifier |= 0x2; in mlx4_MAD_IFC()
140 op_modifier |= 0x8; in mlx4_MAD_IFC()
168 op_modifier |= 0x4; in mlx4_MAD_IFC()
174 mlx4_is_master(dev->dev) ? (op_modifier & ~0x8) : op_modifier, in mlx4_MAD_IFC()
176 (op_modifier & 0x8) ? MLX4_CMD_NATIVE : MLX4_CMD_WRAPPED); in mlx4_MAD_IFC()