Home
last modified time | relevance | path

Searched refs:tx_size (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_ite.c179 static void shi_ite_response_host_data(const struct device *dev, uint8_t *out_msg_addr, int tx_size) in shi_ite_response_host_data() argument
197 for (int i = 0; i < tx_size; i += 4) { in shi_ite_response_host_data()
228 int tx_size; in shi_ite_backend_send() local
245 tx_size = data->tx->len + EC_SHI_PREAMBLE_LENGTH + EC_SHI_PAST_END_LENGTH; in shi_ite_backend_send()
248 shi_ite_response_host_data(hc_shi->dev, data->out_msg, tx_size); in shi_ite_backend_send()
Dec_host_cmd_backend_spi_stm32.c783 int tx_size; in ec_host_cmd_spi_send() local
792 tx_size = hc_spi->tx->len + sizeof(out_preamble) + EC_SPI_PAST_END_LENGTH; in ec_host_cmd_spi_send()
796 ret = reload_dma_tx(hc_spi, tx_size); in ec_host_cmd_spi_send()
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.h246 #define NRF_USBD_COMMON_TRANSFER_IN(name, tx_buff, tx_size, tx_flags) \ argument
248 .p_data = {.tx = (tx_buff)}, .size = (tx_size), .flags = (tx_flags)}
Dnrf_usbd_common.c379 size_t tx_size = p_transfer->size; in nrf_usbd_common_feeder() local
381 if (tx_size > ep_size) { in nrf_usbd_common_feeder()
382 tx_size = ep_size; in nrf_usbd_common_feeder()
386 __ASSERT_NO_MSG(tx_size <= NRF_USBD_COMMON_FEEDER_BUFFER_SIZE); in nrf_usbd_common_feeder()
387 memcpy(m_tx_buffer, (p_transfer->p_data.tx), tx_size); in nrf_usbd_common_feeder()
393 p_next->size = tx_size; in nrf_usbd_common_feeder()
395 p_transfer->size -= tx_size; in nrf_usbd_common_feeder()
396 p_transfer->p_data.addr += tx_size; in nrf_usbd_common_feeder()
399 return (tx_size != 0); in nrf_usbd_common_feeder()
/Zephyr-latest/modules/canopennode/
DCO_driver_target.h91 uint16_t tx_size; member
DCO_driver.c156 for (i = 0; i < CANmodule->tx_size; i++) { in canopen_tx_retry()
250 CANmodule->tx_size = txSize; in CO_CANmodule_init()
371 if (index >= CANmodule->tx_size) { in CO_CANtxBufferInit()
444 for (i = 0; i < CANmodule->tx_size; i++) { in CO_CANclearPendingSyncPDOs()
/Zephyr-latest/drivers/spi/
Dspi_mcux_dspi.c335 uint32_t tx_size = 0; in update_tx_dma() local
352 tx_size = get_size_byte_by_frame_size(data->transfer_len, in update_tx_dma()
357 tx_size = get_size_byte_by_frame_size(data->ctx.current_tx->len, in update_tx_dma()
359 LOG_DBG("tx size is %d", tx_size); in update_tx_dma()
364 tx_size = get_size_byte_by_frame_size(data->transfer_len, in update_tx_dma()
367 LOG_DBG("rx only 0x%x, size %d", (uint32_t)tx_buf, tx_size); in update_tx_dma()
378 data->tx_dma_block.block_size = tx_size; in update_tx_dma()
Dspi_rpi_pico_pio.c520 uint32_t tx_size = data->spi_ctx.tx_len; /* Number of WORDS to send */ in spi_pico_pio_txrx_3_wire() local
539 while (data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire()
542 data->tx_count < tx_size) { in spi_pico_pio_txrx_3_wire()
/Zephyr-latest/drivers/serial/
Duart_lpc11u6x.c622 int tx_size = 0; in lpc11u6x_uartx_fifo_fill() local
624 while (tx_size < size && in lpc11u6x_uartx_fifo_fill()
626 cfg->base->tx_dat = data[tx_size++]; in lpc11u6x_uartx_fifo_fill()
628 return tx_size; in lpc11u6x_uartx_fifo_fill()