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