Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_common.c180 u32 mclken_div; in mpc52xx_set_psc_clkdiv() local
185 mclken_div = 0x8000 | (clkdiv & 0x1FF); in mpc52xx_set_psc_clkdiv()
197 out_be16(reg, mclken_div); in mpc52xx_set_psc_clkdiv()
/openbmc/linux/drivers/spi/
H A Dspi-mpc52xx-psc.c246 u32 mclken_div; in mpc52xx_psc_spi_port_config() local
250 mclken_div = 512000000 / MCLK; in mpc52xx_psc_spi_port_config()
251 ret = mpc52xx_set_psc_clkdiv(psc_id, mclken_div); in mpc52xx_psc_spi_port_config()