Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/clk/
H A Dmpc83xx_clk.h316 u8 clkin_div; in get_pci_sync_in() local
318 clkin_div = (get_spmr(im) & SPMR_CKID) >> SPMR_CKID_SHIFT; in get_pci_sync_in()
319 return CONFIG_SYS_CLK_FREQ / (1 + clkin_div); in get_pci_sync_in()
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dspeed.c81 u8 clkin_div; in get_clocks() local
137 clkin_div = ((im->clk.spmr & SPMR_CKID) >> SPMR_CKID_SHIFT); in get_clocks()
141 pci_sync_in = CONFIG_83XX_CLKIN / (1 + clkin_div); in get_clocks()
154 csb_clk = pci_sync_in * (1 + clkin_div) * spmf; in get_clocks()