Searched refs:clk_cdiv (Results 1 – 1 of 1) sorted by relevance
37 u32 clk_cdiv; in spi_mid_init() local44 clk_cdiv = readl(clk_reg + dws->bus_num * sizeof(u32)); in spi_mid_init()45 clk_cdiv &= CLK_SPI_CDIV_MASK; in spi_mid_init()46 clk_cdiv >>= CLK_SPI_CDIV_OFFSET; in spi_mid_init()47 dws->max_freq = MRST_SPI_CLK_BASE / (clk_cdiv + 1); in spi_mid_init()
Completed in 4 milliseconds