/linux/drivers/spi/ |
H A D | spi-fsl-espi.c | 369 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 D | spi-bcm63xx-hsspi.c | 378 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 D | spi-bcmbca-hsspi.c | 274 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 D | spi-img-spfi.c | 470 xfer->rx_nbits == SPI_NBITS_DUAL) in img_spfi_config() 473 xfer->rx_nbits == SPI_NBITS_QUAD) in img_spfi_config()
|
H A D | spi-synquacer.c | 238 (xfer->rx_nbits != 1 || xfer->tx_nbits != 1)) { in synquacer_spi_config() 248 bus_width = xfer->rx_nbits; in synquacer_spi_config()
|
H A D | spidev.c | 283 k_tmp->rx_nbits = u_tmp->rx_nbits; in spidev_message()
|
H A D | spi.c | 4121 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 D | spi-sifive.c | 178 mode = max_t(unsigned int, t->rx_nbits, t->tx_nbits); in sifive_spi_prep_transfer()
|
H A D | spi-stm32-qspi.c | 584 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 D | spi-zynqmp-gqspi.c | 932 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 D | spi-rspi.c | 873 } else if (xfer->rx_nbits > SPI_NBITS_SINGLE) { in qspi_transfer_one() 894 switch (xfer->rx_nbits) { in qspi_transfer_mode()
|
H A D | spi-pic32-sqi.c | 275 nbits = xfer->rx_nbits; in pic32_sqi_one_transfer()
|
H A D | spi-armada-3700.c | 609 nbits = xfer->rx_nbits; in a3700_spi_transfer_one_fifo()
|
H A D | spi-sun6i.c | 441 nbits = tfr->rx_nbits; in sun6i_spi_transfer_one()
|
H A D | spi-qcom-qspi.c | 438 ctrl->xfer.buswidth = xfer->rx_nbits; in qcom_qspi_transfer_one()
|
H A D | spi-mem.c | 443 xfers[xferpos].rx_nbits = op->data.buswidth; in spi_mem_exec_op()
|
H A D | spi-ti-qspi.c | 322 switch (t->rx_nbits) { in qspi_read_msg()
|
H A D | spi-tegra114.c | 874 if (t->rx_nbits == SPI_NBITS_DUAL || t->tx_nbits == SPI_NBITS_DUAL) in tegra_spi_start_transfer_one()
|
H A D | spi-bcm-qspi.c | 1182 t[1].rx_nbits = op->data.buswidth; in bcm_qspi_mspi_exec_mem_op()
|
H A D | spi-tegra210-quad.c | 891 bus_width = t->rx_nbits; in tegra_qspi_start_transfer_one()
|
/linux/tools/spi/ |
H A D | spidev_test.c | 138 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 D | spidev.h | 81 __u8 rx_nbits; member
|
/linux/include/linux/spi/ |
H A D | spi.h | 1102 unsigned rx_nbits:4; member
|
/linux/drivers/net/ieee802154/ |
H A D | ca8210.c | 903 cas_ctl->transfer.rx_nbits = 1; /* 1 MISO line */ in ca8210_spi_transfer()
|