Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-bcm63xx-hsspi.c300 if (t->tx_nbits > SPI_NBITS_SINGLE && in bcm63xx_prepare_prepend_transfer()
307 if (t->tx_nbits == SPI_NBITS_SINGLE) { in bcm63xx_prepare_prepend_transfer()
322 if (tx_only && t->tx_nbits == SPI_NBITS_SINGLE) { in bcm63xx_prepare_prepend_transfer()
379 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcm63xx_hsspi_do_prepend_txrx()
386 if (t->tx_nbits == SPI_NBITS_DUAL) { in bcm63xx_hsspi_do_prepend_txrx()
494 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcm63xx_hsspi_do_txrx()
499 if (t->tx_nbits == SPI_NBITS_DUAL) in bcm63xx_hsspi_do_txrx()
Dspi-mem.c362 xfers[xferpos].tx_nbits = op->cmd.buswidth; in spi_mem_exec_op()
376 xfers[xferpos].tx_nbits = op->addr.buswidth; in spi_mem_exec_op()
386 xfers[xferpos].tx_nbits = op->dummy.buswidth; in spi_mem_exec_op()
399 xfers[xferpos].tx_nbits = op->data.buswidth; in spi_mem_exec_op()
Dspi-rb4xx.c120 if (t->tx_nbits == SPI_NBITS_DUAL) in rb4xx_transfer_one()
Dspi-bcmbca-hsspi.c275 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) { in bcmbca_hsspi_do_txrx()
280 if (t->tx_nbits == SPI_NBITS_DUAL) in bcmbca_hsspi_do_txrx()
Dspi-stm32-qspi.c583 transfer->tx_buf, transfer->tx_nbits, in stm32_qspi_transfer_one_message()
593 op.dummy.buswidth = transfer->tx_nbits; in stm32_qspi_transfer_one_message()
615 op.data.buswidth = transfer->tx_nbits; in stm32_qspi_transfer_one_message()
Dspi-img-spfi.c469 if (xfer->tx_nbits == SPI_NBITS_DUAL && in img_spfi_config()
472 else if (xfer->tx_nbits == SPI_NBITS_QUAD && in img_spfi_config()
Dspi-synquacer.c238 (xfer->rx_nbits != 1 || xfer->tx_nbits != 1)) { in synquacer_spi_config()
245 bus_width = xfer->tx_nbits; in synquacer_spi_config()
Dspidev.c282 k_tmp->tx_nbits = u_tmp->tx_nbits; in spidev_message()
Dspi.c3962 if (xfer->tx_buf && !xfer->tx_nbits) in __spi_validate()
3963 xfer->tx_nbits = SPI_NBITS_SINGLE; in __spi_validate()
3974 if (xfer->tx_nbits != SPI_NBITS_SINGLE && in __spi_validate()
3975 xfer->tx_nbits != SPI_NBITS_DUAL && in __spi_validate()
3976 xfer->tx_nbits != SPI_NBITS_QUAD) in __spi_validate()
3978 if ((xfer->tx_nbits == SPI_NBITS_DUAL) && in __spi_validate()
3981 if ((xfer->tx_nbits == SPI_NBITS_QUAD) && in __spi_validate()
Dspi-sifive.c178 mode = max_t(unsigned int, t->rx_nbits, t->tx_nbits); in sifive_spi_prep_transfer()
Dspi-zynqmp-gqspi.c905 static void zynqmp_qspi_write_op(struct zynqmp_qspi *xqspi, u8 tx_nbits, in zynqmp_qspi_write_op() argument
910 zynqmp_qspi_fillgenfifo(xqspi, tx_nbits, genfifoentry); in zynqmp_qspi_write_op()
Dspi-rspi.c871 } else if (xfer->tx_nbits > SPI_NBITS_SINGLE) { in qspi_transfer_one()
886 switch (xfer->tx_nbits) { in qspi_transfer_mode()
Dspi-pic32-sqi.c279 nbits = xfer->tx_nbits; in pic32_sqi_one_transfer()
Dspi-armada-3700.c607 nbits = xfer->tx_nbits; in a3700_spi_transfer_one_fifo()
Dspi-sun6i.c438 nbits = tfr->tx_nbits; in sun6i_spi_transfer_one()
Dspi-tegra210-quad.c897 bus_width = t->tx_nbits; in tegra_qspi_start_transfer_one()
1226 u32 dummy_cycles = next_xfer->len * 8 / next_xfer->tx_nbits; in tegra_qspi_non_combined_seq_xfer()
Dspi-qcom-qspi.c442 ctrl->xfer.buswidth = xfer->tx_nbits; in qcom_qspi_transfer_one()
Dspi-bcm-qspi.c1171 t[0].tx_nbits = op->cmd.buswidth; in bcm_qspi_mspi_exec_mem_op()
Dspi-tegra114.c874 if (t->rx_nbits == SPI_NBITS_DUAL || t->tx_nbits == SPI_NBITS_DUAL) in tegra_spi_start_transfer_one()
/Linux-v6.6/tools/spi/
Dspidev_test.c132 tr.tx_nbits = 8; in transfer()
134 tr.tx_nbits = 4; in transfer()
136 tr.tx_nbits = 2; in transfer()
/Linux-v6.6/include/uapi/linux/spi/
Dspidev.h80 __u8 tx_nbits; member
/Linux-v6.6/include/linux/spi/
Dspi.h1051 unsigned tx_nbits:3; member
/Linux-v6.6/drivers/net/ieee802154/
Dca8210.c902 cas_ctl->transfer.tx_nbits = 1; /* 1 MOSI line */ in ca8210_spi_transfer()