/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_cmd.c | 43 u64 out_param, u32 in_modifier, in hns_roce_cmd_mbox_post_hw() argument 53 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_poll() argument 59 ret = hns_roce_cmd_mbox_post_hw(hr_dev, in_param, out_param, in __hns_roce_cmd_mbox_poll() 73 u64 out_param, unsigned long in_modifier, in hns_roce_cmd_mbox_poll() argument 87 u64 out_param) in hns_roce_cmd_event() argument 100 context->out_param = out_param; in hns_roce_cmd_event() 105 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_wait() argument 128 ret = hns_roce_cmd_mbox_post_hw(hr_dev, in_param, out_param, in __hns_roce_cmd_mbox_wait() 157 u64 out_param, unsigned long in_modifier, in hns_roce_cmd_mbox_wait() argument 181 return hns_roce_cmd_mbox_wait(hr_dev, in_param, out_param, in hns_roce_cmd_mbox() [all …]
|
A D | hns_roce_cmd.h | 142 int hns_roce_cmd_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param,
|
A D | hns_roce_device.h | 570 u64 out_param; member 707 __le64 out_param; member 907 u64 out_param, u32 in_modifier, u8 op_modifier, u16 op, 1154 u64 out_param);
|
A D | hns_roce_hw_v2.c | 2780 u64 out_param, u32 in_modifier, u8 op_modifier, in hns_roce_mbox_post() argument 2790 mb->out_param_l = cpu_to_le32(out_param); in hns_roce_mbox_post() 2791 mb->out_param_h = cpu_to_le32(out_param >> 32); in hns_roce_mbox_post() 2847 u64 out_param, u32 in_modifier, u8 op_modifier, in v2_post_mbox() argument 2864 ret = hns_roce_mbox_post(hr_dev, in_param, out_param, in_modifier, in v2_post_mbox() 5726 le64_to_cpu(aeqe->event.cmd.out_param)); in hns_roce_v2_aeq_int()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | fw_qos.c | 165 struct mlx4_alloc_vpp_param *out_param; in mlx4_ALLOCATE_VPP_get() local 171 out_param = mailbox->buf; in mlx4_ALLOCATE_VPP_get() 182 *available_vpp = (u16)be32_to_cpu(out_param->available_vpp); in mlx4_ALLOCATE_VPP_get() 185 vpp_p_up[i] = (u8)be32_to_cpu(out_param->vpp_p_up[i]); in mlx4_ALLOCATE_VPP_get() 222 struct mlx4_vport_qos_param *out_param) in mlx4_SET_VPORT_QOS_get() argument 244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); in mlx4_SET_VPORT_QOS_get() 245 out_param[i].max_avg_bw = in mlx4_SET_VPORT_QOS_get() 247 out_param[i].enable = in mlx4_SET_VPORT_QOS_get()
|
A D | sense.c | 44 u64 out_param; in mlx4_SENSE_PORT() local 47 err = mlx4_cmd_imm(dev, 0, &out_param, port, 0, in mlx4_SENSE_PORT() 55 if (out_param > 2) { in mlx4_SENSE_PORT() 56 mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", out_param); in mlx4_SENSE_PORT() 60 *type = out_param; in mlx4_SENSE_PORT()
|
A D | cmd.c | 131 u64 out_param; member 522 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd() 636 *out_param = in mlx4_cmd_poll() 672 context->out_param = out_param; in mlx4_cmd_event() 759 *out_param = context->out_param; in mlx4_cmd_wait() 817 u64 out_param; in mlx4_ACCESS_MEM() local 1056 vhcr->out_param = out_param; in mlx4_DMA_wrapper() 1699 vhcr->out_param = be64_to_cpu(vhcr_cmd->out_param); in mlx4_master_process_vhcr() 1766 vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); in mlx4_master_process_vhcr() 1779 vhcr->out_param = out_param; in mlx4_master_process_vhcr() [all …]
|
A D | resource_tracker.c | 1787 u64 in_param, u64 *out_param) in qp_alloc_res() argument 1820 set_param_l(out_param, base); in qp_alloc_res() 1880 set_param_l(out_param, base); in mtt_alloc_res() 1913 set_param_l(out_param, index); in mpt_alloc_res() 1936 u64 in_param, u64 *out_param) in cq_alloc_res() argument 1960 set_param_l(out_param, cqn); in cq_alloc_res() 1995 set_param_l(out_param, srqn); in srq_alloc_res() 2117 set_param_l(out_param, err); in mac_alloc_res() 2266 set_param_l(out_param, index); in counter_alloc_res() 2289 set_param_l(out_param, xrcdn); in xrcdn_alloc_res() [all …]
|
A D | pd.c | 78 u64 out_param; in mlx4_xrcd_alloc() local 82 err = mlx4_cmd_imm(dev, 0, &out_param, in mlx4_xrcd_alloc() 89 *xrcdn = get_param_l(&out_param); in mlx4_xrcd_alloc()
|
A D | srq.c | 122 u64 out_param; in mlx4_srq_alloc_icm() local 126 err = mlx4_cmd_imm(dev, 0, &out_param, RES_SRQ, in mlx4_srq_alloc_icm() 131 *srqn = get_param_l(&out_param); in mlx4_srq_alloc_icm()
|
A D | port.c | 344 u64 out_param = 0; in mlx4_register_mac() local 349 err = mlx4_cmd_imm(dev, mac, &out_param, in mlx4_register_mac() 356 set_param_l(&out_param, port); in mlx4_register_mac() 366 return get_param_l(&out_param); in mlx4_register_mac() 452 u64 out_param = 0; in mlx4_unregister_mac() local 456 (void) mlx4_cmd_imm(dev, mac, &out_param, in mlx4_unregister_mac() 462 set_param_l(&out_param, port); in mlx4_unregister_mac() 742 u64 out_param = 0; in mlx4_register_vlan() local 749 err = mlx4_cmd_imm(dev, vlan, &out_param, in mlx4_register_vlan() 754 *index = get_param_l(&out_param); in mlx4_register_vlan() [all …]
|
A D | mr.c | 177 u64 out_param; in mlx4_alloc_mtt_range() local 182 err = mlx4_cmd_imm(dev, in_param, &out_param, RES_MTT, in mlx4_alloc_mtt_range() 189 return get_param_l(&out_param); in mlx4_alloc_mtt_range() 448 u64 out_param; in mlx4_mpt_reserve() local 451 if (mlx4_cmd_imm(dev, 0, &out_param, RES_MPT, RES_OP_RESERVE, in mlx4_mpt_reserve() 455 return get_param_l(&out_param); in mlx4_mpt_reserve()
|
A D | fw_qos.h | 128 struct mlx4_vport_qos_param *out_param);
|
A D | cq.c | 247 u64 out_param; in mlx4_cq_alloc_icm() local 251 err = mlx4_cmd_imm(dev, 0, &out_param, in_modifier, in mlx4_cq_alloc_icm() 257 *cqn = get_param_l(&out_param); in mlx4_cq_alloc_icm()
|
A D | qp.c | 252 u64 out_param; in mlx4_qp_reserve_range() local 261 err = mlx4_cmd_imm(dev, in_param, &out_param, in mlx4_qp_reserve_range() 268 *base = get_param_l(&out_param); in mlx4_qp_reserve_range()
|
A D | mlx4.h | 176 u64 out_param; member 189 __be64 out_param; member 1214 void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param);
|
/linux/include/linux/mlx4/ |
A D | cmd.h | 268 int __mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, 282 static inline int mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_box() argument 286 return __mlx4_cmd(dev, in_param, &out_param, 0, in_modifier, in mlx4_cmd_box() 295 static inline int mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_cmd_imm() argument 299 return __mlx4_cmd(dev, in_param, out_param, 1, in_modifier, in mlx4_cmd_imm()
|
A D | device.h | 914 __be64 out_param; member
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_cmd.c | 200 u64 out_param, in mthca_cmd_post_dbell() argument 277 u64 out_param, in mthca_cmd_post() argument 333 u64 *out_param, in mthca_cmd_poll() argument 347 out_param ? *out_param : 0, in mthca_cmd_poll() 365 *out_param = in mthca_cmd_poll() 401 context->out_param = out_param; in mthca_cmd_event() 408 u64 *out_param, in mthca_cmd_wait() argument 430 out_param ? *out_param : 0, in mthca_cmd_wait() 452 *out_param = context->out_param; in mthca_cmd_wait() 471 u64 out_param, in mthca_cmd_box() argument [all …]
|
A D | mthca_cmd.h | 249 u8 status, u64 out_param);
|
A D | mthca_eq.c | 140 __be64 out_param; member 330 be64_to_cpu(eqe->event.cmd.out_param)); in mthca_eq_int()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_io.c | 114 u64 out_param; in write_sq_ctxts() local 139 &out_param); in write_sq_ctxts() 140 if (err || out_param != 0) { in write_sq_ctxts() 158 u64 out_param; in write_rq_ctxts() local 183 &out_param); in write_rq_ctxts() 184 if (err || out_param != 0) { in write_rq_ctxts() 215 u64 out_param = 0; in hinic_clean_queue_offload_ctxt() local 238 &cmdq_buf, &out_param); in hinic_clean_queue_offload_ctxt() 240 if (err || out_param) { in hinic_clean_queue_offload_ctxt() 242 err, out_param); in hinic_clean_queue_offload_ctxt()
|
A D | hinic_port.c | 592 u64 out_param; in hinic_rss_set_indir_tbl() local 628 &cmd_buf, &out_param); in hinic_rss_set_indir_tbl() 629 if (err || out_param != 0) { in hinic_rss_set_indir_tbl() 641 &cmd_buf, &out_param); in hinic_rss_set_indir_tbl() 642 if (err || out_param != 0) { in hinic_rss_set_indir_tbl() 692 u64 out_param; in hinic_set_rss_type() local 730 &cmd_buf, &out_param); in hinic_set_rss_type() 734 if (err || out_param != 0) { in hinic_set_rss_type()
|
A D | hinic_hw_cmdq.h | 178 struct hinic_cmdq_buf *buf_in, u64 *out_param);
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | pci.c | 122 u64 out_param; member 765 mlxsw_pci->cmd.comp.out_param = in mlxsw_pci_eq_cmd_event()
|