Searched refs:max_tran_len (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/spi/ |
H A D | fsl_espi.c | 248 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 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()
|