Searched refs:altivec_idle (Results 1 – 1 of 1) sorted by relevance
402 u32 altivec_idle; in do_store_altivec_idle() local404 altivec_idle = mfspr(SPRN_PWRMGTCR0); in do_store_altivec_idle()407 altivec_idle |= PWRMGTCR0_AV_IDLE_PD_EN; in do_store_altivec_idle()409 altivec_idle &= ~PWRMGTCR0_AV_IDLE_PD_EN; in do_store_altivec_idle()411 mtspr(SPRN_PWRMGTCR0, altivec_idle); in do_store_altivec_idle()467 u32 altivec_idle; in set_altivec_idle_wait_entry_bit() local469 altivec_idle = mfspr(SPRN_PWRMGTCR0); in set_altivec_idle_wait_entry_bit()473 altivec_idle &= ~PWRMGTCR0_AV_IDLE_CNT; in set_altivec_idle_wait_entry_bit()476 altivec_idle |= ((MAX_BIT - *value) << PWRMGTCR0_AV_IDLE_CNT_SHIFT); in set_altivec_idle_wait_entry_bit()478 mtspr(SPRN_PWRMGTCR0, altivec_idle); in set_altivec_idle_wait_entry_bit()[all …]