Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/greybus/
H A Dspilib.c60 static size_t calc_rx_xfer_size(u32 rx_size, u32 *tx_xfer_size, u32 len, in calc_rx_xfer_size() argument
73 if (*tx_xfer_size && rx_xfer_size > *tx_xfer_size) in calc_rx_xfer_size()
74 rx_xfer_size = *tx_xfer_size; in calc_rx_xfer_size()
75 if (*tx_xfer_size && rx_xfer_size < *tx_xfer_size) in calc_rx_xfer_size()
76 *tx_xfer_size = rx_xfer_size; in calc_rx_xfer_size()
171 u32 tx_xfer_size = 0, rx_xfer_size = 0, len; in gb_spi_operation_create() local
193 tx_xfer_size = 0; in gb_spi_operation_create()
200 tx_xfer_size = calc_tx_xfer_size(tx_size, count, in gb_spi_operation_create()
202 spi->last_xfer_size = tx_xfer_size; in gb_spi_operation_create()
207 rx_xfer_size = calc_rx_xfer_size(rx_size, &tx_xfer_size, in gb_spi_operation_create()
[all …]