Searched refs:mclk_rate (Results 1 – 5 of 5) sorted by relevance
180 unsigned int mclk_rate, div, timeout; in sun4i_spi_transfer_one() local240 mclk_rate = clk_get_rate(sspi->mclk); in sun4i_spi_transfer_one()241 if (mclk_rate < (2 * tfr->speed_hz)) { in sun4i_spi_transfer_one()243 mclk_rate = clk_get_rate(sspi->mclk); in sun4i_spi_transfer_one()260 div = mclk_rate / (2 * tfr->speed_hz); in sun4i_spi_transfer_one()267 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun4i_spi_transfer_one()
166 unsigned int mclk_rate, div, timeout; in sun6i_spi_transfer_one() local224 mclk_rate = clk_get_rate(sspi->mclk); in sun6i_spi_transfer_one()225 if (mclk_rate < (2 * tfr->speed_hz)) { in sun6i_spi_transfer_one()227 mclk_rate = clk_get_rate(sspi->mclk); in sun6i_spi_transfer_one()244 div = mclk_rate / (2 * tfr->speed_hz); in sun6i_spi_transfer_one()251 div = ilog2(mclk_rate) - ilog2(tfr->speed_hz); in sun6i_spi_transfer_one()
69 u32 mclk_rate; member129 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_activate_cs()445 bclkdiv = (mps->mclk_rate / speed) - 1; in mpc512x_psc_spi_port_config()548 mps->mclk_rate = clk_get_rate(clk); in mpc512x_psc_spi_do_probe()
362 twl6040->mclk_rate = 0; in twl6040_power()388 twl6040->mclk_rate = 0; in twl6040_set_pll()449 if (twl6040->mclk_rate != freq_in) { in twl6040_set_pll()499 twl6040->mclk_rate = freq_in; in twl6040_set_pll()
2235 u32 mclk_rate; in pxa_camera_pdata_from_dt() local2239 &mclk_rate); in pxa_camera_pdata_from_dt()2242 pcdev->mclk = mclk_rate; in pxa_camera_pdata_from_dt()