Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/subsys/ipc/ipc_service/lib/
Dpbuf.c34 if (!cfg || !cfg->rd_idx_loc || !cfg->wr_idx_loc || !cfg->data_loc) { in validate_cfg()
40 !IS_PTR_ALIGNED_BYTES(cfg->wr_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()
52 !((uint8_t *)cfg->wr_idx_loc < cfg->data_loc) || in validate_cfg()
54 (uint8_t *)cfg->wr_idx_loc)) { in validate_cfg()
65 native_emb_addr_remap((void **)&pb->cfg->wr_idx_loc); in pbuf_native_addr_remap()
84 *(pb->cfg->wr_idx_loc) = pb->data.wr_idx; in pbuf_tx_init()
90 sys_cache_data_flush_range((void *)(pb->cfg->wr_idx_loc), sizeof(*(pb->cfg->wr_idx_loc))); in pbuf_tx_init()
172 *(pb->cfg->wr_idx_loc) = wr_idx; in pbuf_write()
174 sys_cache_data_flush_range((void *)pb->cfg->wr_idx_loc, sizeof(*(pb->cfg->wr_idx_loc))); in pbuf_write()
[all …]
/Zephyr-latest/include/zephyr/ipc/
Dpbuf.h54 volatile uint32_t *wr_idx_loc; /* Address of the variable holding member
118 .wr_idx_loc = (uint32_t *)((uint8_t *)(mem_addr) + \
/Zephyr-latest/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()