Home
last modified time | relevance | path

Searched refs:tima (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/powerpc/sysdev/xive/
Dnative.c561 void __iomem *tima; in xive_native_init() local
582 tima = ioremap(r.start, resource_size(&r)); in xive_native_init()
583 if (!tima) { in xive_native_init()
606 kvmppc_set_xive_tima(cpu, r.start, tima); in xive_native_init()
630 if (!xive_core_init(np, &xive_native_ops, tima, TM_QW3_HV_PHYS, in xive_native_init()
Dspapr.c816 void __iomem *tima; in xive_spapr_init() local
839 tima = ioremap(r.start, resource_size(&r)); in xive_spapr_init()
840 if (!tima) { in xive_spapr_init()
875 if (!xive_core_init(np, &xive_spapr_ops, tima, TM_QW1_OS, max_prio)) in xive_spapr_init()
885 iounmap(tima); in xive_spapr_init()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_xive.c688 void __iomem *tima = local_paca->kvm_hstate.xive_tima_virt; in kvmppc_xive_push_vcpu() local
696 if (!tima || !vcpu->arch.xive_cam_word) in kvmppc_xive_push_vcpu()
701 __raw_writeq(vcpu->arch.xive_saved_state.w01, tima + TM_QW1_OS); in kvmppc_xive_push_vcpu()
702 __raw_writel(vcpu->arch.xive_cam_word, tima + TM_QW1_OS + TM_WORD2); in kvmppc_xive_push_vcpu()
758 void __iomem *tima = local_paca->kvm_hstate.xive_tima_virt; in kvmppc_xive_pull_vcpu() local
766 if (WARN_ON(!tima)) in kvmppc_xive_pull_vcpu()
771 __raw_readl(tima + TM_SPC_PULL_OS_CTX); in kvmppc_xive_pull_vcpu()
774 vcpu->arch.xive_saved_state.w01 = __raw_readq(tima + TM_QW1_OS); in kvmppc_xive_pull_vcpu()