Lines Matching refs:t

250 static int bcmbca_hsspi_do_txrx(struct spi_device *spi, struct spi_transfer *t,  in bcmbca_hsspi_do_txrx()  argument
256 int pending = t->len; in bcmbca_hsspi_do_txrx()
258 const u8 *tx = t->tx_buf; in bcmbca_hsspi_do_txrx()
259 u8 *rx = t->rx_buf; in bcmbca_hsspi_do_txrx()
262 bcmbca_hsspi_set_clk(bs, spi, t->speed_hz); in bcmbca_hsspi_do_txrx()
274 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcmbca_hsspi_do_txrx()
275 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcmbca_hsspi_do_txrx()
278 if (t->rx_nbits == SPI_NBITS_DUAL) in bcmbca_hsspi_do_txrx()
280 if (t->tx_nbits == SPI_NBITS_DUAL) in bcmbca_hsspi_do_txrx()
373 struct spi_transfer *t; in bcmbca_hsspi_transfer_one() local
379 list_for_each_entry(t, &msg->transfers, transfer_list) { in bcmbca_hsspi_transfer_one()
380 status = bcmbca_hsspi_do_txrx(spi, t, msg); in bcmbca_hsspi_transfer_one()
384 spi_transfer_delay_exec(t); in bcmbca_hsspi_transfer_one()
386 if (t->cs_change) { in bcmbca_hsspi_transfer_one()
387 if (list_is_last(&t->transfer_list, &msg->transfers)) { in bcmbca_hsspi_transfer_one()
390 if (!t->cs_off) in bcmbca_hsspi_transfer_one()
393 spi_transfer_cs_change_delay_exec(msg, t); in bcmbca_hsspi_transfer_one()
395 if (!list_next_entry(t, transfer_list)->cs_off) in bcmbca_hsspi_transfer_one()
398 } else if (!list_is_last(&t->transfer_list, &msg->transfers) && in bcmbca_hsspi_transfer_one()
399 t->cs_off != list_next_entry(t, transfer_list)->cs_off) { in bcmbca_hsspi_transfer_one()
400 bcmbca_hsspi_set_cs(bs, spi_get_chipselect(spi, 0), t->cs_off); in bcmbca_hsspi_transfer_one()
403 msg->actual_length += t->len; in bcmbca_hsspi_transfer_one()