Searched refs:write_buf_idx (Results 1 – 5 of 5) sorted by relevance
52 uint32_t write_buf_idx; member139 unsigned i = shm->area->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_write_buffer_base()150 unsigned i = shm->area->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_writeable_frames()255 size_t buf_idx = shm->area->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_is_buffer_available()276 size_t write_buf_idx = shm->area->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_check_write_overrun() local278 if (!shm->area->write_in_progress[write_buf_idx]) { in cras_shm_check_write_overrun()281 if (shm->area->write_offset[write_buf_idx]) { in cras_shm_check_write_overrun()286 memset(cras_shm_buff_for_idx(shm, write_buf_idx), 0, used_size); in cras_shm_check_write_overrun()288 shm->area->write_in_progress[write_buf_idx] = 1; in cras_shm_check_write_overrun()289 shm->area->write_offset[write_buf_idx] = 0; in cras_shm_check_write_overrun()[all …]
144 shm_.area->write_buf_idx = 0; in TEST_F()154 shm_.area->write_buf_idx = 0; in TEST_F()165 shm_.area->write_buf_idx = 0; in TEST_F()177 shm_.area->write_buf_idx = 0; in TEST_F()186 shm_.area->write_buf_idx = 1; in TEST_F()234 shm_.area->write_buf_idx = 0; in TEST_F()259 shm_.area->write_buf_idx = 0; in TEST_F()272 shm_.area->write_buf_idx = 0; in TEST_F()
134 shm->area->write_buf_idx = 0; in TEST_F()
988 shm_->area->write_buf_idx = 1; in TEST_F()990 shm2_->area->write_buf_idx = 1; in TEST_F()
328 shm->area->write_buf_idx, in capture_copy_converted_to_stream()