Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A Dfsl_espi.c248 int num_blks, num_chunks, max_tran_len, tran_len; in spi_xfer() local
258 max_tran_len = fsl->max_transfer_length; in spi_xfer()
270 buf_len = 2 * cmd_len + min(data_len, (size_t)max_tran_len); in spi_xfer()
298 num_chunks = DIV_ROUND_UP(data_len, max_tran_len); in spi_xfer()
303 tran_len = min(data_len, (size_t)max_tran_len); in spi_xfer()
H A 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()