Home
last modified time | relevance | path

Searched refs:cpu_reg (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c236 cpu_reg(host_ctxt, 1) = ret; in handle___kvm_vcpu_run()
269 cpu_reg(host_ctxt, 1) = ret; in handle___pkvm_host_share_guest()
289 cpu_reg(host_ctxt, 1) = ret; in handle___pkvm_host_unshare_guest()
308 cpu_reg(host_ctxt, 1) = ret; in handle___pkvm_host_relax_perms_guest()
328 cpu_reg(host_ctxt, 1) = ret; in handle___pkvm_host_wrprotect_guest()
349 cpu_reg(host_ctxt, 1) = ret; in handle___pkvm_host_test_clear_young_guest()
367 cpu_reg(host_ctxt, 1) = ret; in handle___pkvm_host_mkyoung_guest()
442 __kvm_timer_set_cntvoff(cpu_reg(host_ctxt, 1)); in handle___kvm_timer_set_cntvoff()
538 cpu_reg(host_ctxt, 1) = haddr; in handle___pkvm_create_private_mapping()
543 cpu_reg(host_ctxt, 1) = __pkvm_prot_finalize(); in handle___pkvm_prot_finalize()
[all …]
H A Dpsci-relay.c74 return psci_call(cpu_reg(host_ctxt, 0), cpu_reg(host_ctxt, 1), in psci_forward()
75 cpu_reg(host_ctxt, 2), cpu_reg(host_ctxt, 3)); in psci_forward()
215 cpu_reg(host_ctxt, 0) = boot_args->r0; in __kvm_host_psci_cpu_entry()
303 cpu_reg(host_ctxt, 0) = ret; in kvm_host_psci_handler()
304 cpu_reg(host_ctxt, 1) = 0; in kvm_host_psci_handler()
305 cpu_reg(host_ctxt, 2) = 0; in kvm_host_psci_handler()
306 cpu_reg(host_ctxt, 3) = 0; in kvm_host_psci_handler()
H A Dffa.c100 cpu_reg(ctxt, 0) = res->a0; in ffa_set_retval()
101 cpu_reg(ctxt, 1) = res->a1; in ffa_set_retval()
102 cpu_reg(ctxt, 2) = res->a2; in ffa_set_retval()
103 cpu_reg(ctxt, 3) = res->a3; in ffa_set_retval()
H A Dsetup.c312 cpu_reg(host_ctxt, 1) = ret; in __pkvm_init_finalise()
/linux-6.15/drivers/net/ethernet/broadcom/
H A Dbnx2_fw.h12 static const struct cpu_reg cpu_reg_com = {
28 static const struct cpu_reg cpu_reg_cp = {
44 static const struct cpu_reg cpu_reg_rxp = {
60 static const struct cpu_reg cpu_reg_tpat = {
76 static const struct cpu_reg cpu_reg_txp = {
H A Dbnx2.c3832 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, in load_cpu_fw() argument
3842 val |= cpu_reg->mode_value_halt; in load_cpu_fw()
3843 bnx2_reg_wr_ind(bp, cpu_reg->mode, val); in load_cpu_fw()
3844 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear); in load_cpu_fw()
3852 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3866 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3880 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base); in load_cpu_fw()
3889 bnx2_reg_wr_ind(bp, cpu_reg->inst, 0); in load_cpu_fw()
3892 bnx2_reg_wr_ind(bp, cpu_reg->pc, val); in load_cpu_fw()
3896 val &= ~cpu_reg->mode_value_halt; in load_cpu_fw()
[all …]
H A Dbnx2.h7015 struct cpu_reg { struct
/linux-6.15/arch/arm64/kvm/hyp/include/nvhe/
H A Dtrap_handler.h14 #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] macro
16 type name = (type)cpu_reg(ctxt, (reg))
/linux-6.15/Documentation/devicetree/bindings/cpufreq/
H A Dnvidia,tegra20-cpufreq.txt30 cpu_reg: regulator0 {
53 cpu-supply = <&cpu_reg>;
/linux-6.15/drivers/cpufreq/
H A Dmediatek-cpufreq-hw.c303 struct regulator *cpu_reg; in mtk_cpufreq_hw_driver_probe() local
312 cpu_reg = devm_regulator_get(cpu_dev, "cpu"); in mtk_cpufreq_hw_driver_probe()
313 if (IS_ERR(cpu_reg)) in mtk_cpufreq_hw_driver_probe()
314 return dev_err_probe(&pdev->dev, PTR_ERR(cpu_reg), in mtk_cpufreq_hw_driver_probe()