Searched refs:bclkdiv (Results 1 – 2 of 2) sorted by relevance
98 u16 bclkdiv; in mpc512x_psc_spi_activate_cs() local124 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs()126 ccr |= (((bclkdiv & 0xff) << 16) | (((bclkdiv >> 8) & 0xff) << 8)); in mpc512x_psc_spi_activate_cs()406 u16 bclkdiv; in mpc512x_psc_spi_port_config() local435 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_port_config()436 ccr |= (((bclkdiv & 0xff) << 16) | (((bclkdiv >> 8) & 0xff) << 8)); in mpc512x_psc_spi_port_config()
802 #define CALC_BURST_RATE(bclkdiv, bclk_per_sample) \ argument803 (BURST_BASEFREQ_HZ / bclkdiv / bclk_per_sample)