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