Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c45 u8 op_modifier, u16 op, u16 token, in hns_roce_cmd_mbox_post_hw() argument
53 op_modifier, op, token, event); in hns_roce_cmd_mbox_post_hw()
62 u8 op_modifier, u16 op, in __hns_roce_cmd_mbox_poll() argument
69 in_modifier, op_modifier, op, in __hns_roce_cmd_mbox_poll()
81 u8 op_modifier, u16 op, unsigned long timeout) in hns_roce_cmd_mbox_poll() argument
87 op_modifier, op, timeout); in hns_roce_cmd_mbox_poll()
110 u8 op_modifier, u16 op, in __hns_roce_cmd_mbox_wait() argument
128 in_modifier, op_modifier, op, in __hns_roce_cmd_mbox_wait()
162 u8 op_modifier, u16 op, unsigned long timeout) in hns_roce_cmd_mbox_wait() argument
168 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.h897 u64 out_param, u32 in_modifier, u8 op_modifier, u16 op,
Dhns_roce_hw_v2.c2578 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_mbox_post() argument
2597 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_v2_post_mbox() argument
2615 op_modifier, op, token, event); in hns_roce_v2_post_mbox()
Dhns_roce_hw_v1.c1677 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_v1_post_mbox() argument
1699 ROCEE_MB6_ROCEE_MB_CMD_MDF_S, op_modifier); in hns_roce_v1_post_mbox()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c202 u8 op_modifier, in mthca_cmd_post_dbell() argument
223 (op_modifier << HCR_OPMOD_SHIFT) | in mthca_cmd_post_dbell()
234 u8 op_modifier, in mthca_cmd_post_hcr() argument
269 (op_modifier << HCR_OPMOD_SHIFT) | in mthca_cmd_post_hcr()
279 u8 op_modifier, in mthca_cmd_post() argument
290 op_modifier, op, token); in mthca_cmd_post()
293 op_modifier, op, token, event); in mthca_cmd_post()
336 u8 op_modifier, in mthca_cmd_poll() argument
348 in_modifier, op_modifier, in mthca_cmd_poll()
411 u8 op_modifier, in mthca_cmd_wait() argument
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c190 u8 op_modifier) in mlx4_internal_err_ret_value() argument
209 if (op_modifier == 0) in mlx4_internal_err_ret_value()
241 static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, in mlx4_cmd_reset_flow() argument
249 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()
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
524 vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); in mlx4_slave_cmd()
546 ret = mlx4_internal_err_ret_value(dev, op, op_modifier); in mlx4_slave_cmd()
[all …]
Dresource_tracker.c2301 int alop = vhcr->op_modifier; in mlx4_ALLOC_RES_wrapper()
2305 err = qp_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2310 err = mtt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2315 err = mpt_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2320 err = cq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2325 err = srq_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2330 err = mac_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2336 err = vlan_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2342 err = counter_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
2347 err = xrcdn_alloc_res(dev, slave, vhcr->op_modifier, alop, in mlx4_ALLOC_RES_wrapper()
[all …]
Dfw.c394 if (vhcr->op_modifier == 1) { in mlx4_QUERY_FUNC_CAP_wrapper()
450 } else if (vhcr->op_modifier == 0) { in mlx4_QUERY_FUNC_CAP_wrapper()
544 u8 field, op_modifier; in mlx4_QUERY_FUNC_CAP() local
550 op_modifier = !!gen_or_port; /* 0 = general, 1 = logical port */ in mlx4_QUERY_FUNC_CAP()
553 in_modifier = op_modifier ? gen_or_port : slave_caps; in mlx4_QUERY_FUNC_CAP()
559 err = mlx4_cmd_box(dev, 0, mailbox->dma, in_modifier, op_modifier, in mlx4_QUERY_FUNC_CAP()
567 if (!op_modifier) { in mlx4_QUERY_FUNC_CAP()
1432 if (vhcr->op_modifier || vhcr->in_modifier & ~0xFF) in mlx4_QUERY_PORT_wrapper()
2604 int mlx4_query_diag_counters(struct mlx4_dev *dev, u8 op_modifier, in mlx4_query_diag_counters() argument
2619 ret = mlx4_cmd_box(dev, 0, mailbox->dma, port, op_modifier, in mlx4_query_diag_counters()
Dmlx4.h181 u8 op_modifier; member
Dmcg.c1575 if (vhcr->op_modifier) in mlx4_PROMISC_wrapper()
Dport.c1556 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
/drivers/infiniband/hw/mlx5/
Dmad.c59 u8 op_modifier = 0; in mlx5_MAD_IFC() local
68 op_modifier |= 0x1; in mlx5_MAD_IFC()
70 op_modifier |= 0x2; in mlx5_MAD_IFC()
72 return mlx5_cmd_mad_ifc(dev->mdev, in_mad, response_mad, op_modifier, in mlx5_MAD_IFC()
/drivers/infiniband/hw/mlx4/
Dmad.c117 u8 op_modifier = 0; in mlx4_MAD_IFC() local
137 op_modifier |= 0x1; in mlx4_MAD_IFC()
139 op_modifier |= 0x2; in mlx4_MAD_IFC()
142 op_modifier |= 0x8; in mlx4_MAD_IFC()
170 op_modifier |= 0x4; in mlx4_MAD_IFC()
176 mlx4_is_master(dev->dev) ? (op_modifier & ~0x8) : op_modifier, in mlx4_MAD_IFC()
178 (op_modifier & 0x8) ? MLX4_CMD_NATIVE : MLX4_CMD_WRAPPED); in mlx4_MAD_IFC()