Searched refs:__fix_zero (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | 4xx.c | 392 static inline u32 __fix_zero(u32 v, u32 def) in __fix_zero() function 406 u32 fbdv = __fix_zero((plld >> 24) & 0x1f, 32); in __ibm440eplike_fixup_clocks() 407 u32 fwdva = __fix_zero((plld >> 16) & 0xf, 16); in __ibm440eplike_fixup_clocks() 408 u32 fwdvb = __fix_zero((plld >> 8) & 7, 8); in __ibm440eplike_fixup_clocks() 409 u32 lfbdv = __fix_zero(plld & 0x3f, 64); in __ibm440eplike_fixup_clocks() 410 u32 pradv0 = __fix_zero((CPR0_READ(DCRN_CPR0_PRIMAD) >> 24) & 7, 8); in __ibm440eplike_fixup_clocks() 411 u32 prbdv0 = __fix_zero((CPR0_READ(DCRN_CPR0_PRIMBD) >> 24) & 7, 8); in __ibm440eplike_fixup_clocks() 412 u32 opbdv0 = __fix_zero((CPR0_READ(DCRN_CPR0_OPBD) >> 24) & 3, 4); in __ibm440eplike_fixup_clocks() 413 u32 perdv0 = __fix_zero((CPR0_READ(DCRN_CPR0_PERD) >> 24) & 3, 4); in __ibm440eplike_fixup_clocks() 507 clock = plb_clk / __fix_zero(sdr & 0xff, 256); in eplike_fixup_uart_clk() [all …]
|