Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c44 u64 out_param, u32 in_modifier, in hns_roce_cmd_mbox_post_hw() argument
52 ret = hr_dev->hw->post_mbox(hr_dev, in_param, out_param, in_modifier, in hns_roce_cmd_mbox_post_hw()
61 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_poll() argument
69 in_modifier, op_modifier, op, in __hns_roce_cmd_mbox_poll()
80 u64 out_param, unsigned long in_modifier, in hns_roce_cmd_mbox_poll() argument
86 ret = __hns_roce_cmd_mbox_poll(hr_dev, in_param, out_param, in_modifier, in hns_roce_cmd_mbox_poll()
109 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_wait() argument
128 in_modifier, op_modifier, op, in __hns_roce_cmd_mbox_wait()
161 u64 out_param, unsigned long in_modifier, in hns_roce_cmd_mbox_wait() argument
168 in_modifier, op_modifier, op, timeout); in hns_roce_cmd_mbox_wait()
[all …]
Dhns_roce_cmd.h143 unsigned long in_modifier, u8 op_modifier, u16 op,
Dhns_roce_device.h937 u64 out_param, u32 in_modifier, u8 op_modifier, u16 op,
Dhns_roce_hw_v2.c2061 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_mbox_post() argument
2073 mb->cmd_tag = cpu_to_le32(in_modifier << 8 | op); in hns_roce_mbox_post()
2080 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_v2_post_mbox() argument
2097 ret = hns_roce_mbox_post(hr_dev, in_param, out_param, in_modifier, in hns_roce_v2_post_mbox()
Dhns_roce_hw_v1.c1676 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_v1_post_mbox() argument
1707 writel(in_modifier, hcr + 4); in hns_roce_v1_post_mbox()
/Linux-v5.4/include/linux/mlx4/
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()
/Linux-v5.4/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 …]
/Linux-v5.4/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()
2761 int index = vhcr->in_modifier; in mlx4_SW2HW_MPT_wrapper()
2844 int index = vhcr->in_modifier; in mlx4_HW2SW_MPT_wrapper()
2876 int index = vhcr->in_modifier; in mlx4_QUERY_MPT_wrapper()
2937 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.c2593 u32 in_modifier = RES_COUNTER | (((u32)usage & 3) << 30); in mlx4_counter_alloc() local
2598 err = mlx4_cmd_imm(dev, 0, &out_param, in_modifier, in mlx4_counter_alloc()
/Linux-v5.4/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()