/freebsd/sys/dev/flash/ |
H A D | mx25l.c | 173 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 D | at45d.c | 179 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 D | fsl_espi.c | 237 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 D | chipc_spi.c | 218 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 D | zy7_spi.c | 154 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 D | zy7_qspi.c | 232 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 D | axi_quad_spi.c | 185 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 D | spi.c | 198 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 D | sifive_spi.c | 256 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 D | vf_spi.c | 254 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 D | spi.h | 28 uint32_t tx_cmd_sz; member
|
H A D | spigen.c | 204 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 D | gpiospi.c | 331 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 D | rk_spi.c | 438 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 D | atopcase.c | 113 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 D | aw_spi.c | 564 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 D | qcom_spi.c | 724 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 D | ksz8995ma.c | 866 cmd.tx_cmd_sz = 3; in ksz8995ma_readreg() 892 cmd.tx_cmd_sz = 3; in ksz8995ma_writereg()
|