Searched refs:new_state (Results 1 – 6 of 6) sorted by relevance
122 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local155 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 …]
321 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local328 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 …]
67 static int tegra_powergate_set(int id, bool new_state) in tegra_powergate_set() argument76 if (status == new_state) { in tegra_powergate_set()
99 static int tegra_pmc_powergate_set(int id, bool new_state) in tegra_pmc_powergate_set() argument107 WARN_ON(old_state == new_state); in tegra_pmc_powergate_set()
1039 enum spu_utilization_state new_state) in spuctx_switch_state() argument1057 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()
374 enum spu_utilization_state new_state);