Home
last modified time | relevance | path

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

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