Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/sysdev/xive/
Dnative.c561 void __iomem *tima; in xive_native_init() local
584 tima = ioremap(r.start, resource_size(&r)); in xive_native_init()
585 if (!tima) { in xive_native_init()
610 kvmppc_set_xive_tima(cpu, r.start, tima); in xive_native_init()
634 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
840 tima = ioremap(r.start, resource_size(&r)); in xive_spapr_init()
841 if (!tima) { in xive_spapr_init()
876 if (!xive_core_init(np, &xive_spapr_ops, tima, TM_QW1_OS, max_prio)) in xive_spapr_init()
886 iounmap(tima); in xive_spapr_init()
/linux-6.1.9/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()