Lines Matching defs:iodev
108 static int cras_iodev_start(struct cras_iodev *iodev) in cras_iodev_start()
303 static size_t get_best_rate(struct cras_iodev *iodev, size_t rrate) in get_best_rate()
330 static size_t get_best_channel_count(struct cras_iodev *iodev, size_t count) in get_best_channel_count()
356 static snd_pcm_format_t get_best_pcm_format(struct cras_iodev *iodev, in get_best_pcm_format()
370 static int apply_dsp(struct cras_iodev *iodev, uint8_t *buf, size_t frames) in apply_dsp()
391 static void cras_iodev_free_dsp(struct cras_iodev *iodev) in cras_iodev_free_dsp()
401 static inline void adjust_dev_channel_for_dsp(const struct cras_iodev *iodev) in adjust_dev_channel_for_dsp()
420 static void update_channel_layout(struct cras_iodev *iodev) in update_channel_layout()
445 int cras_iodev_set_format(struct cras_iodev *iodev, in cras_iodev_set_format()
520 static void add_ext_dsp_module_to_pipeline(struct cras_iodev *iodev) in add_ext_dsp_module_to_pipeline()
552 static void release_ext_dsp_module_from_pipeline(struct cras_iodev *iodev) in release_ext_dsp_module_from_pipeline()
570 void cras_iodev_set_ext_dsp_module(struct cras_iodev *iodev, in cras_iodev_set_ext_dsp_module()
584 void cras_iodev_update_dsp(struct cras_iodev *iodev) in cras_iodev_update_dsp()
603 int cras_iodev_dsp_set_swap_mode_for_node(struct cras_iodev *iodev, in cras_iodev_dsp_set_swap_mode_for_node()
621 void cras_iodev_free_format(struct cras_iodev *iodev) in cras_iodev_free_format()
627 void cras_iodev_init_audio_area(struct cras_iodev *iodev, int num_channels) in cras_iodev_init_audio_area()
636 void cras_iodev_free_audio_area(struct cras_iodev *iodev) in cras_iodev_free_audio_area()
645 void cras_iodev_free_resources(struct cras_iodev *iodev) in cras_iodev_free_resources()
653 static void cras_iodev_alloc_dsp(struct cras_iodev *iodev) in cras_iodev_alloc_dsp()
703 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
709 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node()
715 void cras_iodev_set_active_node(struct cras_iodev *iodev, in cras_iodev_set_active_node()
746 float cras_iodev_get_software_volume_scaler(struct cras_iodev *iodev) in cras_iodev_get_software_volume_scaler()
758 float cras_iodev_get_software_gain_scaler(const struct cras_iodev *iodev) in cras_iodev_get_software_gain_scaler()
788 int cras_iodev_add_stream(struct cras_iodev *iodev, struct dev_stream *stream) in cras_iodev_add_stream()
803 void cras_iodev_start_stream(struct cras_iodev *iodev, in cras_iodev_start_stream()
823 struct dev_stream *cras_iodev_rm_stream(struct cras_iodev *iodev, in cras_iodev_rm_stream()
879 unsigned int cras_iodev_stream_offset(struct cras_iodev *iodev, in cras_iodev_stream_offset()
886 void cras_iodev_stream_written(struct cras_iodev *iodev, in cras_iodev_stream_written()
893 unsigned int cras_iodev_all_streams_written(struct cras_iodev *iodev) in cras_iodev_all_streams_written()
900 unsigned int cras_iodev_max_stream_offset(const struct cras_iodev *iodev) in cras_iodev_max_stream_offset()
917 int cras_iodev_open(struct cras_iodev *iodev, unsigned int cb_level, in cras_iodev_open()
1009 enum CRAS_IODEV_STATE cras_iodev_state(const struct cras_iodev *iodev) in cras_iodev_state()
1014 int cras_iodev_close(struct cras_iodev *iodev) in cras_iodev_close()
1053 int cras_iodev_put_input_buffer(struct cras_iodev *iodev) in cras_iodev_put_input_buffer()
1077 int cras_iodev_put_output_buffer(struct cras_iodev *iodev, uint8_t *frames, in cras_iodev_put_output_buffer()
1179 int cras_iodev_get_input_buffer(struct cras_iodev *iodev, unsigned int *frames) in cras_iodev_get_input_buffer()
1233 int cras_iodev_get_output_buffer(struct cras_iodev *iodev, in cras_iodev_get_output_buffer()
1251 int cras_iodev_update_rate(struct cras_iodev *iodev, unsigned int level, in cras_iodev_update_rate()
1262 int cras_iodev_reset_rate_estimator(const struct cras_iodev *iodev) in cras_iodev_reset_rate_estimator()
1268 double cras_iodev_get_est_rate_ratio(const struct cras_iodev *iodev) in cras_iodev_get_est_rate_ratio()
1274 int cras_iodev_get_dsp_delay(const struct cras_iodev *iodev) in cras_iodev_get_dsp_delay()
1294 int cras_iodev_frames_queued(struct cras_iodev *iodev, in cras_iodev_frames_queued()
1315 int cras_iodev_buffer_avail(struct cras_iodev *iodev, unsigned hw_level) in cras_iodev_buffer_avail()
1473 unsigned int cras_iodev_get_num_underruns(const struct cras_iodev *iodev) in cras_iodev_get_num_underruns()
1478 unsigned int cras_iodev_get_num_severe_underruns(const struct cras_iodev *iodev) in cras_iodev_get_num_severe_underruns()
1485 int cras_iodev_reset_request(struct cras_iodev *iodev) in cras_iodev_reset_request()
1612 int cras_iodev_set_mute(struct cras_iodev *iodev) in cras_iodev_set_mute()
1622 void cras_iodev_update_highest_hw_level(struct cras_iodev *iodev, in cras_iodev_update_highest_hw_level()
1652 static int cras_iodev_drop_frames(struct cras_iodev *iodev, unsigned int frames) in cras_iodev_drop_frames()
1696 int cras_iodev_drop_frames_by_time(struct cras_iodev *iodev, struct timespec ts) in cras_iodev_drop_frames_by_time()
1711 bool cras_iodev_support_noise_cancellation(const struct cras_iodev *iodev) in cras_iodev_support_noise_cancellation()