Home
last modified time | relevance | path

Searched refs:xfer_len (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_gd32.c51 uint32_t xfer_len; member
78 if ((data->xfer_len > 0U) && in i2c_gd32_xfer_read()
91 if ((data->xfer_len > 0U) && in i2c_gd32_xfer_write()
102 switch (data->xfer_len) { in i2c_gd32_handle_rbne()
109 data->xfer_len--; in i2c_gd32_handle_rbne()
131 data->xfer_len--; in i2c_gd32_handle_rbne()
143 if (data->xfer_len > 0U) { in i2c_gd32_handle_tbe()
144 data->xfer_len--; in i2c_gd32_handle_tbe()
145 if (data->xfer_len == 0U) { in i2c_gd32_handle_tbe()
170 switch (data->xfer_len) { in i2c_gd32_handle_btc()
[all …]
/Zephyr-latest/drivers/serial/
Duart_mcux_flexcomm.c57 size_t xfer_len; member
64 size_t xfer_len; member
451 data->tx_data.xfer_len = len; in mcux_flexcomm_uart_tx()
499 if (data->tx_data.xfer_len == 0) { in mcux_flexcomm_uart_tx_abort()
521 size_t sent_len = data->tx_data.xfer_len - status.pending_length; in mcux_flexcomm_uart_tx_abort()
533 data->tx_data.xfer_len = 0; in mcux_flexcomm_uart_tx_abort()
571 data->rx_data.xfer_len = len; in mcux_flexcomm_uart_rx_enable()
574 data->rx_data.active_block.block_size = data->rx_data.xfer_len; in mcux_flexcomm_uart_rx_enable()
621 size_t total_rx_receive_len = data->rx_data.xfer_len - status.pending_length; in flexcomm_uart_rx_update()
698 data->rx_data.xfer_len = 0; in mcux_flexcomm_uart_rx_disable()
[all …]
Duart_nrfx_uarte.c151 size_t xfer_len; member
836 tx_start(dev, data->async->tx.xfer_buf, data->async->tx.xfer_len); in start_tx_locked()
857 data->async->tx.xfer_len = len; in setup_tx_cache()
896 data->async->tx.xfer_len = len; in uarte_nrfx_tx()
1662 if (amount == data->async->tx.xfer_len) { in txstopped_isr()
/Zephyr-latest/modules/nrf_wifi/bus/
Dqspi_if.c586 size_t xfer_len = sizeof(cmd->op_code); in qspi_send_cmd() local
603 xfer_len += tx_len; in qspi_send_cmd()
606 xfer_len += tx_len + rx_len; in qspi_send_cmd()
609 if (xfer_len > NRF_QSPI_CINSTR_LEN_9B) { in qspi_send_cmd()
610 LOG_WRN("cinstr %02x transfer too long: %zu", cmd->op_code, xfer_len); in qspi_send_cmd()
617 .length = xfer_len, in qspi_send_cmd()
/Zephyr-latest/drivers/flash/
Dnrf_qspi_nor.c415 size_t xfer_len = sizeof(cmd->op_code); in qspi_send_cmd() local
432 xfer_len += tx_len; in qspi_send_cmd()
435 xfer_len += tx_len + rx_len; in qspi_send_cmd()
438 if (xfer_len > NRF_QSPI_CINSTR_LEN_9B) { in qspi_send_cmd()
440 cmd->op_code, xfer_len); in qspi_send_cmd()
446 .length = xfer_len, in qspi_send_cmd()
/Zephyr-latest/drivers/spi/
Dspi_xlnx_axi_quadspi.c238 size_t xfer_len; in xlnx_quadspi_start_tx() local
269 xfer_len = spi_context_longest_current_buf(ctx); in xlnx_quadspi_start_tx()
272 while (xfer_len--) { in xlnx_quadspi_start_tx()
/Zephyr-latest/drivers/usb/udc/
Dudc_ambiq.c215 uint16_t xfer_len, am_hal_usb_xfer_code_e code, in udc_ambiq_ep_xfer_complete_callback() argument
233 net_buf_add(buf, xfer_len); in udc_ambiq_ep_xfer_complete_callback()
912 uint8_t ep_addr, uint16_t xfer_len, am_hal_usb_xfer_code_e code, void *param) \
914 udc_ambiq_ep_xfer_complete_callback(DEVICE_DT_INST_GET(n), ep_addr, xfer_len, \