Lines Matching refs:cache
163 nrfy_uarte_buffer_t cache; member
481 p_cb->tx.cache.p_buffer = p_config->tx_cache.p_buffer; in nrfx_uarte_init()
484 p_cb->tx.cache.length = 0; in nrfx_uarte_init()
488 p_cb->tx.cache.length = p_config->tx_cache.length - 1; in nrfx_uarte_init()
509 p_cb->rx.p_cache->cache[0].p_buffer = in nrfx_uarte_init()
511 p_cb->rx.p_cache->cache[1].p_buffer = in nrfx_uarte_init()
754 if (p_cb->tx.cache.p_buffer == NULL) in poll_out()
779 p_cb->tx.cache.p_buffer[p_cb->tx.cache.length] = *p_byte; in poll_out()
780 p_buf = &p_cb->tx.cache.p_buffer[p_cb->tx.cache.length]; in poll_out()
820 uint32_t chunk_len = NRFX_MIN(p_cb->tx.cache.length, p_cb->tx.curr.length - p_cb->tx.off); in tx_prepare_start()
822 memcpy(p_cb->tx.cache.p_buffer, &p_cb->tx.curr.p_buffer[p_cb->tx.off], chunk_len); in tx_prepare_start()
823 p_buf = p_cb->tx.cache.p_buffer; in tx_prepare_start()
846 if ((early_ret && !p_cb->tx.cache.p_buffer) || (p_cb->flags & UARTE_FLAG_TX_LINKED)) in blocking_tx()
926 if (!p_cb->tx.cache.p_buffer || in nrfx_uarte_tx()
1479 p_data = p_cache->cache[0].p_buffer; in nrfx_uarte_rx_buffer_set()
1494 p_data = p_cache->cache[p_cache->idx++ & 0x1].p_buffer; in nrfx_uarte_rx_buffer_set()
1802 uint8_t * p_buf = p_cache->cache[p_cache->idx++ & 0x1].p_buffer; in rxstarted_irq_handler()