Searched refs:write_ptr (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.7.0/kernel/ |
D | msg_q.c | 47 msgq->write_ptr = buffer; in k_msgq_init() 152 __ASSERT_NO_MSG(msgq->write_ptr >= msgq->buffer_start && in z_impl_k_msgq_put() 153 msgq->write_ptr < msgq->buffer_end); in z_impl_k_msgq_put() 154 (void)memcpy(msgq->write_ptr, (char *)data, msgq->msg_size); in z_impl_k_msgq_put() 155 msgq->write_ptr += msgq->msg_size; in z_impl_k_msgq_put() 156 if (msgq->write_ptr == msgq->buffer_end) { in z_impl_k_msgq_put() 157 msgq->write_ptr = msgq->buffer_start; in z_impl_k_msgq_put() 243 __ASSERT_NO_MSG(msgq->write_ptr >= msgq->buffer_start && in z_impl_k_msgq_get() 244 msgq->write_ptr < msgq->buffer_end); in z_impl_k_msgq_get() 245 (void)memcpy(msgq->write_ptr, (char *)pending_thread->base.swap_data, in z_impl_k_msgq_get() [all …]
|
/Zephyr-Core-3.7.0/drivers/dma/ |
D | dma_dw_common.c | 762 int32_t write_ptr = dw_read(base, DW_DAR(channel)); in dw_dma_avail_data_size() local 763 int32_t delta = write_ptr - chan_data->ptr_data.hw_ptr; in dw_dma_avail_data_size() 766 chan_data->ptr_data.hw_ptr = write_ptr; in dw_dma_avail_data_size() 768 size = write_ptr - read_ptr; in dw_dma_avail_data_size() 785 write_ptr, read_ptr, chan_data->ptr_data.buffer_bytes - size, size); in dw_dma_avail_data_size() 795 int32_t write_ptr = chan_data->ptr_data.current_ptr; in dw_dma_free_data_size() local 801 size = read_ptr - write_ptr; in dw_dma_free_data_size() 817 read_ptr, write_ptr, size, chan_data->ptr_data.buffer_bytes - size); in dw_dma_free_data_size()
|
D | dma_iproc_pax_v1.c | 150 curr = (uintptr_t)ring->curr.write_ptr + PAX_DMA_RM_DESC_BDWIDTH; in next_desc_addr() 167 ring->curr.write_ptr = (void *)curr; in next_desc_addr() 221 ring->curr.write_ptr = ring->bd; in prepare_ring() 787 hdr = (void *)ring->curr.write_ptr; in dma_iproc_pax_do_xfer()
|
D | dma_iproc_pax.h | 449 void *write_ptr; member
|
D | dma_iproc_pax_v2.c | 154 curr = (uintptr_t)ring->curr.write_ptr; in get_curr_desc_addr() 174 ring->curr.write_ptr = (void *)(curr + PAX_DMA_RM_DESC_BDWIDTH); in get_curr_desc_addr() 240 ring->curr.write_ptr = ring->bd; in prepare_ring()
|
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/ |
D | img_mgmt_client.c | 335 const uint8_t *write_ptr; in img_mgmt_client_upload() local 360 write_ptr = data + wrote_length; in img_mgmt_client_upload() 388 zcbor_bstr_encode_ptr(zse, write_ptr, write_length) && in img_mgmt_client_upload()
|
/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_xilinx_axi.c | 483 const uint8_t *write_ptr = msg->buf; in i2c_xilinx_axi_write() local 515 uint32_t write_word = *write_ptr++; in i2c_xilinx_axi_write()
|
/Zephyr-Core-3.7.0/tests/kernel/msgq/msgq_api/src/ |
D | test_msgq_contexts.c | 286 zassert_false(msgq.write_ptr == msgq.buffer_start, in ZTEST()
|
/Zephyr-Core-3.7.0/include/zephyr/ |
D | kernel.h | 4519 char *write_ptr; member 4547 .write_ptr = q_buffer, \
|