Lines Matching refs:xfer
117 #define spi_valid_txbuf(msg, xfer) \ argument
118 (xfer->tx_buf && xfer->tx_buf != msg->spi->controller->dummy_tx)
119 #define spi_valid_rxbuf(msg, xfer) \ argument
120 (xfer->rx_buf && xfer->rx_buf != msg->spi->controller->dummy_rx)
124 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer),
126 TP_ARGS(msg, xfer),
131 __field( struct spi_transfer *, xfer )
134 spi_valid_rxbuf(msg, xfer) ?
135 (xfer->len < 64 ? xfer->len : 64) : 0)
137 spi_valid_txbuf(msg, xfer) ?
138 (xfer->len < 64 ? xfer->len : 64) : 0)
144 __entry->xfer = xfer;
145 __entry->len = xfer->len;
147 if (spi_valid_txbuf(msg, xfer))
149 xfer->tx_buf, __get_dynamic_array_len(tx_buf));
151 if (spi_valid_rxbuf(msg, xfer))
153 xfer->rx_buf, __get_dynamic_array_len(rx_buf));
158 __entry->xfer, __entry->len,
165 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer),
167 TP_ARGS(msg, xfer)
173 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer),
175 TP_ARGS(msg, xfer)