cpu_reg
type name = (type)cpu_reg(ctxt, (reg))
cpu_reg(ctxt, 0) = res->a0;
cpu_reg(ctxt, 1) = res->a1;
cpu_reg(ctxt, 2) = res->a2;
cpu_reg(ctxt, 3) = res->a3;
cpu_reg(ctxt, 4) = res->a4;
cpu_reg(ctxt, 5) = res->a5;
cpu_reg(ctxt, 6) = res->a6;
cpu_reg(ctxt, 7) = res->a7;
cpu_reg(ctxt, 8) = res->a8;
cpu_reg(ctxt, 9) = res->a9;
cpu_reg(ctxt, 10) = res->a10;
cpu_reg(ctxt, 11) = res->a11;
cpu_reg(ctxt, 12) = res->a12;
cpu_reg(ctxt, 13) = res->a13;
cpu_reg(ctxt, 14) = res->a14;
cpu_reg(ctxt, 15) = res->a15;
cpu_reg(ctxt, 16) = res->a16;
cpu_reg(ctxt, 17) = res->a17;
cpu_reg(host_ctxt, 1) = ret;
cpu_reg(host_ctxt, 1) = ret;
cpu_reg(host_ctxt, 1) = ret;
cpu_reg(host_ctxt, 1) = ret;
cpu_reg(host_ctxt, 1) = ret;
cpu_reg(host_ctxt, 1) = ret;
cpu_reg(host_ctxt, 1) = ret;
__kvm_timer_set_cntvoff(cpu_reg(host_ctxt, 1));
cpu_reg(host_ctxt, 1) = __vgic_v3_get_gic_config();
cpu_reg(host_ctxt, 1) = __pkvm_init(phys, size, nr_cpus, per_cpu_base,
cpu_reg(host_ctxt, 1) = pkvm_cpu_set_vector(slot);
cpu_reg(host_ctxt, 1) = __pkvm_host_share_hyp(pfn);
cpu_reg(host_ctxt, 1) = __pkvm_host_unshare_hyp(pfn);
cpu_reg(host_ctxt, 1) = haddr;
cpu_reg(host_ctxt, 1) = __pkvm_prot_finalize();
cpu_reg(host_ctxt, 1) = __pkvm_reserve_vm();
cpu_reg(host_ctxt, 1) = __pkvm_init_vm(host_kvm, vm_hva, pgd_hva);
cpu_reg(host_ctxt, 1) = __pkvm_init_vcpu(handle, host_vcpu, vcpu_hva);
cpu_reg(host_ctxt, 1) = __pkvm_teardown_vm(handle);
cpu_reg(host_ctxt, 0) = SMCCC_RET_SUCCESS;
cpu_reg(host_ctxt, 0) = SMCCC_RET_NOT_SUPPORTED;
cpu_reg(host_ctxt, 0) = boot_args->r0;
cpu_reg(host_ctxt, 0) = ret;
cpu_reg(host_ctxt, 1) = 0;
cpu_reg(host_ctxt, 2) = 0;
cpu_reg(host_ctxt, 3) = 0;
return psci_call(cpu_reg(host_ctxt, 0), cpu_reg(host_ctxt, 1),
cpu_reg(host_ctxt, 2), cpu_reg(host_ctxt, 3));
cpu_reg(host_ctxt, 1) = ret;
struct regulator *cpu_reg;
cpu_reg = devm_regulator_get(cpu_dev, "cpu");
if (IS_ERR(cpu_reg))
return dev_err_probe(&pdev->dev, PTR_ERR(cpu_reg),
load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg,
val = bnx2_reg_rd_ind(bp, cpu_reg->mode);
val |= cpu_reg->mode_value_halt;
bnx2_reg_wr_ind(bp, cpu_reg->mode, val);
bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear);
offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
bnx2_reg_wr_ind(bp, cpu_reg->inst, 0);
bnx2_reg_wr_ind(bp, cpu_reg->pc, val);
val = bnx2_reg_rd_ind(bp, cpu_reg->mode);
val &= ~cpu_reg->mode_value_halt;
bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear);
bnx2_reg_wr_ind(bp, cpu_reg->mode, val);
static const struct cpu_reg cpu_reg_com = {
static const struct cpu_reg cpu_reg_cp = {
static const struct cpu_reg cpu_reg_rxp = {
static const struct cpu_reg cpu_reg_tpat = {
static const struct cpu_reg cpu_reg_txp = {