Searched refs:altivec_idle (Results 1 – 1 of 1) sorted by relevance
397 u32 altivec_idle; in do_store_altivec_idle() local399 altivec_idle = mfspr(SPRN_PWRMGTCR0); in do_store_altivec_idle()402 altivec_idle |= PWRMGTCR0_AV_IDLE_PD_EN; in do_store_altivec_idle()404 altivec_idle &= ~PWRMGTCR0_AV_IDLE_PD_EN; in do_store_altivec_idle()406 mtspr(SPRN_PWRMGTCR0, altivec_idle); in do_store_altivec_idle()462 u32 altivec_idle; in set_altivec_idle_wait_entry_bit() local464 altivec_idle = mfspr(SPRN_PWRMGTCR0); in set_altivec_idle_wait_entry_bit()468 altivec_idle &= ~PWRMGTCR0_AV_IDLE_CNT; in set_altivec_idle_wait_entry_bit()471 altivec_idle |= ((MAX_BIT - *value) << PWRMGTCR0_AV_IDLE_CNT_SHIFT); in set_altivec_idle_wait_entry_bit()473 mtspr(SPRN_PWRMGTCR0, altivec_idle); in set_altivec_idle_wait_entry_bit()[all …]