Home
last modified time | relevance | path

Searched refs:cpy_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/subsys/logging/
Dlog_core.c826 size_t cpy_len = MIN(len, CONFIG_LOG_TAG_MAX_LEN); in log_set_tag() local
828 memcpy(tag, str, cpy_len); in log_set_tag()
829 tag[cpy_len] = '\0'; in log_set_tag()
831 if (cpy_len < len) { in log_set_tag()
832 tag[cpy_len - 1] = '~'; in log_set_tag()
/Zephyr-Core-3.6.0/drivers/serial/
Duart_nrfx_uarte.c871 int cpy_len = MIN(len, data->async->rx_flush_cnt); in uarte_nrfx_rx_enable() local
873 memcpy(buf, data->async->rx_flush_buffer, cpy_len); in uarte_nrfx_rx_enable()
874 buf += cpy_len; in uarte_nrfx_rx_enable()
875 len -= cpy_len; in uarte_nrfx_rx_enable()
881 data->async->rx_flush_cnt -= cpy_len; in uarte_nrfx_rx_enable()
882 notify_uart_rx_rdy(dev, cpy_len); in uarte_nrfx_rx_enable()