Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/spi/
H A Datcspi200_spi.c197 int num_blks, num_chunks, max_tran_len, tran_len; in __atcspi200_spi_xfer() local
241 num_blks = DIV_ROUND_UP(tran_len , CHUNK_SIZE); in __atcspi200_spi_xfer()
247 while (num_blks) { in __atcspi200_spi_xfer()
251 num_blks -= CHUNK_SIZE; in __atcspi200_spi_xfer()
259 else if (num_blks == 1 && rf_cnt == num_bytes) in __atcspi200_spi_xfer()
265 num_blks -= CHUNK_SIZE; in __atcspi200_spi_xfer()
H A Dfsl_espi.c254 int num_blks, num_chunks, max_tran_len, tran_len; in spi_xfer() local
310 num_blks = DIV_ROUND_UP(tran_len + cmd_len, 4); in spi_xfer()
318 while (num_blks) { in spi_xfer()
335 else if (num_blks == 1 && rf_cnt == num_bytes) in spi_xfer()
341 num_blks--; in spi_xfer()