Searched refs:DLN2_SPI_MAX_XFER_SIZE (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-dln2.c75 #define DLN2_SPI_MAX_XFER_SIZE 256 macro
76 #define DLN2_SPI_BUF_SIZE (DLN2_SPI_MAX_XFER_SIZE + 16)
428 u8 buf[DLN2_SPI_MAX_XFER_SIZE]; dln2_spi_write_one()
434 if (data_len > DLN2_SPI_MAX_XFER_SIZE) dln2_spi_write_one()
443 tx_len = sizeof(*tx) + data_len - DLN2_SPI_MAX_XFER_SIZE; dln2_spi_write_one()
461 u8 buf[DLN2_SPI_MAX_XFER_SIZE]; dln2_spi_read_one()
467 if (data_len > DLN2_SPI_MAX_XFER_SIZE) dln2_spi_read_one()
499 u8 buf[DLN2_SPI_MAX_XFER_SIZE]; dln2_spi_read_write_one()
503 u8 buf[DLN2_SPI_MAX_XFER_SIZE]; dln2_spi_read_write_one()
510 if (data_len > DLN2_SPI_MAX_XFER_SIZE) dln2_spi_read_write_one()
527 tx_len = sizeof(*tx) + data_len - DLN2_SPI_MAX_XFER_SIZE; dln2_spi_read_write_one()
557 if (remaining > DLN2_SPI_MAX_XFER_SIZE) { dln2_spi_rdwr()
558 len = DLN2_SPI_MAX_XFER_SIZE; dln2_spi_rdwr()

Completed in 35 milliseconds