Searched refs:cras_audio_shm (Results 1 – 13 of 13) sorted by relevance
69 struct cras_audio_shm { struct75 static inline uint8_t *cras_shm_buff_for_idx(const struct cras_audio_shm *shm, in cras_shm_buff_for_idx()85 unsigned cras_shm_check_read_offset(const struct cras_audio_shm *shm, in cras_shm_check_read_offset()98 unsigned cras_shm_check_write_offset(const struct cras_audio_shm *shm, in cras_shm_check_write_offset()111 unsigned cras_shm_get_curr_read_frames(const struct cras_audio_shm *shm) in cras_shm_get_curr_read_frames()129 uint8_t *cras_shm_get_read_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_read_buffer_base()137 uint8_t *cras_shm_get_write_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_write_buffer_base()146 uint8_t *cras_shm_get_writeable_frames(const struct cras_audio_shm *shm, in cras_shm_get_writeable_frames()173 uint8_t *cras_shm_get_readable_frames(const struct cras_audio_shm *shm, in cras_shm_get_readable_frames()206 static inline size_t cras_shm_get_bytes_queued(const struct cras_audio_shm *shm) in cras_shm_get_bytes_queued()[all …]
82 struct cras_audio_shm shm;243 struct cras_audio_shm *cras_rstream_input_shm(struct cras_rstream *stream) in cras_rstream_input_shm()250 struct cras_audio_shm *cras_rstream_output_shm(struct cras_rstream *stream) in cras_rstream_output_shm()310 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_level()316 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_input_level_met()
24 struct cras_audio_shm *shm, in setup_shm()418 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_input_write_pointer()427 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_output_read_pointer()442 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_update_queued_frames()456 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_get_volume_scaler()
302 struct cras_audio_shm *shm; in capture_copy_converted_to_stream()375 struct cras_audio_shm *shm; in dev_stream_capture()465 struct cras_audio_shm *shm; in dev_stream_capture_avail()625 struct cras_audio_shm *shm; in dev_stream_set_delay()651 struct cras_audio_shm *shm; in dev_stream_can_fetch()
9 struct cras_audio_shm;
115 struct cras_audio_shm *shm = in fetch_streams()224 struct cras_audio_shm *shm; in get_stream_limit()
469 struct cras_audio_shm *shm; in thread_drain_stream_ms_remaining()
125 struct cras_audio_shm *shm_ret; in TEST_F()126 struct cras_audio_shm shm_mapped; in TEST_F()161 struct cras_audio_shm *shm_ret; in TEST_F()162 struct cras_audio_shm shm_mapped; in TEST_F()
131 struct cras_audio_shm *shm; in SetupRstream()223 struct cras_audio_shm *shm_;224 struct cras_audio_shm *shm2_;559 struct cras_audio_shm *shm; in SetupRstream()658 struct cras_audio_shm* shm_;659 struct cras_audio_shm* shm2_;1196 cras_audio_shm *shm; in add_rm_two_streams()1306 cras_audio_shm *shm; in TEST_F()1352 cras_audio_shm *shm; in TEST_F()1385 cras_audio_shm *shm; in TEST_F()[all …]
52 void InitShm(struct cras_audio_shm* shm) { in InitShm()60 void FreeShm(struct cras_audio_shm* shm) { in FreeShm()123 struct cras_audio_shm *shm = &stream_.capture_shm; in TEST_F()
33 struct cras_audio_shm shm_;
181 void SetupShm(struct cras_audio_shm *shm) { in SetupShm()
161 struct cras_audio_shm capture_shm;163 struct cras_audio_shm play_shm;1175 struct cras_audio_shm *shm = &stream->play_shm; in handle_playback_request()1404 static int config_shm(struct cras_audio_shm *shm, int shm_fd, size_t size) in config_shm()