Home
last modified time | relevance | path

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

/external/u-boot/drivers/spi/
Dfsl_espi.c253 int num_blks, num_chunks, max_tran_len, tran_len; in spi_xfer() local
263 max_tran_len = fsl->max_transfer_length; in spi_xfer()
275 buf_len = 2 * cmd_len + min(data_len, (size_t)max_tran_len); in spi_xfer()
303 num_chunks = DIV_ROUND_UP(data_len, max_tran_len); in spi_xfer()
308 tran_len = min(data_len, (size_t)max_tran_len); in spi_xfer()
Datcspi200_spi.c196 int num_blks, num_chunks, max_tran_len, tran_len; in __atcspi200_spi_xfer() local
204 max_tran_len = ns->max_transfer_length; in __atcspi200_spi_xfer()
236 num_chunks = DIV_ROUND_UP(data_len, max_tran_len); in __atcspi200_spi_xfer()
240 tran_len = min((size_t)data_len, (size_t)max_tran_len); in __atcspi200_spi_xfer()