| /drivers/spi/ |
| A D | spi_renesas_rx.c | 32 uint16_t tx_count; member 137 uint16_t tx_count = rspi_tcb->tx_count; in rx_rspi_spti_sub() local 162 if (tx_count < rspi_tcb->xfr_length) { in rx_rspi_spti_sub() 163 transmit_data(data, tx_count); in rx_rspi_spti_sub() 164 rspi_tcb->tx_count++; in rx_rspi_spti_sub() 462 data->tcb.tx_count = 0; in transceive() 617 data->tcb.tx_count = 0; in rx_rspi_retransmit() 623 uint16_t tx_count = rspi_tcb->tx_count; in rx_rspi_retransmit() local 626 transmit_data(data, tx_count); in rx_rspi_retransmit() 627 rspi_tcb->tx_count++; in rx_rspi_retransmit() [all …]
|
| A D | spi_rpi_pico_pio.c | 67 uint32_t tx_count; member 551 data->tx_count += chunk_len; in spi_pico_pio_dma_callback() 569 data->tx_count = 0; in spi_pico_pio_dma_callback() 681 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_4_wire() 695 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_4_wire() 704 data->tx_count++; in spi_pico_pio_txrx_4_wire() 773 while (data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire() 776 data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire() 790 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_3_wire() 798 data->tx_count++; in spi_pico_pio_txrx_3_wire() [all …]
|
| A D | spi_rtio.c | 173 size_t tx_count = tx_bufs ? tx_bufs->count : 0; in spi_rtio_copy() local 182 if (tx < tx_count) { in spi_rtio_copy() 195 rx_len = (tx_bufs != NULL && tx < tx_count) ? tx_bufs->buffers[tx].len : 0; in spi_rtio_copy() 199 while ((tx < tx_count || rx < rx_count) && (tx_len > 0 || rx_len > 0)) { in spi_rtio_copy() 231 if (tx < tx_count) { in spi_rtio_copy() 257 if (tx < tx_count) { in spi_rtio_copy() 289 if (tx < tx_count) { in spi_rtio_copy()
|
| A D | spi_pl022.c | 299 uint32_t tx_count; member 667 data->tx_count = 0; in spi_pl022_async_xfer() 679 if ((data->tx_count < chunk_len) && SSP_TX_FIFO_NOT_FULL(cfg->reg)) { in spi_pl022_async_xfer() 684 txrx = *(((uint8_t *)ctx->tx_buf) + data->tx_count); in spi_pl022_async_xfer() 687 data->tx_count++; in spi_pl022_async_xfer() 708 data->tx_count = 0; in spi_pl022_start_async_xfer() 745 data->tx_count = 0; in spi_pl022_xfer() 757 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pl022_xfer() 765 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pl022_xfer() 768 data->tx_count++; in spi_pl022_xfer() [all …]
|
| A D | spi_sam0.c | 294 size_t tx_count = 0; in spi_sam0_fast_transceive() local 302 tx_count = tx_bufs->count; in spi_sam0_fast_transceive() 312 while (tx_count != 0 && rx_count != 0) { in spi_sam0_fast_transceive() 322 tx_count--; in spi_sam0_fast_transceive() 327 for (; tx_count != 0; tx_count--) { in spi_sam0_fast_transceive() 348 size_t tx_count = 0; in spi_sam0_is_regular() local 353 tx_count = tx_bufs->count; in spi_sam0_is_regular() 361 while (tx_count != 0 && rx_count != 0) { in spi_sam0_is_regular() 367 tx_count--; in spi_sam0_is_regular()
|
| A D | spi_context.h | 60 size_t tx_count; member 474 ctx->tx_count = ctx->current_tx ? tx_bufs->count : 0; in spi_context_buffers_setup() 476 spi_context_get_next_buf(&ctx->current_tx, &ctx->tx_count, in spi_context_buffers_setup() 493 ctx->current_tx, ctx->tx_count, in spi_context_buffers_setup() 521 --ctx->tx_count; in spi_context_update_tx() 524 &ctx->tx_count, in spi_context_update_tx() 642 for (n = start_index; n < ctx->tx_count; ++n) { in spi_context_count_tx_buf_lens()
|
| A D | spi_sam.c | 531 size_t tx_count = 0; in spi_sam_fast_transceive() local 539 tx_count = tx_bufs->count; in spi_sam_fast_transceive() 547 while (tx_count != 0 && rx_count != 0) { in spi_sam_fast_transceive() 559 tx_count--; in spi_sam_fast_transceive() 564 for (; tx_count != 0; tx_count--) { in spi_sam_fast_transceive() 620 size_t tx_count = 0; in spi_sam_is_regular() local 625 tx_count = tx_bufs->count; in spi_sam_is_regular() 637 while (tx_count != 0 && rx_count != 0) { in spi_sam_is_regular() 643 tx_count--; in spi_sam_is_regular()
|
| A D | spi_sedi.c | 125 if ((ctx->tx_count > 1) || (ctx->rx_count > 1)) { in transceive() 129 if (ctx->tx_count > ctx->rx_count) { in transceive() 131 for (i = ctx->rx_count; i < ctx->tx_count; i++) { in transceive() 136 } else if (ctx->tx_count < ctx->rx_count) { in transceive() 138 for (i = ctx->tx_count; i < ctx->rx_count; i++) { in transceive()
|
| A D | spi_cc23x0.c | 60 uint32_t tx_count; member 127 if (status & SPI_TXEMPTY && !data->xfer_done && data->tx_count == data->rx_count) { in spi_cc23x0_isr() 143 data->tx_count++; in spi_cc23x0_isr() 257 data->tx_count = 0; in spi_cc23x0_initialize_data()
|
| A D | spi_b_renesas_ra8.c | 482 data->spi.tx_count = 0; in ra_spi_retransmit() 522 data->spi.tx_count = data->data_len; in ra_spi_retransmit() 599 if (data->spi.tx_count == data->spi.count) { in ra_spi_tei_isr()
|
| A D | spi_opentitan.c | 176 if (ctx->tx_count > 0 || ctx->rx_count > 1) { in spi_opentitan_xfer()
|
| A D | spi_mcux_dspi.c | 191 if (!(ctx->tx_count <= 1 && ctx->rx_count <= 1)) { in spi_mcux_transfer_next_packet() 493 LOG_DBG("tx count %d", data->ctx.tx_count); in dma_callback() 496 LOG_DBG("tx count %d", data->ctx.tx_count); in dma_callback()
|
| A D | spi_renesas_ra.c | 526 data->spi.tx_count = 0; in ra_spi_retransmit() 567 data->spi.tx_count = data->data_len; in ra_spi_retransmit() 647 if (data->spi.tx_count == data->spi.count) { in ra_spi_tei_isr()
|
| A D | spi_mcux_flexcomm.c | 140 if (ctx->tx_count <= 1 && ctx->rx_count <= 1) { in spi_mcux_transfer_next_packet() 540 if (data->ctx.tx_count <= 1 && data->ctx.rx_count <= 1 && in spi_mcux_dma_transfer() 681 if (data->ctx.tx_count <= 1 && data->ctx.rx_count <= 1 && in transceive_dma()
|
| A D | spi_rv32m1_lpspi.c | 101 if (!(ctx->tx_count <= 1 && ctx->rx_count <= 1)) { in spi_mcux_transfer_next_packet()
|
| A D | spi_andes_atcspi200.c | 312 if (ctx->tx_buf == NULL && ctx->tx_count == 0) { in spi_dma_tx_load() 357 if (ctx->tx_buf == NULL && ctx->tx_count == 0) { in spi_dma_tx_load()
|
| A D | spi_it8xxx2.c | 249 if (ctx->tx_count > 1) { in spi_it8xxx2_tx()
|
| /drivers/flash/ |
| A D | flash_npcx_fiu_nor.c | 131 .tx_count = size}; in flash_npcx_uma_write() 141 .tx_count = size}; in flash_npcx_uma_write_by_addr() 230 .tx_count = 4, in flash_npcx_nor_read_sfdp() 472 if (op_in->tx_count != 0) { in flash_npcx_nor_ex_exec_uma() 474 cfg.tx_count = op_in->tx_count; in flash_npcx_nor_ex_exec_uma()
|
| A D | flash_npcx_fiu_qspi.h | 46 size_t tx_count; member
|
| A D | flash_npcx_fiu_qspi.c | 189 for (size_t i = 0; i < cfg->tx_count; i++) { in qspi_npcx_fiu_uma_transceive()
|
| /drivers/display/ |
| A D | display_st7735r.c | 72 const uint8_t *tx_data, size_t tx_count) in st7735r_transmit_hold() argument 77 cmd, tx_data, tx_count); in st7735r_transmit_hold() 81 const uint8_t *tx_data, size_t tx_count) in st7735r_transmit() argument 86 ret = st7735r_transmit_hold(dev, cmd, tx_data, tx_count); in st7735r_transmit()
|
| A D | display_st7789v.c | 72 uint8_t *tx_data, size_t tx_count) in st7789v_transmit() argument 77 cmd, tx_data, tx_count); in st7789v_transmit()
|
| /drivers/i3c/ |
| A D | i3cs_it51xxx.c | 245 uint16_t tx_count; in it51xxx_i3cs_prepare_tx_fifo() local 251 tx_count = tx_byte_cnt_in_fifo(dev); in it51xxx_i3cs_prepare_tx_fifo() 252 if (tx_count) { in it51xxx_i3cs_prepare_tx_fifo() 253 LOG_INST_WRN(cfg->log, "dropped the remaining %d bytes in the tx fifo", tx_count); in it51xxx_i3cs_prepare_tx_fifo()
|
| /drivers/espi/ |
| A D | espi_taf_npcx.c | 536 .tx_count = (pckt->len) - 1, in espi_taf_npcx_rpmc_op1() 564 .tx_count = 1, in espi_taf_npcx_rpmc_op2()
|
| /drivers/spi/spi_nxp_lpspi/ |
| A D | spi_nxp_lpspi.c | 164 size_t bufs_left = ctx->tx_count; in lpspi_next_tx_fill()
|