Searched refs:mclk_rate (Results 1 – 6 of 6) sorted by relevance
209 unsigned int mclk_rate, div, timeout; in sun4i_spi_transfer_one() local269 mclk_rate = clk_get_rate(sspi->mclk); in sun4i_spi_transfer_one()270 if (mclk_rate < (2 * tfr->speed_hz)) { in sun4i_spi_transfer_one()272 mclk_rate = clk_get_rate(sspi->mclk); in sun4i_spi_transfer_one()289 div = mclk_rate / (2 * tfr->speed_hz); in sun4i_spi_transfer_one()296 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun4i_spi_transfer_one()
201 unsigned int mclk_rate, div, timeout; in sun6i_spi_transfer_one() local270 mclk_rate = clk_get_rate(sspi->mclk); in sun6i_spi_transfer_one()271 if (mclk_rate < (2 * tfr->speed_hz)) { in sun6i_spi_transfer_one()273 mclk_rate = clk_get_rate(sspi->mclk); in sun6i_spi_transfer_one()290 div = mclk_rate / (2 * tfr->speed_hz); in sun6i_spi_transfer_one()297 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun6i_spi_transfer_one()
65 u32 mclk_rate; member125 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs()441 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_port_config()544 mps->mclk_rate = clk_get_rate(clk); in mpc512x_psc_spi_do_probe()
359 twl6040->mclk_rate = 0; in twl6040_power()385 twl6040->mclk_rate = 0; in twl6040_set_pll()446 if (twl6040->mclk_rate != freq_in) { in twl6040_set_pll()496 twl6040->mclk_rate = freq_in; in twl6040_set_pll()
503 unsigned long mclk_rate; in sii902x_audio_hw_params() local574 mclk_rate = clk_get_rate(sii902x->audio.mclk); in sii902x_audio_hw_params()576 params->sample_rate, mclk_rate); in sii902x_audio_hw_params()577 if (mclk_rate != ret * params->sample_rate) in sii902x_audio_hw_params()579 mclk_rate, ret, params->sample_rate); in sii902x_audio_hw_params()
2292 u32 mclk_rate; in pxa_camera_pdata_from_dt() local2296 &mclk_rate); in pxa_camera_pdata_from_dt()2299 pcdev->mclk = mclk_rate; in pxa_camera_pdata_from_dt()