Home
last modified time | relevance | path

Searched refs:DL_FOREACH (Results 1 – 25 of 36) sorted by relevance

12

/external/adhd/cras/src/server/
Dcras_alert.c63 DL_FOREACH (alert->callbacks, alert_cb) in cras_alert_add_callback()
81 DL_FOREACH (alert->callbacks, alert_cb) in cras_alert_rm_callback()
105 DL_FOREACH (alert->callbacks, cb) in cras_alert_process()
110 DL_FOREACH (alert->data, data) { in cras_alert_process()
111 DL_FOREACH (alert->callbacks, cb) in cras_alert_process()
151 DL_FOREACH (all_alerts, alert) in cras_alert_process_all_pending_alerts()
164 DL_FOREACH (alert->callbacks, cb) { in cras_alert_destroy()
169 DL_FOREACH (alert->data, data) { in cras_alert_destroy()
182 DL_FOREACH (all_alerts, alert) in cras_alert_destroy_all()
Ddev_io.c65 DL_FOREACH (dev->streams, dev_stream) { in update_estimated_rate()
88 DL_FOREACH (adevs, adev) { in count_non_empty_dev()
146 DL_FOREACH (adev->dev->streams, dev_stream) { in fetch_streams()
215 DL_FOREACH (adevs, adev) { in input_delay_frames()
239 DL_FOREACH (adev->dev->streams, stream) { in set_stream_delay()
269 DL_FOREACH (adev->dev->streams, stream) { in get_stream_limit()
400 DL_FOREACH (adev->dev->streams, stream) { in set_input_dev_wake_ts()
455 DL_FOREACH (adev->dev->streams, stream) in capture_to_streams()
499 DL_FOREACH (adev->dev->streams, stream) { in capture_to_streams()
583 DL_FOREACH (adev->dev->streams, curr) { in write_streams()
[all …]
Dcras_iodev_list.c97 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
101 DL_FOREACH (devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
123 DL_FOREACH (list->iodevs, tmp) in add_dev_to_list()
159 DL_FOREACH (devs[dev->direction].iodevs, tmp) in rm_dev_from_list()
178 DL_FOREACH (list->iodevs, tmp) { in fill_dev_list()
240 DL_FOREACH (list->iodevs, dev) { in fill_node_list()
241 DL_FOREACH (dev->nodes, node) { in fill_node_list()
301 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_vol_change()
315 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_mute_change()
335 DL_FOREACH (stream_list_get(stream_list), rstream) { in remove_all_streams_from_dev()
[all …]
Dcras_observer.c103 DL_FOREACH (g_observer->clients, client) { in output_volume_alert()
116 DL_FOREACH (g_observer->clients, client) { in output_mute_alert()
131 DL_FOREACH (g_observer->clients, client) { in capture_gain_alert()
144 DL_FOREACH (g_observer->clients, client) { in capture_mute_alert()
161 DL_FOREACH (g_observer->clients, client) { in nodes_alert()
173 DL_FOREACH (g_observer->clients, client) { in active_node_alert()
187 DL_FOREACH (g_observer->clients, client) { in output_node_volume_alert()
201 DL_FOREACH (g_observer->clients, client) { in node_left_right_swapped_alert()
215 DL_FOREACH (g_observer->clients, client) { in input_node_gain_alert()
229 DL_FOREACH (g_observer->clients, client) { in suspend_changed_alert()
[all …]
Dcras_alsa_card.c90 DL_FOREACH (alsa_card->iodevs, node) { in create_iodev_for_device()
134 DL_FOREACH (alsa_card->iodevs, node) { in card_has_hctl_jack()
161 DL_FOREACH (controls, control) { in filter_controls()
327 DL_FOREACH (ucm_sections, section) { in add_controls_and_iodevs_with_ucm()
340 DL_FOREACH (ucm_sections, section) { in add_controls_and_iodevs_with_ucm()
369 DL_FOREACH (ucm_sections, section) { in add_controls_and_iodevs_with_ucm()
370 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
383 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
402 DL_FOREACH (alsa_card->iodevs, dev_node) { in configure_echo_reference_dev()
410 DL_FOREACH (alsa_card->iodevs, echo_ref_node) { in configure_echo_reference_dev()
[all …]
Dcras_hfp_ag_profile.c137 DL_FOREACH (connected_ags, ag) { in has_audio_gateway()
148 DL_FOREACH (connected_ags, ag) in cras_hfp_ag_release()
190 DL_FOREACH (connected_ags, ag) { in check_for_conflict_ag()
208 DL_FOREACH (connected_ags, ag) { in cras_hfp_ag_remove_conflict()
271 DL_FOREACH (connected_ags, ag) { in cras_hfp_ag_request_disconnection()
342 DL_FOREACH (connected_ags, ag) { in cras_hsp_ag_request_disconnection()
431 DL_FOREACH (connected_ags, ag) { in cras_hfp_ag_get_slc()
Dcras_server.c202 DL_FOREACH (serv->clients_head, c) { in send_client_list_to_clients()
292 DL_FOREACH (serv->client_callbacks, client_cb) in add_select_fd()
323 DL_FOREACH (serv->client_callbacks, client_cb) in rm_select_fd()
363 DL_FOREACH (serv->client_callbacks, client_cb) in cleanup_select_fds()
634 DL_FOREACH (server_instance.clients_head, elm) { in cras_server_run()
640 DL_FOREACH (server_instance.client_callbacks, client_cb) { in cras_server_run()
651 DL_FOREACH (tasks, system_task) { in cras_server_run()
684 DL_FOREACH (server_instance.clients_head, elm) in cras_server_run()
688 DL_FOREACH (server_instance.client_callbacks, client_cb) in cras_server_run()
714 DL_FOREACH (server_instance.clients_head, client) in cras_server_send_to_all_clients()
Dcras_alsa_mixer.c182 DL_FOREACH (control->elements, elem) { in mixer_control_destroy()
196 DL_FOREACH (control_list, control) { in mixer_control_destroy_list()
334 DL_FOREACH (mixer_names, m_name) { in mixer_control_create_by_name()
365 DL_FOREACH (control->elements, elem) { in mixer_control_set_dBFS()
394 DL_FOREACH (control->elements, elem) { in mixer_control_get_dBFS()
423 DL_FOREACH (control->elements, elem) { in mixer_control_set_mute()
461 DL_FOREACH (cmix->main_volume_controls, next) { in add_main_volume_control()
554 DL_FOREACH (control_list, control) in list_controls()
563 DL_FOREACH (control_list, c) { in get_control_matching_name()
855 DL_FOREACH (mixer_names, m_name) { in cras_alsa_mixer_add_main_volume_control_by_name()
[all …]
Daudio_thread.c134 DL_FOREACH (iodev_callbacks, iodev_cb) in _audio_thread_add_callback()
162 DL_FOREACH (iodev_callbacks, iodev_cb) { in audio_thread_rm_callback()
175 DL_FOREACH (iodev_callbacks, iodev_cb) { in audio_thread_enable_callback()
371 DL_FOREACH (thread->open_devs[rstream->direction], open_dev) { in thread_find_stream()
372 DL_FOREACH (open_dev->dev->streams, s) { in thread_find_stream()
465 DL_FOREACH (idev_list, adev) { in thread_set_aec_dump()
469 DL_FOREACH (adev->dev->streams, stream) { in thread_set_aec_dump()
634 DL_FOREACH (thread->open_devs[CRAS_STREAM_OUTPUT], adev) { in handle_playback_thread_message()
638 DL_FOREACH (adev->dev->streams, curr) { in handle_playback_thread_message()
646 DL_FOREACH (thread->open_devs[CRAS_STREAM_INPUT], adev) { in handle_playback_thread_message()
[all …]
Dcras_alsa_mixer_name.c53 DL_FOREACH (names, m_name) { in mixer_name_free()
68 DL_FOREACH (names, m_name) { in mixer_name_find()
126 DL_FOREACH (names, m_name) { in mixer_name_dump()
Dcras_apm_list.c130 DL_FOREACH (apm_list, list) { in update_process_reverse_flag()
177 DL_FOREACH (list->apms, apm) { in cras_apm_list_get()
196 DL_FOREACH (list->apms, apm) { in cras_apm_list_remove()
248 DL_FOREACH (list->apms, apm) in cras_apm_list_add()
299 DL_FOREACH (apm_list, tmp) { in cras_apm_list_destroy()
309 DL_FOREACH (list->apms, apm) { in cras_apm_list_destroy()
402 DL_FOREACH (apm_list, list) { in process_reverse()
406 DL_FOREACH (list->apms, apm) { in process_reverse()
Dstream_list.c29 DL_FOREACH (list->streams_to_delete, to_delete) { in delete_streams()
123 DL_FOREACH (list->streams, to_remove) { in stream_list_rm_all_client_streams()
142 DL_FOREACH (list->streams, rstream) { in stream_list_has_pinned_stream()
Dcras_main_message.c32 DL_FOREACH (main_msg_callbacks, msg_cb) { in cras_main_message_add_handler()
93 DL_FOREACH (main_msg_callbacks, main_msg_cb) { in handle_main_messages()
Dcras_bt_profile.c370 DL_FOREACH (profiles, profile) { in cras_bt_register_profiles()
406 DL_FOREACH (profiles, profile) in cras_bt_profile_reset()
413 DL_FOREACH (profiles, profile) { in cras_bt_profile_get()
424 DL_FOREACH (profiles, profile) in cras_bt_profile_on_device_disconnected()
Dcras_tm.c93 DL_FOREACH (tm->timers, t) { in cras_tm_deinit()
110 DL_FOREACH (tm->timers, t) in cras_tm_get_next_timeout()
Dcras_bt_adapter.c134 DL_FOREACH (adapters, adapter) { in cras_bt_adapter_get()
148 DL_FOREACH (adapters, adapter) { in cras_bt_adapter_get_list()
312 DL_FOREACH (adapters, adapter) { in on_get_supported_capabilities_reply()
Dcras_bt_io.c312 DL_FOREACH (iodev->nodes, node) { in update_active_node()
483 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_free_resources()
512 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_get_profile()
560 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_try_remove()
580 DL_FOREACH (bt_iodev->nodes, node) { in cras_bt_io_remove()
Dcras_dsp.c135 DL_FOREACH (context_list, ctx) { in cmd_reload_ini()
246 DL_FOREACH (context_list, ctx) { in cras_dsp_dump_info()
Dcras_iodev.c131 DL_FOREACH (odev->streams, curr) { in dev_playback_frames()
802 DL_FOREACH (iodev->streams, out) { in cras_iodev_rm_stream()
839 DL_FOREACH (iodev->streams, out) { in cras_iodev_rm_stream()
873 DL_FOREACH (iodev->streams, curr) { in cras_iodev_max_stream_offset()
894 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_open()
1003 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_close()
1062 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer()
1072 DL_FOREACH (iodev->loopbacks, loopback) { in cras_iodev_put_output_buffer()
Dcras_bt_endpoint.c510 DL_FOREACH (endpoints, endpoint) in cras_bt_register_endpoints()
569 DL_FOREACH (endpoints, endpoint) in cras_bt_endpoint_reset()
577 DL_FOREACH (endpoints, endpoint) { in cras_bt_endpoint_get()
Dcras_system_state.c385 DL_FOREACH (state.cards, card) { in cras_system_add_alsa_card()
408 DL_FOREACH (state.cards, card) { in cras_system_remove_alsa_card()
424 DL_FOREACH (state.cards, card) in cras_system_alsa_card_exists()
Dcras_alsa_io.c567 DL_FOREACH (iodev->nodes, n) { in first_plugged_node()
580 DL_FOREACH (iodev->nodes, n) { in update_active_node()
845 DL_FOREACH (aio->base.nodes, node) { in free_alsa_iodev_resources()
880 DL_FOREACH (aio->base.nodes, node) in has_node()
1147 DL_FOREACH (aio->base.nodes, tmp) in check_auto_unplug_output_node()
1151 DL_FOREACH (aio->base.nodes, tmp) { in check_auto_unplug_output_node()
1236 DL_FOREACH (aio->base.nodes, tmp) in check_auto_unplug_input_node()
1240 DL_FOREACH (aio->base.nodes, tmp) in check_auto_unplug_input_node()
1647 DL_FOREACH (aio->base.nodes, ionode) { in build_softvol_scalers()
2308 DL_FOREACH (aio->base.nodes, node) { in alsa_iodev_unmute_node()
Dcras_alsa_ucm.c555 DL_FOREACH (section_names, c) { in ucm_get_dev_for_jack()
569 DL_FOREACH (section_names, c) { in ucm_get_dev_for_jack()
589 DL_FOREACH (section_names, c) { in ucm_get_dev_for_mixer()
1061 DL_FOREACH (section_names, c) { in ucm_list_section_devices_by_device_name()
1066 DL_FOREACH (section_names, c) { in ucm_list_section_devices_by_device_name()
Dcras_alsa_ucm_section.c31 DL_FOREACH (sections, section) { in ucm_section_free_list()
/external/adhd/cras/src/tests/
D.clang-format10 - 'DL_FOREACH'

12