Searched refs:tx_data_sz (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/dev/xilinx/ |
H A D | axi_quad_spi.c | 187 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 D | sifive_spi.c | 258 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 D | vf_spi.c | 256 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 D | chipc_spi.c | 220 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 D | fsl_espi.c | 311 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 D | spi.h | 32 uint32_t tx_data_sz; member
|
H A D | spigen.c | 207 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 D | zy7_qspi.c | 666 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 D | zy7_spi.c | 504 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 D | at45d.c | 518 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 D | mx25l.c | 337 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 D | gpiospi.c | 333 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 D | qcom_spi.c | 725 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 D | rk_spi.c | 441 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 D | spi.c | 354 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 D | aw_spi.c | 567 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()
|