Searched refs:spi_clk_hz (Results 1 – 1 of 1) sorted by relevance
152 * @spi_clk_hz: Current SPI clock in Hz172 u32 spi_clk_hz; member 311 setup = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing() 316 hold = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing() 321 inactive = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing() 512 if (speed_hz < mdata->spi_clk_hz / 2) in mtk_spi_prepare_transfer() 513 div = DIV_ROUND_UP(mdata->spi_clk_hz, speed_hz); in mtk_spi_prepare_transfer() 1267 mdata->spi_clk_hz = clk_get_rate(mdata->spi_clk); in mtk_spi_probe()