Searched refs:max_tran_len (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/spi/ |
D | fsl_espi.c | 253 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()
|
D | atcspi200_spi.c | 196 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()
|