Home
last modified time | relevance | path

Searched refs:rx_nbits (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/spi/
H A Dspi-fsl-espi.c369 if (t->rx_nbits == SPI_NBITS_DUAL) in fsl_espi_bufs()
417 if (trans->rx_nbits == SPI_NBITS_DUAL && !espi->rxskip) { in fsl_espi_trans()
438 unsigned int rx_nbits = 0, delay_nsecs = 0; in fsl_espi_do_one_msg() local
451 if (t->rx_nbits > rx_nbits) in fsl_espi_do_one_msg()
452 rx_nbits = t->rx_nbits; in fsl_espi_do_one_msg()
463 trans.rx_nbits = rx_nbits; in fsl_espi_do_one_msg()
H A Dspi-bcm63xx-hsspi.c378 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcm63xx_hsspi_do_prepend_txrx()
382 if (t->rx_nbits == SPI_NBITS_DUAL) { in bcm63xx_hsspi_do_prepend_txrx()
493 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcm63xx_hsspi_do_txrx()
497 if (t->rx_nbits == SPI_NBITS_DUAL) in bcm63xx_hsspi_do_txrx()
H A Dspi-bcmbca-hsspi.c274 if ((opcode == HSSPI_OP_READ && t->rx_nbits == SPI_NBITS_DUAL) || in bcmbca_hsspi_do_txrx()
278 if (t->rx_nbits == SPI_NBITS_DUAL) in bcmbca_hsspi_do_txrx()
H A Dspi-img-spfi.c470 xfer->rx_nbits == SPI_NBITS_DUAL) in img_spfi_config()
473 xfer->rx_nbits == SPI_NBITS_QUAD) in img_spfi_config()
H A Dspi-synquacer.c238 (xfer->rx_nbits != 1 || xfer->tx_nbits != 1)) { in synquacer_spi_config()
248 bus_width = xfer->rx_nbits; in synquacer_spi_config()
H A Dspidev.c283 k_tmp->rx_nbits = u_tmp->rx_nbits; in spidev_message()
H A Dspi.c4121 if (xfer->rx_buf && !xfer->rx_nbits) in __spi_validate()
4122 xfer->rx_nbits = SPI_NBITS_SINGLE; in __spi_validate()
4147 if (xfer->rx_nbits != SPI_NBITS_SINGLE && in __spi_validate()
4148 xfer->rx_nbits != SPI_NBITS_DUAL && in __spi_validate()
4149 xfer->rx_nbits != SPI_NBITS_QUAD && in __spi_validate()
4150 xfer->rx_nbits != SPI_NBITS_OCTAL) in __spi_validate()
4152 if ((xfer->rx_nbits == SPI_NBITS_DUAL) && in __spi_validate()
4155 if ((xfer->rx_nbits == SPI_NBITS_QUAD) && in __spi_validate()
H A Dspi-sifive.c178 mode = max_t(unsigned int, t->rx_nbits, t->tx_nbits); in sifive_spi_prep_transfer()
H A Dspi-stm32-qspi.c584 transfer->rx_buf, transfer->rx_nbits, in stm32_qspi_transfer_one_message()
610 op.data.buswidth = transfer->rx_nbits; in stm32_qspi_transfer_one_message()
H A Dspi-zynqmp-gqspi.c932 static int zynqmp_qspi_read_op(struct zynqmp_qspi *xqspi, u8 rx_nbits, in zynqmp_qspi_read_op() argument
940 zynqmp_qspi_fillgenfifo(xqspi, rx_nbits, genfifoentry); in zynqmp_qspi_read_op()
H A Dspi-rspi.c873 } else if (xfer->rx_nbits > SPI_NBITS_SINGLE) { in qspi_transfer_one()
894 switch (xfer->rx_nbits) { in qspi_transfer_mode()
H A Dspi-pic32-sqi.c275 nbits = xfer->rx_nbits; in pic32_sqi_one_transfer()
H A Dspi-armada-3700.c609 nbits = xfer->rx_nbits; in a3700_spi_transfer_one_fifo()
H A Dspi-sun6i.c441 nbits = tfr->rx_nbits; in sun6i_spi_transfer_one()
H A Dspi-qcom-qspi.c438 ctrl->xfer.buswidth = xfer->rx_nbits; in qcom_qspi_transfer_one()
H A Dspi-mem.c443 xfers[xferpos].rx_nbits = op->data.buswidth; in spi_mem_exec_op()
H A Dspi-ti-qspi.c322 switch (t->rx_nbits) { in qspi_read_msg()
H A Dspi-tegra114.c874 if (t->rx_nbits == SPI_NBITS_DUAL || t->tx_nbits == SPI_NBITS_DUAL) in tegra_spi_start_transfer_one()
H A Dspi-bcm-qspi.c1182 t[1].rx_nbits = op->data.buswidth; in bcm_qspi_mspi_exec_mem_op()
H A Dspi-tegra210-quad.c891 bus_width = t->rx_nbits; in tegra_qspi_start_transfer_one()
/linux/tools/spi/
H A Dspidev_test.c138 tr.rx_nbits = 8; in transfer()
140 tr.rx_nbits = 4; in transfer()
142 tr.rx_nbits = 2; in transfer()
/linux/include/uapi/linux/spi/
H A Dspidev.h81 __u8 rx_nbits; member
/linux/include/linux/spi/
H A Dspi.h1102 unsigned rx_nbits:4; member
/linux/drivers/net/ieee802154/
H A Dca8210.c903 cas_ctl->transfer.rx_nbits = 1; /* 1 MISO line */ in ca8210_spi_transfer()