Lines Matching refs:k_tmp
215 struct spi_transfer *k_tmp;
222 k_xfers = kcalloc(n_xfers, sizeof(*k_tmp), GFP_KERNEL);
235 for (n = n_xfers, k_tmp = k_xfers, u_tmp = u_xfers;
237 n--, k_tmp++, u_tmp++) {
243 k_tmp->len = u_tmp->len;
245 total += k_tmp->len;
251 if (total > INT_MAX || k_tmp->len > INT_MAX) {
263 k_tmp->rx_buf = rx_buf;
273 k_tmp->tx_buf = tx_buf;
281 k_tmp->cs_change = !!u_tmp->cs_change;
282 k_tmp->tx_nbits = u_tmp->tx_nbits;
283 k_tmp->rx_nbits = u_tmp->rx_nbits;
284 k_tmp->bits_per_word = u_tmp->bits_per_word;
285 k_tmp->delay.value = u_tmp->delay_usecs;
286 k_tmp->delay.unit = SPI_DELAY_UNIT_USECS;
287 k_tmp->speed_hz = u_tmp->speed_hz;
288 k_tmp->word_delay.value = u_tmp->word_delay_usecs;
289 k_tmp->word_delay.unit = SPI_DELAY_UNIT_USECS;
290 if (!k_tmp->speed_hz)
291 k_tmp->speed_hz = spidev->speed_hz;
295 k_tmp->len,
296 k_tmp->rx_buf ? "rx " : "",
297 k_tmp->tx_buf ? "tx " : "",
298 k_tmp->cs_change ? "cs " : "",
299 k_tmp->bits_per_word ? : spidev->spi->bits_per_word,
300 k_tmp->delay.value,
301 k_tmp->word_delay.value,
302 k_tmp->speed_hz ? : spidev->spi->max_speed_hz);
304 spi_message_add_tail(k_tmp, &msg);
312 for (n = n_xfers, k_tmp = k_xfers, u_tmp = u_xfers;
314 n--, k_tmp++, u_tmp++) {
317 (uintptr_t) u_tmp->rx_buf, k_tmp->rx_buf,