Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/pic32/pic32mzda/
Dearly_clk.c47 u32 pllodiv; in pic32_get_sysclk() local
58 pllodiv = ((spllcon >> 24) & PLLDIV_MASK); in pic32_get_sysclk()
65 if (pllodiv < 2) in pic32_get_sysclk()
66 pllodiv = 2; in pic32_get_sysclk()
67 else if (pllodiv < 5) in pic32_get_sysclk()
68 pllodiv = (1 << pllodiv); in pic32_get_sysclk()
70 pllodiv = 32; in pic32_get_sysclk()
80 osc_freq = ((pllclk / pllidiv) * pllmult) / pllodiv; in pic32_get_sysclk()