Lines Matching refs:rd_idx_loc
34 if (!cfg || !cfg->rd_idx_loc || !cfg->wr_idx_loc || !cfg->data_loc) { in validate_cfg()
39 if (!IS_PTR_ALIGNED_BYTES(cfg->rd_idx_loc, MAX(cfg->dcache_alignment, _PBUF_IDX_SIZE)) || in validate_cfg()
51 if (!(cfg->rd_idx_loc < cfg->wr_idx_loc) || in validate_cfg()
53 !(((uint8_t *)cfg->rd_idx_loc + MAX(_PBUF_IDX_SIZE, cfg->dcache_alignment)) == in validate_cfg()
64 native_emb_addr_remap((void **)&pb->cfg->rd_idx_loc); in pbuf_native_addr_remap()
85 *(pb->cfg->rd_idx_loc) = pb->data.rd_idx; in pbuf_tx_init()
91 sys_cache_data_flush_range((void *)(pb->cfg->rd_idx_loc), sizeof(*(pb->cfg->rd_idx_loc))); in pbuf_tx_init()
120 sys_cache_data_invd_range((void *)(pb->cfg->rd_idx_loc), sizeof(*(pb->cfg->rd_idx_loc))); in pbuf_write()
125 uint32_t rd_idx = *(pb->cfg->rd_idx_loc); in pbuf_write()
250 *(pb->cfg->rd_idx_loc) = rd_idx; in pbuf_read()
252 sys_cache_data_flush_range((void *)pb->cfg->rd_idx_loc, sizeof(*(pb->cfg->rd_idx_loc))); in pbuf_read()