Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c122 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local
155 old_state = new_state = ACCESS_ONCE(icp->state); in icp_rm_down_cppr()
158 new_state.cppr = new_cppr; in icp_rm_down_cppr()
169 if (new_state.mfrr < new_cppr && in icp_rm_down_cppr()
170 new_state.mfrr <= new_state.pending_pri) { in icp_rm_down_cppr()
171 new_state.pending_pri = new_state.mfrr; in icp_rm_down_cppr()
172 new_state.xisr = XICS_IPI; in icp_rm_down_cppr()
176 resend = new_state.need_resend; in icp_rm_down_cppr()
177 new_state.need_resend = 0; in icp_rm_down_cppr()
179 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr()
[all …]
Dbook3s_xics.c321 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local
328 old_state = new_state = ACCESS_ONCE(icp->state); in icp_try_to_deliver()
333 success = new_state.cppr > priority && in icp_try_to_deliver()
334 new_state.mfrr > priority && in icp_try_to_deliver()
335 new_state.pending_pri > priority; in icp_try_to_deliver()
342 *reject = new_state.xisr; in icp_try_to_deliver()
343 new_state.xisr = irq; in icp_try_to_deliver()
344 new_state.pending_pri = priority; in icp_try_to_deliver()
351 new_state.need_resend = true; in icp_try_to_deliver()
354 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
[all …]
/arch/arm/mach-tegra/
Dpowergate.c67 static int tegra_powergate_set(int id, bool new_state) in tegra_powergate_set() argument
76 if (status == new_state) { in tegra_powergate_set()
Dpmc.c99 static int tegra_pmc_powergate_set(int id, bool new_state) in tegra_pmc_powergate_set() argument
107 WARN_ON(old_state == new_state); in tegra_pmc_powergate_set()
/arch/powerpc/platforms/cell/spufs/
Dsched.c1039 enum spu_utilization_state new_state) in spuctx_switch_state() argument
1057 ctx->stats.util_state = new_state; in spuctx_switch_state()
1066 spu->stats.util_state = new_state; in spuctx_switch_state()
1071 if (new_state == SPU_UTIL_USER) in spuctx_switch_state()
Dspufs.h374 enum spu_utilization_state new_state);