Home
last modified time | relevance | path

Searched refs:tx_data_sz (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/xilinx/
H A Daxi_quad_spi.c187 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in spi_transfer()
204 spi_txrx(sc, cmd->tx_data, cmd->rx_data, cmd->tx_data_sz, cs); in spi_transfer()
/freebsd/sys/riscv/sifive/
H A Dsifive_spi.c258 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in sfspi_transfer()
284 if (cmd->tx_data_sz > 0 && err == 0) in sfspi_transfer()
286 cmd->tx_data_sz, cmd->rx_data_sz); in sfspi_transfer()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_spi.c256 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in spi_transfer()
268 spi_txrx(sc, cmd->tx_data, cmd->rx_data, cmd->tx_data_sz, cs); in spi_transfer()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc_spi.c220 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in chipc_spi_transfer()
246 for (i = 0; i < cmd->tx_data_sz; i++) in chipc_spi_transfer()
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_espi.c311 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in fsl_espi_transfer()
315 if (cmd->tx_cmd_sz + cmd->tx_data_sz > ESPI_SPCOM_TRANLEN_M + 1) { in fsl_espi_transfer()
343 sc->sc_len = cmd->tx_cmd_sz + cmd->tx_data_sz; in fsl_espi_transfer()
/freebsd/sys/dev/spibus/
H A Dspi.h32 uint32_t tx_data_sz; member
H A Dspigen.c207 transfer.tx_data_sz = transfer.rx_data_sz = in spigen_transfer()
242 transfer.tx_data_sz = transfer.rx_data_sz = stm->stm_data_length; in spigen_transfer_mmapped()
/freebsd/sys/arm/xilinx/
H A Dzy7_qspi.c666 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in zy7_qspi_transfer()
669 if (sc->is_dual && cmd->tx_data_sz % 2 != 0) { in zy7_qspi_transfer()
671 "transfers in dual mode. (sz=%d)\n", cmd->tx_data_sz); in zy7_qspi_transfer()
689 sc->tx_bytes = sc->cmd->tx_cmd_sz + sc->cmd->tx_data_sz; in zy7_qspi_transfer()
H A Dzy7_spi.c504 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in zy7_spi_transfer()
531 sc->tx_bytes = sc->cmd->tx_cmd_sz + sc->cmd->tx_data_sz; in zy7_spi_transfer()
/freebsd/sys/dev/flash/
H A Dat45d.c518 cmd.tx_data_sz = cmd.rx_data_sz = 0; in at45d_task()
535 cmd.tx_data_sz = cmd.rx_data_sz = len; in at45d_task()
549 cmd.tx_data_sz = cmd.rx_data_sz = 0; in at45d_task()
H A Dmx25l.c337 cmd.tx_data_sz = (uint32_t)bytes_to_write; in mx25l_write()
406 cmd.tx_data_sz = count; in mx25l_read()
/freebsd/sys/dev/gpio/
H A Dgpiospi.c333 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in gpio_spi_transfer()
362 for (i = 0; i < cmd->tx_data_sz; i++) in gpio_spi_transfer()
/freebsd/sys/dev/qcom_qup/
H A Dqcom_spi.c725 cmd->tx_data_sz, cmd->rx_data_sz); in qcom_spi_transfer()
797 if (cmd->tx_data_sz > 0) { in qcom_spi_transfer()
799 cmd->tx_data_sz, cmd->rx_data, cmd->rx_data_sz); in qcom_spi_transfer()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c441 if (cmd->tx_data_sz > 0 && err == 0) in rk_spi_transfer()
443 cmd->tx_data_sz); in rk_spi_transfer()
/freebsd/sys/dev/intel/
H A Dspi.c354 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, in intelspi_transfer()
427 sc->sc_len = cmd->tx_cmd_sz + cmd->tx_data_sz; in intelspi_transfer()
/freebsd/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c567 if (cmd->tx_data_sz > 0 && err == 0) in aw_spi_transfer()
569 cmd->tx_data_sz, cmd->rx_data_sz); in aw_spi_transfer()