Home
last modified time | relevance | path

Searched refs:mclk_rate (Results 1 – 5 of 5) sorted by relevance

/drivers/spi/
Dspi-sun4i.c180 unsigned int mclk_rate, div, timeout; in sun4i_spi_transfer_one() local
240 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()
Dspi-sun6i.c166 unsigned int mclk_rate, div, timeout; in sun6i_spi_transfer_one() local
224 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()
Dspi-mpc512x-psc.c69 u32 mclk_rate; member
129 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()
/drivers/mfd/
Dtwl6040.c362 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()
/drivers/media/platform/
Dpxa_camera.c2235 u32 mclk_rate; in pxa_camera_pdata_from_dt() local
2239 &mclk_rate); in pxa_camera_pdata_from_dt()
2242 pcdev->mclk = mclk_rate; in pxa_camera_pdata_from_dt()