Searched refs:cpu_reg (Results 1 - 9 of 9) sorted by relevance

/linux-master/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-master/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, argument
3841 val = bnx2_reg_rd_ind(bp, cpu_reg->mode);
3842 val |= cpu_reg->mode_value_halt;
3843 bnx2_reg_wr_ind(bp, cpu_reg->mode, val);
3844 bnx2_reg_wr_ind(bp, cpu_reg->state, cpu_reg->state_value_clear);
3852 offset = cpu_reg->spad_base + (addr - cpu_reg->mips_view_base);
3866 offset = cpu_reg
[all...]
H A Dbnx2.h7015 struct cpu_reg { struct
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c105 cpu_reg(host_ctxt, 1) = ret;
164 __kvm_timer_set_cntvoff(cpu_reg(host_ctxt, 1));
178 cpu_reg(host_ctxt, 1) = __vgic_v3_get_gic_config();
183 cpu_reg(host_ctxt, 1) = __vgic_v3_read_vmcr();
188 __vgic_v3_write_vmcr(cpu_reg(host_ctxt, 1));
198 cpu_reg(host_ctxt, 1) = __kvm_get_mdcr_el2();
228 cpu_reg(host_ctxt, 1) = __pkvm_init(phys, size, nr_cpus, per_cpu_base,
236 cpu_reg(host_ctxt, 1) = pkvm_cpu_set_vector(slot);
243 cpu_reg(host_ctxt, 1) = __pkvm_host_share_hyp(pfn);
250 cpu_reg(host_ctx
[all...]
H A Dpsci-relay.c74 return psci_call(cpu_reg(host_ctxt, 0), cpu_reg(host_ctxt, 1),
75 cpu_reg(host_ctxt, 2), cpu_reg(host_ctxt, 3));
215 cpu_reg(host_ctxt, 0) = boot_args->r0;
298 cpu_reg(host_ctxt, 0) = ret;
299 cpu_reg(host_ctxt, 1) = 0;
300 cpu_reg(host_ctxt, 2) = 0;
301 cpu_reg(host_ctxt, 3) = 0;
H A Dffa.c97 cpu_reg(ctxt, 0) = res->a0;
98 cpu_reg(ctxt, 1) = res->a1;
99 cpu_reg(ctxt, 2) = res->a2;
100 cpu_reg(ctxt, 3) = res->a3;
H A Dsetup.c309 cpu_reg(host_ctxt, 1) = ret;
/linux-master/drivers/cpufreq/
H A Dmediatek-cpufreq-hw.c306 struct regulator *cpu_reg; local
315 cpu_reg = devm_regulator_get(cpu_dev, "cpu");
316 if (IS_ERR(cpu_reg))
317 return dev_err_probe(&pdev->dev, PTR_ERR(cpu_reg),

Completed in 293 milliseconds