Lines Matching refs:max_chunk
765 size_t chunk, max_chunk = dbi->tx_buf9_len; in mipi_dbi_spi1e_transfer() local
778 __func__, dc, max_chunk); in mipi_dbi_spi1e_transfer()
797 max_chunk = max_chunk / 9 * 8; in mipi_dbi_spi1e_transfer()
799 max_chunk = min(max_chunk, len); in mipi_dbi_spi1e_transfer()
801 max_chunk = max_t(size_t, 8, max_chunk & ~0x7); in mipi_dbi_spi1e_transfer()
806 chunk = min(len, max_chunk); in mipi_dbi_spi1e_transfer()
889 size_t max_chunk; in mipi_dbi_spi1_transfer() local
897 max_chunk = dbi->tx_buf9_len; in mipi_dbi_spi1_transfer()
902 __func__, dc, max_chunk); in mipi_dbi_spi1_transfer()
904 max_chunk = min(max_chunk / 2, len); in mipi_dbi_spi1_transfer()
910 size_t chunk = min(len, max_chunk); in mipi_dbi_spi1_transfer()
1193 size_t max_chunk = spi_max_transfer_size(spi); in mipi_dbi_spi_transfer() local
1207 max_chunk = ALIGN_DOWN(max_chunk, 2); in mipi_dbi_spi_transfer()
1212 chunk = min(len, max_chunk); in mipi_dbi_spi_transfer()