Home
last modified time | relevance | path

Searched refs:wr_idx_loc (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/lib/os/
Dspsc_pbuf.c120 uint32_t *wr_idx_loc = get_wr_idx_loc(pb, flags); in spsc_pbuf_init() local
127 *wr_idx_loc = 0; in spsc_pbuf_init()
131 cache_wb(wr_idx_loc, sizeof(*wr_idx_loc), flags); in spsc_pbuf_init()
142 uint32_t *wr_idx_loc = get_wr_idx_loc(pb, flags); in spsc_pbuf_alloc() local
155 uint32_t wr_idx = *wr_idx_loc; in spsc_pbuf_alloc()
185 *wr_idx_loc = wr_idx; in spsc_pbuf_alloc()
210 uint32_t *wr_idx_loc = get_wr_idx_loc(pb, flags); in spsc_pbuf_commit() local
213 uint32_t wr_idx = *wr_idx_loc; in spsc_pbuf_commit()
223 *wr_idx_loc = wr_idx; in spsc_pbuf_commit()
225 cache_wb(wr_idx_loc, sizeof(*wr_idx_loc), flags); in spsc_pbuf_commit()
[all …]
/Zephyr-Core-3.7.0/subsys/ipc/ipc_service/lib/
Dpbuf.c30 if (!cfg || !cfg->rd_idx_loc || !cfg->wr_idx_loc || !cfg->data_loc) { in validate_cfg()
36 !IS_PTR_ALIGNED_BYTES(cfg->wr_idx_loc, MAX(cfg->dcache_alignment, _PBUF_IDX_SIZE)) || in validate_cfg()
47 if (!(cfg->rd_idx_loc < cfg->wr_idx_loc) || in validate_cfg()
48 !((uint8_t *)cfg->wr_idx_loc < cfg->data_loc) || in validate_cfg()
50 (uint8_t *)cfg->wr_idx_loc)) { in validate_cfg()
68 *(pb->cfg->wr_idx_loc) = pb->data.wr_idx; in pbuf_init()
74 sys_cache_data_flush_range((void *)(pb->cfg->wr_idx_loc), sizeof(*(pb->cfg->wr_idx_loc))); in pbuf_init()
140 *(pb->cfg->wr_idx_loc) = wr_idx; in pbuf_write()
142 sys_cache_data_flush_range((void *)pb->cfg->wr_idx_loc, sizeof(*(pb->cfg->wr_idx_loc))); in pbuf_write()
155 sys_cache_data_invd_range((void *)(pb->cfg->wr_idx_loc), sizeof(*(pb->cfg->wr_idx_loc))); in pbuf_read()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/ipc/
Dpbuf.h47 volatile uint32_t *wr_idx_loc; /* Address of the variable holding member
111 .wr_idx_loc = (uint32_t *)((uint8_t *)(mem_addr) + \
/Zephyr-Core-3.7.0/tests/subsys/ipc/pbuf/src/
Dmain.c24 printk("cfg->wr_idx_loc: %p, val: %u\n", pb->cfg->wr_idx_loc, *(pb->cfg->wr_idx_loc)); in print_pbuf_info()