/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_cmd.c | 44 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 …]
|
D | hns_roce_cmd.h | 143 unsigned long in_modifier, u8 op_modifier, u16 op,
|
D | hns_roce_device.h | 937 u64 out_param, u32 in_modifier, u8 op_modifier, u16 op,
|
D | hns_roce_hw_v2.c | 2061 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()
|
D | hns_roce_hw_v1.c | 1676 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/ |
D | cmd.h | 269 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/ |
D | mthca_cmd.c | 201 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/ |
D | fw.c | 208 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 …]
|
D | cmd.c | 433 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 …]
|
D | resource_tracker.c | 2303 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 …]
|
D | port.c | 1345 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()
|
D | cq.c | 246 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()
|
D | eq.c | 883 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()
|
D | qp.c | 250 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()
|
D | mlx4.h | 177 u32 in_modifier; member 187 __be32 in_modifier; member
|
D | mcg.c | 1566 enum mlx4_steer_type steer = vhcr->in_modifier; in mlx4_PROMISC_wrapper()
|
D | main.c | 2593 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/ |
D | mad.c | 116 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()
|