Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/include/uapi/linux/spi/
Dspidev.h80 __u8 tx_nbits; member
/linux-6.1.9/drivers/spi/
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-stm32-qspi.c584 transfer->tx_buf, transfer->tx_nbits, in stm32_qspi_transfer_one_message()
594 op.dummy.buswidth = transfer->tx_nbits; in stm32_qspi_transfer_one_message()
616 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()
Dspidev.c272 k_tmp->tx_nbits = u_tmp->tx_nbits; in spidev_message()
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()
Dspi.c3859 if (xfer->tx_buf && !xfer->tx_nbits) in __spi_validate()
3860 xfer->tx_nbits = SPI_NBITS_SINGLE; in __spi_validate()
3871 if (xfer->tx_nbits != SPI_NBITS_SINGLE && in __spi_validate()
3872 xfer->tx_nbits != SPI_NBITS_DUAL && in __spi_validate()
3873 xfer->tx_nbits != SPI_NBITS_QUAD) in __spi_validate()
3875 if ((xfer->tx_nbits == SPI_NBITS_DUAL) && in __spi_validate()
3878 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.c802 static void zynqmp_qspi_write_op(struct zynqmp_qspi *xqspi, u8 tx_nbits, in zynqmp_qspi_write_op() argument
807 zynqmp_qspi_fillgenfifo(xqspi, tx_nbits, genfifoentry); in zynqmp_qspi_write_op()
Dspi-bcm63xx-hsspi.c181 (opcode == HSSPI_OP_WRITE && t->tx_nbits == SPI_NBITS_DUAL)) in bcm63xx_hsspi_do_txrx()
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-qcom-qspi.c286 ctrl->xfer.buswidth = xfer->tx_nbits; in qcom_qspi_transfer_one()
Dspi-pic32-sqi.c279 nbits = xfer->tx_nbits; in pic32_sqi_one_transfer()
Dspi-armada-3700.c608 nbits = xfer->tx_nbits; in a3700_spi_transfer_one_fifo()
Dspi-tegra210-quad.c896 bus_width = t->tx_nbits; in tegra_qspi_start_transfer_one()
1213 u32 dummy_cycles = next_xfer->len * 8 / next_xfer->tx_nbits; in tegra_qspi_non_combined_seq_xfer()
Dspi-tegra114.c879 if (t->rx_nbits == SPI_NBITS_DUAL || t->tx_nbits == SPI_NBITS_DUAL) in tegra_spi_start_transfer_one()
Dspi-bcm-qspi.c1171 t[0].tx_nbits = op->cmd.buswidth; in bcm_qspi_mspi_exec_mem_op()
/linux-6.1.9/include/linux/spi/
Dspi.h968 unsigned tx_nbits:3; member
/linux-6.1.9/drivers/net/ieee802154/
Dca8210.c902 cas_ctl->transfer.tx_nbits = 1; /* 1 MOSI line */ in ca8210_spi_transfer()