Searched refs:spi_clk_hz (Results 1 – 1 of 1) sorted by relevance
168 u32 spi_clk_hz; member296 setup = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing()301 hold = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing()306 inactive = (delay * DIV_ROUND_UP(mdata->spi_clk_hz, 1000000)) / 1000; in mtk_spi_set_hw_cs_timing()487 if (speed_hz < mdata->spi_clk_hz / 2) in mtk_spi_prepare_transfer()488 div = DIV_ROUND_UP(mdata->spi_clk_hz, speed_hz); in mtk_spi_prepare_transfer()1229 mdata->spi_clk_hz = clk_get_rate(mdata->spi_clk); in mtk_spi_probe()