Home
last modified time | relevance | path

Searched refs:tx_cmd_sz (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/dev/flash/
H A Dmx25l.c173 cmd.tx_cmd_sz = 2; in mx25l_wait_for_device_ready()
200 cmd.tx_cmd_sz = 4; in mx25l_get_device_ident()
236 cmd.tx_cmd_sz = 1; in mx25l_set_writable()
267 cmd.tx_cmd_sz = 5; in mx25l_erase_cmd()
274 cmd.tx_cmd_sz = 4; in mx25l_erase_cmd()
294 cmd.tx_cmd_sz = 5; in mx25l_write()
297 cmd.tx_cmd_sz = 4; in mx25l_write()
382 cmd.tx_cmd_sz = 6; in mx25l_read()
392 cmd.tx_cmd_sz = 5; in mx25l_read()
424 cmd.tx_cmd_sz = cmd.rx_cmd_sz = 1; in mx25l_set_4b_mode()
H A Dat45d.c179 cmd.rx_cmd_sz = cmd.tx_cmd_sz = 2; in at45d_get_status()
199 cmd.tx_cmd_sz = cmd.rx_cmd_sz = 7; in at45d_get_mfg_info()
481 cmd.tx_cmd_sz = cmd.rx_cmd_sz = 8; in at45d_task()
486 cmd.tx_cmd_sz = cmd.rx_cmd_sz = 4; in at45d_task()
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_espi.c237 if (written >= cmd->tx_cmd_sz) { in fsl_espi_fill_fifo()
239 written -= cmd->tx_cmd_sz; in fsl_espi_fill_fifo()
309 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_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/bhnd/cores/chipc/
H A Dchipc_spi.c218 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in chipc_spi_transfer()
223 if (cmd->tx_cmd_sz == 0) { in chipc_spi_transfer()
237 for (i = 0; i < cmd->tx_cmd_sz; i++) in chipc_spi_transfer()
/freebsd/sys/arm/xilinx/
H A Dzy7_spi.c154 if (sc->tx_bytes_sent < sc->cmd->tx_cmd_sz) in zy7_spi_write_fifo()
161 (sc->tx_bytes_sent - sc->cmd->tx_cmd_sz)); in zy7_spi_write_fifo()
502 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in zy7_spi_transfer()
531 sc->tx_bytes = sc->cmd->tx_cmd_sz + sc->cmd->tx_data_sz; in zy7_spi_transfer()
H A Dzy7_qspi.c232 if (sc->tx_bytes_sent < sc->cmd->tx_cmd_sz) { in zy7_qspi_write_fifo()
234 n = MIN(nvalid, sc->cmd->tx_cmd_sz - in zy7_qspi_write_fifo()
247 (sc->tx_bytes_sent - sc->cmd->tx_cmd_sz), nvalid); in zy7_qspi_write_fifo()
664 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in zy7_qspi_transfer()
689 sc->tx_bytes = sc->cmd->tx_cmd_sz + sc->cmd->tx_data_sz; in zy7_qspi_transfer()
/freebsd/sys/dev/xilinx/
H A Daxi_quad_spi.c185 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in spi_transfer()
201 spi_txrx(sc, cmd->tx_cmd, cmd->rx_cmd, cmd->tx_cmd_sz, cs); in spi_transfer()
/freebsd/sys/dev/intel/
H A Dspi.c198 if (written >= cmd->tx_cmd_sz) { in intelspi_fill_tx_fifo()
200 written -= cmd->tx_cmd_sz; in intelspi_fill_tx_fifo()
352 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in intelspi_transfer()
427 sc->sc_len = cmd->tx_cmd_sz + cmd->tx_data_sz; in intelspi_transfer()
/freebsd/sys/riscv/sifive/
H A Dsifive_spi.c256 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in sfspi_transfer()
281 if (cmd->tx_cmd_sz > 0) in sfspi_transfer()
283 cmd->tx_cmd_sz, cmd->rx_cmd_sz); in sfspi_transfer()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_spi.c254 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in spi_transfer()
265 spi_txrx(sc, cmd->tx_cmd, cmd->rx_cmd, cmd->tx_cmd_sz, cs); in spi_transfer()
/freebsd/sys/dev/spibus/
H A Dspi.h28 uint32_t tx_cmd_sz; member
H A Dspigen.c204 transfer.tx_cmd_sz = transfer.rx_cmd_sz = st->st_command.iov_len); in spigen_transfer()
239 transfer.tx_cmd_sz = transfer.rx_cmd_sz = stm->stm_command_length; in spigen_transfer_mmapped()
/freebsd/sys/dev/gpio/
H A Dgpiospi.c331 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, in gpio_spi_transfer()
354 for (i = 0; i < cmd->tx_cmd_sz; i++) in gpio_spi_transfer()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c438 if (cmd->tx_cmd_sz > 0) in rk_spi_transfer()
440 cmd->tx_cmd_sz); in rk_spi_transfer()
/freebsd/sys/dev/atopcase/
H A Datopcase.c113 cmd.tx_cmd_sz = sizeof(dummy_buffer); in atopcase_receive_status()
220 cmd.tx_cmd_sz = sizeof(struct atopcase_packet); in atopcase_receive_packet()
323 cmd.tx_cmd_sz = sizeof(struct atopcase_packet); in atopcase_send()
/freebsd/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c564 if (cmd->tx_cmd_sz > 0) in aw_spi_transfer()
566 cmd->tx_cmd_sz, cmd->rx_cmd_sz); in aw_spi_transfer()
/freebsd/sys/dev/qcom_qup/
H A Dqcom_spi.c724 cmd->tx_cmd_sz, cmd->rx_cmd_sz, in qcom_spi_transfer()
787 cmd->tx_cmd_sz, cmd->rx_cmd, cmd->rx_cmd_sz); in qcom_spi_transfer()
/freebsd/sys/dev/etherswitch/micrel/
H A Dksz8995ma.c866 cmd.tx_cmd_sz = 3; in ksz8995ma_readreg()
892 cmd.tx_cmd_sz = 3; in ksz8995ma_writereg()