Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c242 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local
246 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver()
272 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver()
412 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local
445 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr()
469 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr()
485 union kvmppc_icp_state old_state, new_state; in xics_rm_h_xirr() local
504 old_state = new_state = READ_ONCE(icp->state); in xics_rm_h_xirr()
506 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in xics_rm_h_xirr()
507 if (!old_state.xisr) in xics_rm_h_xirr()
[all …]
Dbook3s_xics.c339 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local
346 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver()
372 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
516 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local
549 old_state = new_state = READ_ONCE(icp->state); in icp_down_cppr()
575 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr()
588 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local
603 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_xirr()
605 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
606 if (!old_state.xisr) in kvmppc_h_xirr()
[all …]
/arch/mips/alchemy/common/
Dplatform.c32 unsigned int old_state) in alchemy_8250_pm() argument
38 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
41 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
45 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
/arch/powerpc/platforms/cell/spufs/
Dsched.c1026 enum spu_utilization_state old_state; in spuctx_switch_state() local
1036 old_state = ctx->stats.util_state; in spuctx_switch_state()
1044 ctx->stats.times[old_state] += delta; in spuctx_switch_state()
1045 spu->stats.times[old_state] += delta; in spuctx_switch_state()
1049 if (old_state == SPU_UTIL_USER) in spuctx_switch_state()
/arch/arm64/kvm/
Dpmu-emul.c720 bool new_state, old_state; in kvm_pmu_update_pmc_chained() local
722 old_state = kvm_pmu_pmc_is_chained(pmc); in kvm_pmu_update_pmc_chained()
726 if (old_state == new_state) in kvm_pmu_update_pmc_chained()