/Zephyr-latest/subsys/net/lib/tftp/ |
D | tftp_client.c | 185 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/ |
D | spi_rpi_pico_pio.c | 44 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 …]
|
D | spi_context.h | 44 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()
|
D | spi_rtio.c | 136 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()
|
D | spi_sam0.c | 271 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()
|
D | spi_pl022.c | 299 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 …]
|
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()
|
D | spi_sedi.c | 124 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()
|
D | spi_opentitan.c | 176 if (ctx->tx_count > 0 || ctx->rx_count > 1) { in spi_opentitan_xfer()
|
D | spi_b_renesas_ra8.c | 472 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()
|
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()
|
D | spi_renesas_ra.c | 514 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()
|
D | spi_rv32m1_lpspi.c | 101 if (!(ctx->tx_count <= 1 && ctx->rx_count <= 1)) { in spi_mcux_transfer_next_packet()
|
D | spi_mcux_flexcomm.c | 127 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()
|
D | spi_esp32_spim.c | 123 (ctx->rx_count > 1 || ctx->tx_count > 1 || ctx->rx_len > transfer_len_frames || in spi_esp32_transfer()
|
D | spi_it8xxx2.c | 227 if (ctx->tx_count > 1) { in spi_it8xxx2_tx()
|
D | spi_nxp_s32.c | 17 if (ctx->tx_count <= 1U && ctx->rx_count <= 1U) { in spi_nxp_s32_last_packet()
|
/Zephyr-latest/include/zephyr/drivers/flash/ |
D | npcx_flash_api_ex.h | 46 size_t tx_count; member
|
/Zephyr-latest/drivers/flash/ |
D | flash_rpi_pico.c | 101 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()
|
D | flash_npcx_fiu_qspi.h | 32 size_t tx_count; member
|
D | flash_npcx_fiu_nor.c | 123 .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()
|
D | flash_npcx_fiu_qspi.c | 188 for (size_t i = 0; i < cfg->tx_count; i++) { in qspi_npcx_fiu_uma_transceive()
|
/Zephyr-latest/drivers/display/ |
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()
|
D | display_st7789v.c | 71 uint8_t *tx_data, size_t tx_count) in st7789v_transmit() argument 76 tx_data, tx_count); in st7789v_transmit()
|
/Zephyr-latest/drivers/espi/ |
D | espi_taf_npcx.c | 465 .tx_count = (pckt->len) - 1, in espi_taf_npcx_rpmc_op1() 493 .tx_count = 1, in espi_taf_npcx_rpmc_op2()
|