Home
last modified time | relevance | path

Searched refs:in_modifier (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/include/linux/mlx4/
H A Dcmd.h269 int out_is_imm, u32 in_modifier, u8 op_modifier,
273 static inline int mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, in mlx4_cmd() argument
277 return __mlx4_cmd(dev, in_param, NULL, 0, in_modifier, in mlx4_cmd()
283 u32 in_modifier, u8 op_modifier, u16 op, in mlx4_cmd_box() argument
286 return __mlx4_cmd(dev, in_param, &out_param, 0, in_modifier, in mlx4_cmd_box()
296 u32 in_modifier, u8 op_modifier, u16 op, in mlx4_cmd_imm() argument
299 return __mlx4_cmd(dev, in_param, out_param, 1, in_modifier, in mlx4_cmd_imm()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_cmd.c201 u32 in_modifier, in mthca_cmd_post_dbell() argument
233 u32 in_modifier, in mthca_cmd_post_hcr() argument
278 u32 in_modifier, in mthca_cmd_post() argument
335 u32 in_modifier, in mthca_cmd_poll() argument
348 in_modifier, op_modifier, in mthca_cmd_poll()
410 u32 in_modifier, in mthca_cmd_wait() argument
431 in_modifier, op_modifier, in mthca_cmd_wait()
472 u32 in_modifier, in mthca_cmd_box() argument
490 u32 in_modifier, in mthca_cmd() argument
507 u32 in_modifier, in mthca_cmd_imm() argument
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.c208 u8 in_modifier; in mlx4_QUERY_FUNC() local
226 in_modifier = slave; in mlx4_QUERY_FUNC()
398 dev, slave, vhcr->in_modifier); in mlx4_QUERY_FUNC_CAP_wrapper()
404 vhcr->in_modifier = converted_port; in mlx4_QUERY_FUNC_CAP_wrapper()
406 field = vhcr->in_modifier - in mlx4_QUERY_FUNC_CAP_wrapper()
410 port = vhcr->in_modifier; in mlx4_QUERY_FUNC_CAP_wrapper()
492 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
500 size = vhcr->in_modifier & in mlx4_QUERY_FUNC_CAP_wrapper()
547 u32 in_modifier; in mlx4_QUERY_FUNC_CAP() local
1419 vhcr->in_modifier & 0xFF); in mlx4_QUERY_PORT_wrapper()
[all …]
H A Dcmd.c523 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd()
742 (in_modifier == 1 || in_modifier == 2) && in mlx4_cmd_wait()
790 out_is_imm, in_modifier, in __mlx4_cmd()
794 out_is_imm, in_modifier, in __mlx4_cmd()
801 in_modifier, op_modifier, op, timeout); in __mlx4_cmd()
911 slave_port = vhcr->in_modifier; in mlx4_MAD_IFC_wrapper()
974 vhcr->in_modifier, in mlx4_MAD_IFC_wrapper()
1021 vhcr->in_modifier, opcode_modifier, in mlx4_MAD_IFC_wrapper()
1700 vhcr->in_modifier = be32_to_cpu(vhcr_cmd->in_modifier); in mlx4_master_process_vhcr()
1746 vhcr->op, slave, vhcr->in_modifier); in mlx4_master_process_vhcr()
[all …]
H A Dresource_tracker.c3100 int eqn = vhcr->in_modifier; in mlx4_SW2HW_EQ_wrapper()
3307 int eqn = vhcr->in_modifier; in mlx4_HW2SW_EQ_wrapper()
3344 u32 in_modifier = 0; in mlx4_GEN_EQE() local
3413 int eqn = vhcr->in_modifier; in mlx4_QUERY_EQ_wrapper()
3441 int cqn = vhcr->in_modifier; in mlx4_SW2HW_CQ_wrapper()
3479 int cqn = vhcr->in_modifier; in mlx4_HW2SW_CQ_wrapper()
3503 int cqn = vhcr->in_modifier; in mlx4_QUERY_CQ_wrapper()
3575 int cqn = vhcr->in_modifier; in mlx4_MODIFY_CQ_wrapper()
3617 int srqn = vhcr->in_modifier; in mlx4_SW2HW_SRQ_wrapper()
4423 vhcr->in_modifier += in mlx4_QP_FLOW_STEERING_ATTACH_wrapper()
[all …]
H A Dport.c1345 u32 in_modifier; in mlx4_common_set_port() local
1355 in_modifier = in_mod >> 8; in mlx4_common_set_port()
1364 in_modifier != MLX4_SET_PORT_GENERAL && in mlx4_common_set_port()
1365 in_modifier != MLX4_SET_PORT_GID_TABLE) { in mlx4_common_set_port()
1370 switch (in_modifier) { in mlx4_common_set_port()
1547 dev, slave, vhcr->in_modifier & 0xFF); in mlx4_SET_PORT_wrapper()
1552 vhcr->in_modifier = (vhcr->in_modifier & ~0xFF) | in mlx4_SET_PORT_wrapper()
1555 return mlx4_common_set_port(dev, slave, vhcr->in_modifier, in mlx4_SET_PORT_wrapper()
H A Dcq.c246 u32 in_modifier = RES_CQ | (((u32)usage & 3) << 30); in mlx4_cq_alloc_icm() local
251 err = mlx4_cmd_imm(dev, 0, &out_param, in_modifier, in mlx4_cq_alloc_icm()
H A Deq.c884 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper() local
885 u32 eqn = in_modifier & 0x3FF; in mlx4_MAP_EQ_wrapper()
891 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper()
897 event_eq[i].eqn = in_modifier >> 31 ? -1 : eqn; in mlx4_MAP_EQ_wrapper()
H A Dqp.c255 u32 in_modifier = RES_QP | (((u32)usage & 3) << 30); in mlx4_qp_reserve_range() local
267 in_modifier, RES_OP_RESERVE, in mlx4_qp_reserve_range()
H A Dmlx4.h179 u32 in_modifier; member
189 __be32 in_modifier; member
H A Dmcg.c1566 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper()
H A Dmain.c2623 u32 in_modifier = RES_COUNTER | (((u32)usage & 3) << 30); in mlx4_counter_alloc() local
2628 err = mlx4_cmd_imm(dev, 0, &out_param, in_modifier, in mlx4_counter_alloc()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c116 u32 in_modifier = port; in mlx4_MAD_IFC() local
172 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16; in mlx4_MAD_IFC()
175 err = mlx4_cmd_box(dev->dev, inmailbox->dma, outmailbox->dma, in_modifier, in mlx4_MAD_IFC()