/kernel/linux/common_modules/tzdriver/core/ |
D | smc_abi.c | 89 static void fix_params_offset(struct smc_out_params *out_param) in fix_params_offset() argument 91 out_param->target = out_param->ta; in fix_params_offset() 92 out_param->ta = out_param->exit_reason; in fix_params_offset() 93 out_param->exit_reason = out_param->ret; in fix_params_offset() 94 out_param->ret = TSP_RESPONSE; in fix_params_offset() 95 if (out_param->exit_reason == TEE_EXIT_REASON_CRASH) { in fix_params_offset() 97 temp_info.crash_reg[0] = out_param->ta; in fix_params_offset() 99 temp_info.crash_reg[2] = out_param->target; in fix_params_offset() 102 out_param->ret = TSP_CRASH; in fix_params_offset() 103 out_param->exit_reason = temp_info.crash_reg[0]; in fix_params_offset() [all …]
|
D | ffa_abi.c | 80 …rt_ffa_param_to_smc_param(struct ffa_send_direct_data *ffa_param, struct smc_out_params *out_param) in convert_ffa_param_to_smc_param() argument 82 out_param->ret = ffa_param->data4; in convert_ffa_param_to_smc_param() 83 out_param->exit_reason = ffa_param->data0; in convert_ffa_param_to_smc_param() 84 out_param->ta = ffa_param->data1; in convert_ffa_param_to_smc_param() 85 out_param->target = ffa_param->data2; in convert_ffa_param_to_smc_param() 88 int ffa_forward_call(struct smc_in_params *in_param, struct smc_out_params *out_param, uint8_t wait) in ffa_forward_call() argument 90 if (in_param == NULL || out_param == NULL) { in ffa_forward_call() 101 convert_ffa_param_to_smc_param(&ffa_param, out_param); in ffa_forward_call() 102 } while (out_param->ret == TSP_REQUEST && wait != 0); in ffa_forward_call()
|
D | tz_pm.c | 109 struct smc_out_params out_param = { smc_ret }; in tc_s4_suspend_or_resume() local 110 smc_req(&in_param, &out_param, 0); in tc_s4_suspend_or_resume() 111 smc_ret = out_param.ret; in tc_s4_suspend_or_resume() 127 struct smc_out_params out_param = { smc_ret }; in tc_s4_crypto_and_copy() local 129 smc_req(&in_param, &out_param, 0); in tc_s4_crypto_and_copy() 130 smc_ret = out_param.ret; in tc_s4_crypto_and_copy()
|
D | smc_smp.c | 710 static void send_asm_smc_cmd(struct smc_in_params *in_param, struct smc_out_params *out_param) in send_asm_smc_cmd() argument 712 smc_req(in_param, out_param, 0); in send_asm_smc_cmd() 720 struct smc_out_params out_param = {0}; in send_smc_cmd_rebooting() local 735 send_asm_smc_cmd(&in_param, &out_param); in send_smc_cmd_rebooting() 738 if (out_param.exit_reason == SMC_EXIT_PREEMPTED) in send_smc_cmd_rebooting() 741 return out_param.exit_reason; in send_smc_cmd_rebooting() 758 struct smc_out_params out_param = {0}; in smp_smc_send() local 769 send_asm_smc_cmd(&in_param, &out_param); in smp_smc_send() 772 raw_smp_processor_id(), out_param.ret, out_param.exit_reason, in smp_smc_send() 773 out_param.ta, out_param.target); in smp_smc_send() [all …]
|
D | ffa_abi.h | 159 int ffa_forward_call(struct smc_in_params *in_param, struct smc_out_params *out_param, uint8_t wait…
|
/kernel/linux/linux-5.10/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 68 ret = hns_roce_cmd_mbox_post_hw(hr_dev, in_param, out_param, 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() 94 u64 out_param) in hns_roce_cmd_event() argument 103 context->out_param = out_param; in hns_roce_cmd_event() 109 u64 out_param, unsigned long in_modifier, in __hns_roce_cmd_mbox_wait() argument 127 ret = hns_roce_cmd_mbox_post_hw(hr_dev, in_param, out_param, in __hns_roce_cmd_mbox_wait() [all …]
|
D | hns_roce_cmd.h | 142 int hns_roce_cmd_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param,
|
D | hns_roce_device.h | 562 u64 out_param; member 717 __le64 out_param; member 899 u64 out_param, u32 in_modifier, u8 op_modifier, u16 op, 1151 u64 out_param);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
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()
|
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()
|
D | cmd.c | 131 u64 out_param; member 432 static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param, in mlx4_cmd_post() argument 485 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post() 486 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post() 511 static int mlx4_slave_cmd(struct mlx4_dev *dev, u64 in_param, u64 *out_param, in mlx4_slave_cmd() argument 522 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd() 533 if (out_param) in mlx4_slave_cmd() 534 *out_param = in mlx4_slave_cmd() 535 be64_to_cpu(vhcr->out_param); in mlx4_slave_cmd() 552 if (out_param) in mlx4_slave_cmd() [all …]
|
D | resource_tracker.c | 972 u64 in_param, u64 *out_param, int port); 1787 u64 in_param, u64 *out_param) in qp_alloc_res() argument 1820 set_param_l(out_param, base); in qp_alloc_res() 1854 u64 in_param, u64 *out_param) in mtt_alloc_res() argument 1880 set_param_l(out_param, base); in mtt_alloc_res() 1887 u64 in_param, u64 *out_param) in mpt_alloc_res() argument 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() 1971 u64 in_param, u64 *out_param) in srq_alloc_res() argument [all …]
|
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()
|
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()
|
D | fw_qos.h | 128 struct mlx4_vport_qos_param *out_param);
|
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() 357 err = mlx4_cmd_imm(dev, mac, &out_param, RES_MAC, 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() 463 (void) mlx4_cmd_imm(dev, mac, &out_param, RES_MAC, in mlx4_unregister_mac() 742 u64 out_param = 0; in mlx4_register_vlan() local [all …]
|
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()
|
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()
|
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()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 182 u64 out_param; member 200 u64 out_param, in mthca_cmd_post_dbell() argument 215 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); in mthca_cmd_post_dbell() 217 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); in mthca_cmd_post_dbell() 232 u64 out_param, in mthca_cmd_post_hcr() argument 260 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), dev->hcr + 3 * 4); in mthca_cmd_post_hcr() 261 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), dev->hcr + 4 * 4); in mthca_cmd_post_hcr() 277 u64 out_param, 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() [all …]
|
D | mthca_cmd.h | 249 u8 status, u64 out_param);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
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()
|
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()
|
D | hinic_hw_cmdq.h | 178 struct hinic_cmdq_buf *buf_in, u64 *out_param);
|