Home
last modified time | relevance | path

Searched refs:tx_count (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c185 int tx_count = 0; in send_request() local
193 tx_count++; in send_request()
214 ", req. no. %d", tx_count); in send_request()
239 } while (tx_count <= TFTP_REQ_RETX); in send_request()
249 int tx_count = 0; in tftp_get() local
302 tx_count = 0; in tftp_get()
347 if (tx_count > TFTP_REQ_RETX) { in tftp_get()
355 tx_count++; in tftp_get()
/Zephyr-latest/drivers/spi/
Dspi_rpi_pico_pio.c44 uint32_t tx_count; member
429 data->tx_count = 0; in spi_pico_pio_txrx_4_wire()
434 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pico_pio_txrx_4_wire()
437 data->tx_count < chunk_len && fifo_cnt < PIO_FIFO_DEPTH) { in spi_pico_pio_txrx_4_wire()
444 txrx = sys_get_be32(txbuf + (data->tx_count * 4)); in spi_pico_pio_txrx_4_wire()
451 txrx = sys_get_be16(txbuf + (data->tx_count * 2)); in spi_pico_pio_txrx_4_wire()
458 txrx = ((uint8_t *)txbuf)[data->tx_count]; in spi_pico_pio_txrx_4_wire()
467 data->tx_count++; in spi_pico_pio_txrx_4_wire()
523 data->tx_count = 0; in spi_pico_pio_txrx_3_wire()
539 while (data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire()
[all …]
Dspi_context.h44 size_t tx_count; member
299 ctx->tx_count = ctx->current_tx ? tx_bufs->count : 0; in spi_context_buffers_setup()
301 spi_context_get_next_buf(&ctx->current_tx, &ctx->tx_count, in spi_context_buffers_setup()
318 ctx->current_tx, ctx->tx_count, in spi_context_buffers_setup()
344 --ctx->tx_count; in spi_context_update_tx()
347 &ctx->tx_count, in spi_context_update_tx()
445 for (n = 0; n < ctx->tx_count; ++n) { in spi_context_total_tx_len()
Dspi_rtio.c136 size_t tx_count = tx_bufs ? tx_bufs->count : 0; in spi_rtio_copy() local
145 if (tx < tx_count) { in spi_rtio_copy()
162 while ((tx < tx_count || rx < rx_count) && (tx_len > 0 || rx_len > 0)) { in spi_rtio_copy()
194 if (tx < tx_count) { in spi_rtio_copy()
220 if (tx < tx_count) { in spi_rtio_copy()
252 if (tx < tx_count) { in spi_rtio_copy()
Dspi_sam0.c271 size_t tx_count = 0; in spi_sam0_fast_transceive() local
279 tx_count = tx_bufs->count; in spi_sam0_fast_transceive()
289 while (tx_count != 0 && rx_count != 0) { in spi_sam0_fast_transceive()
299 tx_count--; in spi_sam0_fast_transceive()
304 for (; tx_count != 0; tx_count--) { in spi_sam0_fast_transceive()
325 size_t tx_count = 0; in spi_sam0_is_regular() local
330 tx_count = tx_bufs->count; in spi_sam0_is_regular()
338 while (tx_count != 0 && rx_count != 0) { in spi_sam0_is_regular()
344 tx_count--; in spi_sam0_is_regular()
Dspi_pl022.c299 uint32_t tx_count; member
660 if (MIN(data->tx_count, data->rx_count) >= chunk_len && chunk_len > 0) { in spi_pl022_async_xfer()
665 data->tx_count = 0; in spi_pl022_async_xfer()
677 if ((data->tx_count < chunk_len) && SSP_TX_FIFO_NOT_FULL(cfg->reg)) { in spi_pl022_async_xfer()
682 txrx = *(((uint8_t *)ctx->tx_buf) + data->tx_count); in spi_pl022_async_xfer()
685 data->tx_count++; in spi_pl022_async_xfer()
706 data->tx_count = 0; in spi_pl022_start_async_xfer()
743 data->tx_count = 0; in spi_pl022_xfer()
755 while (data->rx_count < chunk_len || data->tx_count < chunk_len) { in spi_pl022_xfer()
757 while (SSP_TX_FIFO_NOT_FULL(cfg->reg) && data->tx_count < chunk_len && in spi_pl022_xfer()
[all …]
Dspi_sam.c531 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()
Dspi_sedi.c124 if ((ctx->tx_count > 1) || (ctx->rx_count > 1)) { in transceive()
128 if (ctx->tx_count > ctx->rx_count) { in transceive()
130 for (i = ctx->rx_count; i < ctx->tx_count; i++) { in transceive()
135 } else if (ctx->tx_count < ctx->rx_count) { in transceive()
137 for (i = ctx->tx_count; i < ctx->rx_count; i++) { in transceive()
Dspi_opentitan.c176 if (ctx->tx_count > 0 || ctx->rx_count > 1) { in spi_opentitan_xfer()
Dspi_b_renesas_ra8.c472 data->spi.tx_count = 0; in ra_spi_retransmit()
512 data->spi.tx_count = data->data_len; in ra_spi_retransmit()
589 if (data->spi.tx_count == data->spi.count) { in ra_spi_tei_isr()
Dspi_mcux_dspi.c191 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()
Dspi_renesas_ra.c514 data->spi.tx_count = 0; in ra_spi_retransmit()
555 data->spi.tx_count = data->data_len; in ra_spi_retransmit()
635 if (data->spi.tx_count == data->spi.count) { in ra_spi_tei_isr()
Dspi_rv32m1_lpspi.c101 if (!(ctx->tx_count <= 1 && ctx->rx_count <= 1)) { in spi_mcux_transfer_next_packet()
Dspi_mcux_flexcomm.c127 if (ctx->tx_count <= 1 && ctx->rx_count <= 1) { in spi_mcux_transfer_next_packet()
669 if ((data->ctx.tx_count > 1) || in transceive_dma()
Dspi_esp32_spim.c123 (ctx->rx_count > 1 || ctx->tx_count > 1 || ctx->rx_len > transfer_len_frames || in spi_esp32_transfer()
Dspi_it8xxx2.c227 if (ctx->tx_count > 1) { in spi_it8xxx2_tx()
Dspi_nxp_s32.c17 if (ctx->tx_count <= 1U && ctx->rx_count <= 1U) { in spi_nxp_s32_last_packet()
/Zephyr-latest/include/zephyr/drivers/flash/
Dnpcx_flash_api_ex.h46 size_t tx_count; member
/Zephyr-latest/drivers/flash/
Dflash_rpi_pico.c101 size_t tx_count = count; in __no_inline_not_in_flash_func() local
108 while (tx_count || rx_skip || rx_count) { in __no_inline_not_in_flash_func()
112 if (tx_count && tx_level + rx_level < max_in_flight) { in __no_inline_not_in_flash_func()
114 --tx_count; in __no_inline_not_in_flash_func()
Dflash_npcx_fiu_qspi.h32 size_t tx_count; member
Dflash_npcx_fiu_nor.c123 .tx_count = size}; in flash_npcx_uma_write()
133 .tx_count = size}; in flash_npcx_uma_write_by_addr()
205 .tx_count = 4, in flash_npcx_nor_read_sfdp()
388 if (op_in->tx_count != 0) { in flash_npcx_nor_ex_exec_uma()
390 cfg.tx_count = op_in->tx_count; in flash_npcx_nor_ex_exec_uma()
Dflash_npcx_fiu_qspi.c188 for (size_t i = 0; i < cfg->tx_count; i++) { in qspi_npcx_fiu_uma_transceive()
/Zephyr-latest/drivers/display/
Ddisplay_st7735r.c72 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()
Ddisplay_st7789v.c71 uint8_t *tx_data, size_t tx_count) in st7789v_transmit() argument
76 tx_data, tx_count); in st7789v_transmit()
/Zephyr-latest/drivers/espi/
Despi_taf_npcx.c465 .tx_count = (pckt->len) - 1, in espi_taf_npcx_rpmc_op1()
493 .tx_count = 1, in espi_taf_npcx_rpmc_op2()

12