Home
last modified time | relevance | path

Searched refs:CLK_TO_US (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/spi/
H A Dspi-mtk-nor.c100 #define CLK_TO_US(sp, clkcnt) DIV_ROUND_UP(clkcnt, sp->spi_freq / 1000000) macro
142 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()