Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c43 u64 out_param, u32 in_modifier, in hns_roce_cmd_mbox_post_hw() argument
47 return hr_dev->hw->post_mbox(hr_dev, in_param, out_param, in_modifier, in hns_roce_cmd_mbox_post_hw()
53 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_poll() argument
60 in_modifier, op_modifier, op, in __hns_roce_cmd_mbox_poll()
73 u64 out_param, unsigned long in_modifier, in hns_roce_cmd_mbox_poll() argument
79 ret = __hns_roce_cmd_mbox_poll(hr_dev, in_param, out_param, in_modifier, in hns_roce_cmd_mbox_poll()
105 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_wait() argument
129 in_modifier, op_modifier, op, in __hns_roce_cmd_mbox_wait()
157 u64 out_param, unsigned long in_modifier, in hns_roce_cmd_mbox_wait() argument
163 ret = __hns_roce_cmd_mbox_wait(hr_dev, in_param, out_param, in_modifier, in hns_roce_cmd_mbox_wait()
[all …]
Dhns_roce_cmd.h143 unsigned long in_modifier, u8 op_modifier, u16 op,
Dhns_roce_device.h900 u64 out_param, u32 in_modifier, u8 op_modifier, u16 op,
Dhns_roce_hw_v2.c2808 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_mbox_post() argument
2820 mb->cmd_tag = cpu_to_le32(in_modifier << 8 | op); in hns_roce_mbox_post()
2878 u64 out_param, u32 in_modifier, u8 op_modifier, in v2_post_mbox() argument
2895 ret = hns_roce_mbox_post(hr_dev, in_param, out_param, in_modifier, in v2_post_mbox()
Dhns_roce_hw_v1.c1685 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_v1_post_mbox() argument
1716 writel(in_modifier, hcr + 4); in hns_roce_v1_post_mbox()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c201 u32 in_modifier, in mthca_cmd_post_dbell() argument
213 __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]); in mthca_cmd_post_dbell()
233 u32 in_modifier, in mthca_cmd_post_hcr() argument
259 __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); in mthca_cmd_post_hcr()
278 u32 in_modifier, in mthca_cmd_post() argument
289 mthca_cmd_post_dbell(dev, in_param, out_param, in_modifier, in mthca_cmd_post()
292 err = mthca_cmd_post_hcr(dev, in_param, out_param, in_modifier, in mthca_cmd_post()
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
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c208 u8 in_modifier; in mlx4_QUERY_FUNC() local
226 in_modifier = slave; in mlx4_QUERY_FUNC()
228 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_modifier, 0, 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()
435 MLX4_PUT(outbox->buf, dev->caps.phys_port_id[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()
[all …]
Dcmd.c433 u32 in_modifier, u8 op_modifier, u16 op, u16 token, in mlx4_cmd_post() argument
484 __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2); 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
523 vhcr->in_modifier = cpu_to_be32(in_modifier); in mlx4_slave_cmd()
577 int out_is_imm, u32 in_modifier, u8 op_modifier, in mlx4_cmd_poll() argument
605 in_modifier, op_modifier, op, CMD_POLL_TOKEN, 0); in mlx4_cmd_poll()
678 int out_is_imm, u32 in_modifier, u8 op_modifier, in mlx4_cmd_wait() argument
705 in_modifier, op_modifier, op, context->token, 1); in mlx4_cmd_wait()
742 (in_modifier == 1 || in_modifier == 2) && in mlx4_cmd_wait()
[all …]
Dresource_tracker.c2303 switch (vhcr->in_modifier & 0xFF) { in mlx4_ALLOC_RES_wrapper()
2332 (vhcr->in_modifier >> 8) & 0xFF); in mlx4_ALLOC_RES_wrapper()
2338 (vhcr->in_modifier >> 8) & 0xFF); in mlx4_ALLOC_RES_wrapper()
2617 switch (vhcr->in_modifier & 0xFF) { in mlx4_FREE_RES_wrapper()
2646 (vhcr->in_modifier >> 8) & 0xFF); in mlx4_FREE_RES_wrapper()
2652 (vhcr->in_modifier >> 8) & 0xFF); in mlx4_FREE_RES_wrapper()
2762 int index = vhcr->in_modifier; in mlx4_SW2HW_MPT_wrapper()
2845 int index = vhcr->in_modifier; in mlx4_HW2SW_MPT_wrapper()
2877 int index = vhcr->in_modifier; in mlx4_QUERY_MPT_wrapper()
2938 u32 qpn = vhcr->in_modifier & 0xffffff; in adjust_proxy_tun_qkey()
[all …]
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()
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()
Deq.c883 u32 in_modifier = vhcr->in_modifier; in mlx4_MAP_EQ_wrapper() local
884 u32 eqn = in_modifier & 0x3FF; in mlx4_MAP_EQ_wrapper()
890 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper()
896 event_eq[i].eqn = in_modifier >> 31 ? -1 : eqn; in mlx4_MAP_EQ_wrapper()
Dqp.c250 u32 in_modifier = RES_QP | (((u32)usage & 3) << 30); in mlx4_qp_reserve_range() local
262 in_modifier, RES_OP_RESERVE, in mlx4_qp_reserve_range()
Dmlx4.h177 u32 in_modifier; member
187 __be32 in_modifier; member
Dmcg.c1566 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper()
Dmain.c2598 u32 in_modifier = RES_COUNTER | (((u32)usage & 3) << 30); in mlx4_counter_alloc() local
2603 err = mlx4_cmd_imm(dev, 0, &out_param, in_modifier, in mlx4_counter_alloc()
/drivers/infiniband/hw/mlx4/
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()