Searched refs:CLK_TO_US (Results 1 – 1 of 1) sorted by relevance
100 #define CLK_TO_US(sp, clkcnt) DIV_ROUND_UP(clkcnt, sp->spi_freq / 1000000) macro142 ulong delay = CLK_TO_US(sp, clk); in mtk_nor_cmd_exec()391 delay = CLK_TO_US(sp, (length + 5) * BITS_PER_BYTE); in mtk_nor_dma_exec()