Home
last modified time | relevance | path

Searched refs:CRAS_STREAM_DIRECTION (Results 1 – 25 of 77) sorted by relevance

1234

/external/adhd/cras/src/server/
Dcras_hfp_info.h54 int hfp_buf_queued(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction);
79 int hfp_buf_size(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction);
91 enum CRAS_STREAM_DIRECTION direction, uint8_t **buf,
102 enum CRAS_STREAM_DIRECTION direction,
110 enum CRAS_STREAM_DIRECTION direction,
118 enum CRAS_STREAM_DIRECTION direction);
Dcras_iodev_list.h92 cras_iodev_list_get_first_enabled_iodev(enum CRAS_STREAM_DIRECTION direction);
101 cras_iodev_list_get_sco_pcm_iodev(enum CRAS_STREAM_DIRECTION direction);
110 cras_iodev_list_get_active_node_id(enum CRAS_STREAM_DIRECTION direction);
138 enum CRAS_STREAM_DIRECTION direction);
156 void cras_iodev_list_select_node(enum CRAS_STREAM_DIRECTION direction,
201 void cras_iodev_list_add_active_node(enum CRAS_STREAM_DIRECTION direction,
209 void cras_iodev_list_rm_active_node(enum CRAS_STREAM_DIRECTION direction,
Dcras_alsa_mixer_name.h25 enum CRAS_STREAM_DIRECTION dir;
43 enum CRAS_STREAM_DIRECTION dir,
62 enum CRAS_STREAM_DIRECTION dir,
87 enum CRAS_STREAM_DIRECTION dir,
Dcras_alsa_ucm.h132 enum CRAS_STREAM_DIRECTION direction);
144 enum CRAS_STREAM_DIRECTION dir);
255 enum CRAS_STREAM_DIRECTION direction);
280 enum CRAS_STREAM_DIRECTION direction);
393 struct cras_use_case_mgr *mgr, enum CRAS_STREAM_DIRECTION direction,
Dcras_alsa_mixer_name.c14 enum CRAS_STREAM_DIRECTION dir, in mixer_name_add()
41 enum CRAS_STREAM_DIRECTION dir, in mixer_name_add_array()
61 enum CRAS_STREAM_DIRECTION dir, in mixer_name_find()
84 static const char *mixer_name_type_str(enum CRAS_STREAM_DIRECTION dir, in mixer_name_type_str()
Dcras_system_state.h229 void cras_system_state_stream_added(enum CRAS_STREAM_DIRECTION direction);
237 void cras_system_state_stream_removed(enum CRAS_STREAM_DIRECTION direction);
247 enum CRAS_STREAM_DIRECTION direction);
Dcras_server_metrics.h28 enum CRAS_STREAM_DIRECTION direction);
32 enum CRAS_STREAM_DIRECTION direction);
Dcras_alsa_ucm_section.h23 enum CRAS_STREAM_DIRECTION dir;
50 enum CRAS_STREAM_DIRECTION dir,
Dcras_rstream.h67 enum CRAS_STREAM_DIRECTION direction;
117 enum CRAS_STREAM_DIRECTION direction;
142 enum CRAS_STREAM_DIRECTION direction, uint32_t dev_idx, uint32_t flags,
227 static inline enum CRAS_STREAM_DIRECTION
Dcras_observer.h74 void cras_observer_notify_active_node(enum CRAS_STREAM_DIRECTION dir,
92 void cras_observer_notify_num_active_streams(enum CRAS_STREAM_DIRECTION dir,
Dcras_hfp_info.c101 enum CRAS_STREAM_DIRECTION direction, in hfp_info_add_iodev()
125 enum CRAS_STREAM_DIRECTION direction) in hfp_info_rm_iodev()
146 enum CRAS_STREAM_DIRECTION direction, uint8_t **buf, in hfp_buf_acquire()
167 int hfp_buf_size(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction) in hfp_buf_size()
178 enum CRAS_STREAM_DIRECTION direction, in hfp_buf_release()
191 int hfp_buf_queued(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction) in hfp_buf_queued()
Dcras_iodev_list.c568 static void possibly_disable_fallback(enum CRAS_STREAM_DIRECTION dir) in possibly_disable_fallback()
584 static void possibly_enable_fallback(enum CRAS_STREAM_DIRECTION dir, bool error) in possibly_enable_fallback()
629 enum CRAS_STREAM_DIRECTION dir = dev->direction; in init_and_attach_streams()
830 static int possibly_close_enabled_devs(enum CRAS_STREAM_DIRECTION dir) in possibly_close_enabled_devs()
876 enum CRAS_STREAM_DIRECTION direction = rstream->direction; in stream_removed_cb()
895 enum CRAS_STREAM_DIRECTION dir = dev->direction; in enable_device()
925 enum CRAS_STREAM_DIRECTION dir = dev->direction; in disable_device()
1079 void cras_iodev_list_add_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_iodev_list_add_active_node()
1200 void cras_iodev_list_rm_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_iodev_list_rm_active_node()
1279 cras_iodev_list_get_first_enabled_iodev(enum CRAS_STREAM_DIRECTION direction) in cras_iodev_list_get_first_enabled_iodev()
[all …]
Dcras_alsa_mixer.c61 enum CRAS_STREAM_DIRECTION dir;
132 enum CRAS_STREAM_DIRECTION dir) in mixer_control_element_create()
245 enum CRAS_STREAM_DIRECTION dir) in mixer_control_create()
309 enum CRAS_STREAM_DIRECTION dir) in mixer_control_create_by_name()
516 enum CRAS_STREAM_DIRECTION dir, in add_control_with_name()
543 enum CRAS_STREAM_DIRECTION dir, snd_mixer_elem_t *elem) in add_control()
572 enum CRAS_STREAM_DIRECTION dir, in add_control_with_coupled_mixers()
599 enum CRAS_STREAM_DIRECTION dir, const char *name) in add_control_by_name()
1102 enum CRAS_STREAM_DIRECTION dir, in cras_alsa_mixer_get_control_matching_name()
Dcras_alsa_ucm.c253 enum CRAS_STREAM_DIRECTION direction) in ucm_get_sections_for_var()
299 const char *value, enum CRAS_STREAM_DIRECTION dir) in ucm_get_devices_for_var()
344 enum CRAS_STREAM_DIRECTION dir, in ucm_get_mixer_names()
548 enum CRAS_STREAM_DIRECTION direction) in ucm_get_dev_for_jack()
579 enum CRAS_STREAM_DIRECTION dir) in ucm_get_dev_for_mixer()
717 enum CRAS_STREAM_DIRECTION direction) in ucm_get_device_name_for_dev()
741 enum CRAS_STREAM_DIRECTION direction) in ucm_get_sample_rate_for_dev()
825 enum CRAS_STREAM_DIRECTION dir = CRAS_STREAM_UNDEFINED; in ucm_get_sections()
1038 struct cras_use_case_mgr *mgr, enum CRAS_STREAM_DIRECTION direction, in ucm_list_section_devices_by_device_name()
/external/adhd/cras/src/libcras/
Dcras_client.h424 enum CRAS_STREAM_DIRECTION direction,
436 enum CRAS_STREAM_DIRECTION direction,
448 enum CRAS_STREAM_DIRECTION direction,
550 enum CRAS_STREAM_DIRECTION direction, size_t buffer_frames,
605 enum CRAS_STREAM_DIRECTION direction, unsigned int block_size,
1034 enum CRAS_STREAM_DIRECTION direction,
1051 enum CRAS_STREAM_DIRECTION direction);
1239 void *context, enum CRAS_STREAM_DIRECTION direction,
1283 void *context, enum CRAS_STREAM_DIRECTION direction,
/external/adhd/cras/src/tests/
Ddev_io_stubs.h59 CRAS_STREAM_DIRECTION direction,
66 CRAS_STREAM_DIRECTION direction,
72 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction,
76 DevicePtr create_device(CRAS_STREAM_DIRECTION direction,
Dhfp_iodev_unittest.cc287 enum CRAS_STREAM_DIRECTION direction, in hfp_info_add_iodev()
294 enum CRAS_STREAM_DIRECTION direction) { in hfp_info_rm_iodev()
320 const enum CRAS_STREAM_DIRECTION direction) { in hfp_buf_queued()
324 int hfp_buf_size(struct hfp_info* info, enum CRAS_STREAM_DIRECTION direction) { in hfp_buf_size()
329 enum CRAS_STREAM_DIRECTION direction, in hfp_buf_acquire()
337 enum CRAS_STREAM_DIRECTION direction, in hfp_buf_release()
Dalsa_jack_unittest.cc196 CRAS_STREAM_DIRECTION direction, in run_test_with_elem_list()
239 CRAS_STREAM_DIRECTION direction, in run_test_with_section()
380 enum CRAS_STREAM_DIRECTION direction, in run_gpio_jack_test()
413 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
429 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_INPUT; in TEST()
445 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
461 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
477 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
493 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
509 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
[all …]
Dmetrics_stub.cc16 enum CRAS_STREAM_DIRECTION direction) { in cras_server_metrics_highest_device_delay()
21 enum CRAS_STREAM_DIRECTION direction) { in cras_server_metrics_highest_hw_level()
Ddev_io_stubs.cc50 CRAS_STREAM_DIRECTION direction, in create_rstream()
80 CRAS_STREAM_DIRECTION direction, in create_stream()
112 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction, in create_open_iodev()
132 DevicePtr create_device(CRAS_STREAM_DIRECTION direction, in create_device()
Dhfp_ag_profile_unittest.cc129 enum CRAS_STREAM_DIRECTION direction) { in cras_iodev_list_get_sco_pcm_iodev()
140 struct cras_iodev* hfp_alsa_iodev_create(enum CRAS_STREAM_DIRECTION dir, in hfp_alsa_iodev_create()
152 struct cras_iodev* hfp_iodev_create(enum CRAS_STREAM_DIRECTION dir, in hfp_iodev_create()
/external/adhd/cras/src/common/
Dcras_messages.h106 enum CRAS_STREAM_DIRECTION direction; /* input/output/loopback */
129 enum CRAS_STREAM_DIRECTION direction; /* input/output/loopback */
141 struct cras_connect_message *m, enum CRAS_STREAM_DIRECTION direction, in cras_fill_connect_message()
275 enum CRAS_STREAM_DIRECTION direction;
279 enum CRAS_STREAM_DIRECTION direction, in cras_fill_select_node()
291 enum CRAS_STREAM_DIRECTION direction;
296 enum CRAS_STREAM_DIRECTION direction, in cras_fill_add_active_node()
308 enum CRAS_STREAM_DIRECTION direction;
313 enum CRAS_STREAM_DIRECTION direction, in cras_fill_rm_active_node()
699 enum CRAS_STREAM_DIRECTION direction, in cras_fill_client_active_node_changed()
[all …]
Dcras_types.h68 enum CRAS_STREAM_DIRECTION { enum
87 cras_stream_direction_mask(const enum CRAS_STREAM_DIRECTION dir) in cras_stream_direction_mask()
124 static inline int cras_stream_uses_output_hw(enum CRAS_STREAM_DIRECTION dir) in cras_stream_uses_output_hw()
129 static inline int cras_stream_uses_input_hw(enum CRAS_STREAM_DIRECTION dir) in cras_stream_uses_input_hw()
134 static inline int cras_stream_has_input(enum CRAS_STREAM_DIRECTION dir) in cras_stream_has_input()
139 static inline int cras_stream_is_loopback(enum CRAS_STREAM_DIRECTION dir) in cras_stream_is_loopback()
Dcras_observer_ops.h31 enum CRAS_STREAM_DIRECTION dir,
48 enum CRAS_STREAM_DIRECTION dir,
/external/adhd/cras/src/tools/cras_monitor/
Dcras_monitor.c50 static const char *string_for_direction(enum CRAS_STREAM_DIRECTION dir) in string_for_direction()
82 enum CRAS_STREAM_DIRECTION dir, in node_name_for_node_id()
130 static void active_node_changed(void *context, enum CRAS_STREAM_DIRECTION dir, in active_node_changed()
170 enum CRAS_STREAM_DIRECTION dir, in num_active_streams_changed()

1234