Lines Matching defs:iodev
151 virtual void SetupDevice(cras_iodev* iodev, in SetupDevice()
189 static int configure_dev(cras_iodev* iodev) { in configure_dev()
194 static int close_dev(cras_iodev* iodev) { in close_dev()
199 static int frames_queued(const cras_iodev* iodev, struct timespec* tstamp) { in frames_queued()
204 static int delay_frames(const cras_iodev* iodev) { return delay_frames_; } in delay_frames()
206 static int get_buffer(cras_iodev* iodev, in get_buffer()
228 static int put_buffer(cras_iodev* iodev, unsigned int num) { in put_buffer()
233 static int flush_buffer(cras_iodev* iodev) { return 0; } in flush_buffer()
258 struct cras_iodev iodev; in TEST_F() local
274 struct cras_iodev iodev; in TEST_F() local
327 struct cras_iodev iodev; in TEST_F() local
399 struct cras_iodev iodev; in TEST_F() local
447 struct cras_iodev iodev; in TEST_F() local
489 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
529 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
590 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
660 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
714 struct cras_iodev iodev; in TEST_F() local
747 struct cras_iodev iodev; in TEST_F() local
775 struct cras_iodev iodev; in TEST_F() local
816 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
883 struct cras_iodev iodev; in TEST_F() local
916 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
952 struct cras_iodev iodev, *piodev = &iodev; in TEST_F() local
1035 int cras_iodev_add_stream(struct cras_iodev* iodev, struct dev_stream* stream) { in cras_iodev_add_stream()
1040 void cras_iodev_start_stream(struct cras_iodev* iodev, in cras_iodev_start_stream()
1046 unsigned int cras_iodev_all_streams_written(struct cras_iodev* iodev) { in cras_iodev_all_streams_written()
1050 int cras_iodev_close(struct cras_iodev* iodev) { in cras_iodev_close()
1054 void cras_iodev_free_format(struct cras_iodev* iodev) { in cras_iodev_free_format()
1058 double cras_iodev_get_est_rate_ratio(const struct cras_iodev* iodev) { in cras_iodev_get_est_rate_ratio()
1062 unsigned int cras_iodev_max_stream_offset(const struct cras_iodev* iodev) { in cras_iodev_max_stream_offset()
1066 int cras_iodev_open(struct cras_iodev* iodev, in cras_iodev_open()
1072 int cras_iodev_put_buffer(struct cras_iodev* iodev, unsigned int nframes) { in cras_iodev_put_buffer()
1076 struct dev_stream* cras_iodev_rm_stream(struct cras_iodev* iodev, in cras_iodev_rm_stream()
1088 int cras_iodev_set_format(struct cras_iodev* iodev, in cras_iodev_set_format()
1093 unsigned int cras_iodev_stream_offset(struct cras_iodev* iodev, in cras_iodev_stream_offset()
1098 int cras_iodev_is_zero_volume(const struct cras_iodev* iodev) { in cras_iodev_is_zero_volume()
1106 void cras_iodev_stream_written(struct cras_iodev* iodev, in cras_iodev_stream_written()
1110 int cras_iodev_update_rate(struct cras_iodev* iodev, in cras_iodev_update_rate()
1116 int cras_iodev_put_input_buffer(struct cras_iodev* iodev) { in cras_iodev_put_input_buffer()
1120 int cras_iodev_put_output_buffer(struct cras_iodev* iodev, in cras_iodev_put_output_buffer()
1130 int cras_iodev_get_input_buffer(struct cras_iodev* iodev, unsigned* frames) { in cras_iodev_get_input_buffer()
1134 int cras_iodev_get_output_buffer(struct cras_iodev* iodev, in cras_iodev_get_output_buffer()
1142 int cras_iodev_get_dsp_delay(const struct cras_iodev* iodev) { in cras_iodev_get_dsp_delay()
1305 int cras_iodev_frames_queued(struct cras_iodev* iodev, in cras_iodev_frames_queued()
1310 int cras_iodev_buffer_avail(struct cras_iodev* iodev, unsigned hw_level) { in cras_iodev_buffer_avail()
1333 float cras_iodev_get_software_gain_scaler(const struct cras_iodev* iodev) { in cras_iodev_get_software_gain_scaler()
1361 enum CRAS_IODEV_STATE cras_iodev_state(const struct cras_iodev* iodev) { in cras_iodev_state()
1365 unsigned int cras_iodev_get_num_underruns(const struct cras_iodev* iodev) { in cras_iodev_get_num_underruns()
1369 int cras_iodev_get_valid_frames(struct cras_iodev* iodev, in cras_iodev_get_valid_frames()
1375 int cras_iodev_reset_request(struct cras_iodev* iodev) { in cras_iodev_reset_request()
1382 const struct cras_iodev* iodev) { in cras_iodev_get_num_severe_underruns()
1386 void cras_iodev_update_highest_hw_level(struct cras_iodev* iodev, in cras_iodev_update_highest_hw_level()
1419 int cras_iodev_drop_frames_by_time(struct cras_iodev* iodev, in cras_iodev_drop_frames_by_time()