Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/52xx/
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()
/linux-6.1.9/drivers/spi/
Dspi-mpc52xx-psc.c268 u32 mclken_div; in mpc52xx_psc_spi_port_config() local
272 mclken_div = (mps->sysclk ? mps->sysclk : 512000000) / MCLK; in mpc52xx_psc_spi_port_config()
273 ret = mpc52xx_set_psc_clkdiv(psc_id, mclken_div); in mpc52xx_psc_spi_port_config()