Searched refs:ssp_clk (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/clk/mxs/ |
H A D | clk-ssp.c | 29 unsigned int ssp_clk, ssp_sck; mxs_ssp_set_clk_rate() local 33 ssp_clk = clk_get_rate(ssp->clk); mxs_ssp_set_clk_rate() 36 clock_rate = DIV_ROUND_UP(ssp_clk, rate * clock_divide); mxs_ssp_set_clk_rate() 48 ssp_sck = ssp_clk / clock_divide / (1 + clock_rate); mxs_ssp_set_clk_rate() 59 "%s: clock_divide %d, clock_rate %d, ssp_clk %d, rate_actual %d, rate_requested %d\n", mxs_ssp_set_clk_rate() 60 __func__, clock_divide, clock_rate, ssp_clk, ssp_sck, rate); mxs_ssp_set_clk_rate()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-pxa2xx.c | 305 * the output must be selected first and wait 2 ssp_clk lpss_ssp_cs_control() 850 unsigned long ssp_clk = drv_data->master->max_speed_hz; ssp_get_clk_div() local 853 rate = min_t(int, ssp_clk, rate); ssp_get_clk_div() 856 return (ssp_clk / (2 * rate) - 1) & 0xff; ssp_get_clk_div() 858 return (ssp_clk / rate - 1) & 0xfff; ssp_get_clk_div()
|
/linux-4.4.14/drivers/clk/spear/ |
H A D | spear1340_clock.c | 866 clk = clk_register_gate(NULL, "ssp_clk", "apb_clk", 0, spear1340_clk_init()
|
Completed in 200 milliseconds