Searched refs:rd_idx_loc (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/ipc/ipc_service/lib/ |
D | pbuf.c | 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() [all …]
|
/Zephyr-latest/lib/os/ |
D | spsc_pbuf.c | 141 uint32_t *rd_idx_loc = get_rd_idx_loc(pb, flags); in spsc_pbuf_alloc() local 152 cache_inv(rd_idx_loc, sizeof(*rd_idx_loc), flags); in spsc_pbuf_alloc() 156 uint32_t rd_idx = *rd_idx_loc; in spsc_pbuf_alloc() 254 uint32_t *rd_idx_loc = get_rd_idx_loc(pb, flags); in spsc_pbuf_claim() local 262 uint32_t rd_idx = *rd_idx_loc; in spsc_pbuf_claim() 297 *rd_idx_loc = rd_idx = 0; in spsc_pbuf_claim() 299 cache_wb(rd_idx_loc, sizeof(*rd_idx_loc), flags); in spsc_pbuf_claim() 324 uint32_t *rd_idx_loc = get_rd_idx_loc(pb, flags); in spsc_pbuf_free() local 326 uint16_t rd_idx = *rd_idx_loc + len + LEN_SZ; in spsc_pbuf_free() 347 *rd_idx_loc = rd_idx; in spsc_pbuf_free() [all …]
|
/Zephyr-latest/include/zephyr/ipc/ |
D | pbuf.h | 50 volatile uint32_t *rd_idx_loc; /* Address of the variable holding member 117 .rd_idx_loc = (uint32_t *)(mem_addr), \
|
/Zephyr-latest/tests/subsys/ipc/pbuf/src/ |
D | main.c | 23 printk("cfg->rd_idx_loc: %p, val: %u\n", pb->cfg->rd_idx_loc, *(pb->cfg->rd_idx_loc)); in print_pbuf_info()
|