Searched refs:write_buf_idx (Results 1 – 9 of 9) sorted by relevance
/external/adhd/cras/src/common/ |
D | cras_shm.h | 53 uint32_t write_buf_idx; member 251 unsigned i = shm->header->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_write_buffer_base() 261 unsigned buf_idx = shm->header->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_get_writeable_frames() 359 size_t buf_idx = shm->header->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_is_buffer_available() 380 size_t write_buf_idx = in cras_shm_check_write_overrun() local 381 shm->header->write_buf_idx & CRAS_SHM_BUFFERS_MASK; in cras_shm_check_write_overrun() 383 if (!shm->header->write_in_progress[write_buf_idx]) { in cras_shm_check_write_overrun() 386 if (shm->header->write_offset[write_buf_idx]) { in cras_shm_check_write_overrun() 391 memset(cras_shm_buff_for_idx(shm, write_buf_idx), 0, used_size); in cras_shm_check_write_overrun() 393 shm->header->write_in_progress[write_buf_idx] = 1; in cras_shm_check_write_overrun() [all …]
|
/external/adhd/cras/client/libcras/src/ |
D | cras_shm.rs | 62 write_buf_idx: VolatileRef<'a, u32>, field 123 write_buf_idx: vref_from_addr!(addr, write_buf_idx), in new() 250 self.write_buf_idx.load() & CRAS_SHM_BUFFERS_MASK in get_write_buf_idx() 259 self.write_buf_idx in switch_write_buf_idx() 997 assert_eq!(header.write_buf_idx.load(), 1); in cras_audio_header_commit_written_frame_test() 1049 header.write_buf_idx.store(0); in cras_audio_header_get_write_offset_and_len() 1064 header.write_buf_idx.store(1); in cras_audio_header_get_write_offset_and_len() 1077 header.write_buf_idx.store(0); in cras_audio_header_get_write_offset_and_len() 1082 header.write_buf_idx.store(0); in cras_audio_header_get_write_offset_and_len() 1117 header.write_buf_idx.store(0); in cras_audio_header_set_buffer_offset()
|
/external/adhd/cras/src/tests/ |
D | shm_unittest.cc | 158 shm_.header->write_buf_idx = 0; in TEST_F() 168 shm_.header->write_buf_idx = 0; in TEST_F() 179 shm_.header->write_buf_idx = 0; in TEST_F() 191 shm_.header->write_buf_idx = 0; in TEST_F() 199 shm_.header->write_buf_idx = 1; in TEST_F() 247 shm_.header->write_buf_idx = 0; in TEST_F() 272 shm_.header->write_buf_idx = 0; in TEST_F() 285 shm_.header->write_buf_idx = 0; in TEST_F()
|
D | cras_abi_unittest.cc | 104 stream.shm->header->write_buf_idx = 0; in TEST_F()
|
D | cras_client_unittest.cc | 134 shm->header->write_buf_idx = 0; in TEST_F()
|
D | audio_thread_unittest.cc | 512 shm_header->write_buf_idx = 0; in TEST_F() 671 shm_header->write_buf_idx = 0; in TEST_F()
|
D | audio_thread_unittest_obsolete.cc | 970 shm_->area->write_buf_idx = 1; in TEST_F() 972 shm2_->area->write_buf_idx = 1; in TEST_F()
|
/external/adhd/cras/src/server/ |
D | dev_stream.c | 308 ATLOG(atlog, AUDIO_THREAD_CONV_COPY, shm->header->write_buf_idx, in capture_copy_converted_to_stream()
|
/external/adhd/cras/client/cras-sys/src/ |
D | gen.rs | 4721 pub write_buf_idx: u32, field 4768 &(*(::std::ptr::null::<cras_audio_shm_header>())).write_buf_idx as *const _ as usize in bindgen_test_layout_cras_audio_shm_header() 4775 stringify!(write_buf_idx) in bindgen_test_layout_cras_audio_shm_header()
|