Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-mpc52xx-psc.c311 u32 mclken_div; in mpc52xx_psc_spi_port_config() local
315 mclken_div = (mps->sysclk ? mps->sysclk : 512000000) / MCLK; in mpc52xx_psc_spi_port_config()
316 ret = mpc52xx_set_psc_clkdiv(psc_id, mclken_div); in mpc52xx_psc_spi_port_config()