Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_mipi_dbi.c854 size_t chunk, max_chunk = dbi->tx_buf9_len; in mipi_dbi_spi1e_transfer() local
867 __func__, dc, max_chunk); in mipi_dbi_spi1e_transfer()
886 max_chunk = max_chunk / 9 * 8; in mipi_dbi_spi1e_transfer()
888 max_chunk = min(max_chunk, len); in mipi_dbi_spi1e_transfer()
890 max_chunk = max_t(size_t, 8, max_chunk & ~0x7); in mipi_dbi_spi1e_transfer()
895 chunk = min(len, max_chunk); in mipi_dbi_spi1e_transfer()
978 size_t max_chunk; in mipi_dbi_spi1_transfer() local
986 max_chunk = dbi->tx_buf9_len; in mipi_dbi_spi1_transfer()
991 __func__, dc, max_chunk); in mipi_dbi_spi1_transfer()
993 max_chunk = min(max_chunk / 2, len); in mipi_dbi_spi1_transfer()
[all …]
/drivers/misc/eeprom/
Dat25.c82 size_t max_chunk = spi_max_transfer_size(at25->spi); in at25_ee_read() local
100 segment = min(bytes_left, max_chunk); in at25_ee_read()