Lines Matching refs:k_tmp
204 struct spi_transfer *k_tmp;
211 k_xfers = kcalloc(n_xfers, sizeof(*k_tmp), GFP_KERNEL);
224 for (n = n_xfers, k_tmp = k_xfers, u_tmp = u_xfers;
226 n--, k_tmp++, u_tmp++) {
232 k_tmp->len = u_tmp->len;
234 total += k_tmp->len;
240 if (total > INT_MAX || k_tmp->len > INT_MAX) {
252 k_tmp->rx_buf = rx_buf;
262 k_tmp->tx_buf = tx_buf;
270 k_tmp->cs_change = !!u_tmp->cs_change;
271 k_tmp->tx_nbits = u_tmp->tx_nbits;
272 k_tmp->rx_nbits = u_tmp->rx_nbits;
273 k_tmp->bits_per_word = u_tmp->bits_per_word;
274 k_tmp->delay.value = u_tmp->delay_usecs;
275 k_tmp->delay.unit = SPI_DELAY_UNIT_USECS;
276 k_tmp->speed_hz = u_tmp->speed_hz;
277 k_tmp->word_delay.value = u_tmp->word_delay_usecs;
278 k_tmp->word_delay.unit = SPI_DELAY_UNIT_USECS;
279 if (!k_tmp->speed_hz)
280 k_tmp->speed_hz = spidev->speed_hz;
284 k_tmp->len,
285 k_tmp->rx_buf ? "rx " : "",
286 k_tmp->tx_buf ? "tx " : "",
287 k_tmp->cs_change ? "cs " : "",
288 k_tmp->bits_per_word ? : spidev->spi->bits_per_word,
289 k_tmp->delay.value,
290 k_tmp->word_delay.value,
291 k_tmp->speed_hz ? : spidev->spi->max_speed_hz);
293 spi_message_add_tail(k_tmp, &msg);
301 for (n = n_xfers, k_tmp = k_xfers, u_tmp = u_xfers;
303 n--, k_tmp++, u_tmp++) {
306 (uintptr_t) u_tmp->rx_buf, k_tmp->rx_buf,