Home
last modified time | relevance | path

Searched refs:DL_FOREACH (Results 1 – 25 of 35) 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()
Dcras_iodev_list.c100 DL_FOREACH(devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
104 DL_FOREACH(devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
124 DL_FOREACH(dev->nodes, node) in find_node()
138 DL_FOREACH(list->iodevs, tmp) in add_dev_to_list()
174 DL_FOREACH(devs[dev->direction].iodevs, tmp) in rm_dev_from_list()
194 DL_FOREACH(list->iodevs, tmp) { in fill_dev_list()
253 DL_FOREACH(list->iodevs, dev) { in fill_node_list()
254 DL_FOREACH(dev->nodes, node) { in fill_node_list()
314 DL_FOREACH(devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_vol_change()
347 DL_FOREACH(devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_mute_change()
[all …]
Ddev_io.c54 DL_FOREACH(dev->streams, dev_stream) { in update_estimated_rate()
76 DL_FOREACH(adevs, adev) { in count_non_empty_dev()
113 DL_FOREACH(adev->dev->streams, dev_stream) { in fetch_streams()
175 DL_FOREACH(adevs, adev) { in input_delay_frames()
199 DL_FOREACH(adev->dev->streams, stream) { in set_stream_delay()
230 DL_FOREACH(adev->dev->streams, stream) { in get_stream_limit()
331 DL_FOREACH(adev->dev->streams, stream) { in set_input_dev_wake_ts()
386 DL_FOREACH(adev->dev->streams, stream) in capture_to_streams()
430 DL_FOREACH(adev->dev->streams, stream) { in capture_to_streams()
504 DL_FOREACH(adev->dev->streams, curr) { in write_streams()
[all …]
Dcras_observer.c103 DL_FOREACH(g_observer->clients, client) { in output_volume_alert()
117 DL_FOREACH(g_observer->clients, client) { in output_mute_alert()
133 DL_FOREACH(g_observer->clients, client) { in capture_gain_alert()
147 DL_FOREACH(g_observer->clients, client) { in capture_mute_alert()
165 DL_FOREACH(g_observer->clients, client) { in nodes_alert()
177 DL_FOREACH(g_observer->clients, client) { in active_node_alert()
192 DL_FOREACH(g_observer->clients, client) { in output_node_volume_alert()
207 DL_FOREACH(g_observer->clients, client) { in node_left_right_swapped_alert()
222 DL_FOREACH(g_observer->clients, client) { in input_node_gain_alert()
237 DL_FOREACH(g_observer->clients, client) { in suspend_changed_alert()
[all …]
Dcras_alsa_card.c94 DL_FOREACH(alsa_card->iodevs, node) { in create_iodev_for_device()
149 DL_FOREACH(alsa_card->iodevs, node) { in card_has_hctl_jack()
178 DL_FOREACH(controls, control) { in filter_controls()
347 DL_FOREACH(ucm_sections, section) { in add_controls_and_iodevs_with_ucm()
360 DL_FOREACH(ucm_sections, section) { in add_controls_and_iodevs_with_ucm()
391 DL_FOREACH(ucm_sections, section) { in add_controls_and_iodevs_with_ucm()
392 DL_FOREACH(alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
406 DL_FOREACH(alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
423 DL_FOREACH(alsa_card->iodevs, dev_node) { in configure_echo_reference_dev()
432 DL_FOREACH(alsa_card->iodevs, echo_ref_node) { in configure_echo_reference_dev()
[all …]
Dcras_server.c181 DL_FOREACH(serv->clients_head, c) { in send_client_list_to_clients()
266 DL_FOREACH(serv->client_callbacks, client_cb) in add_select_fd()
297 DL_FOREACH(serv->client_callbacks, client_cb) in rm_select_fd()
338 DL_FOREACH(serv->client_callbacks, client_cb) in cleanup_select_fds()
559 DL_FOREACH(server_instance.clients_head, elm) { in cras_server_run()
565 DL_FOREACH(server_instance.client_callbacks, client_cb) { in cras_server_run()
576 DL_FOREACH(tasks, system_task) { in cras_server_run()
603 DL_FOREACH(server_instance.clients_head, elm) in cras_server_run()
607 DL_FOREACH(server_instance.client_callbacks, client_cb) in cras_server_run()
637 DL_FOREACH(server_instance.clients_head, client) in cras_server_send_to_all_clients()
Daudio_thread.c120 DL_FOREACH(iodev_callbacks, iodev_cb) in _audio_thread_add_callback()
150 DL_FOREACH(iodev_callbacks, iodev_cb) { in audio_thread_rm_callback()
163 DL_FOREACH(iodev_callbacks, iodev_cb) { in audio_thread_enable_callback()
289 DL_FOREACH(dev->streams, out) { in append_stream()
347 DL_FOREACH(thread->open_devs[stream->direction], open_dev) { in append_stream()
435 DL_FOREACH(thread->open_devs[rstream->direction], open_dev) { in thread_find_stream()
436 DL_FOREACH(open_dev->dev->streams, s) { in thread_find_stream()
531 DL_FOREACH(idev_list, adev) { in thread_set_aec_dump()
535 DL_FOREACH(adev->dev->streams, stream) { in thread_set_aec_dump()
681 DL_FOREACH(thread->open_devs[CRAS_STREAM_OUTPUT], adev) { in handle_playback_thread_message()
[all …]
Dcras_hfp_ag_profile.c128 DL_FOREACH(connected_ags, ag) { in has_audio_gateway()
170 DL_FOREACH(connected_ags, ag) { in check_for_conflict_ag()
191 DL_FOREACH(connected_ags, ag) { in possibly_remove_conflict_dev()
199 DL_FOREACH(connected_ags, ag) { in possibly_remove_conflict_dev()
248 DL_FOREACH(connected_ags, ag) { in cras_hfp_ag_request_disconnection()
346 DL_FOREACH(connected_ags, ag) in cras_hfp_ag_suspend()
369 DL_FOREACH(connected_ags, ag) { in cras_hfp_ag_get_slc()
Dcras_alsa_mixer.c182 DL_FOREACH(control->elements, elem) { in mixer_control_destroy()
196 DL_FOREACH(control_list, control) { in mixer_control_destroy_list()
337 DL_FOREACH(mixer_names, m_name) { in mixer_control_create_by_name()
368 DL_FOREACH(control->elements, elem) { in mixer_control_set_dBFS()
399 DL_FOREACH(control->elements, elem) { in mixer_control_get_dBFS()
431 DL_FOREACH(control->elements, elem) { in mixer_control_set_mute()
469 DL_FOREACH(cmix->main_volume_controls, next) { in add_main_volume_control()
565 DL_FOREACH(control_list, control) in list_controls()
575 DL_FOREACH(control_list, c) { in get_control_matching_name()
947 DL_FOREACH(cras_mixer->main_volume_controls, c) { in cras_alsa_mixer_set_dBFS()
[all …]
Dcras_apm_list.c125 DL_FOREACH(apm_list, list) { in update_process_reverse_flag()
173 DL_FOREACH(list->apms, apm) { in cras_apm_list_get()
192 DL_FOREACH(list->apms, apm) { in cras_apm_list_remove()
245 DL_FOREACH(list->apms, apm) { in cras_apm_list_add()
302 DL_FOREACH(apm_list, tmp) { in cras_apm_list_destroy()
312 DL_FOREACH(list->apms, apm) { in cras_apm_list_destroy()
397 DL_FOREACH(apm_list, list) { in process_reverse()
401 DL_FOREACH(list->apms, apm) { in process_reverse()
Dcras_alsa_mixer_name.c54 DL_FOREACH(names, m_name) { in mixer_name_free()
70 DL_FOREACH(names, m_name) { in mixer_name_find()
129 DL_FOREACH(names, m_name) { in mixer_name_dump()
Dcras_bt_profile.c385 DL_FOREACH(profiles, profile) { in cras_bt_register_profiles()
426 DL_FOREACH(profiles, profile) in cras_bt_profile_reset()
433 DL_FOREACH(profiles, profile) { in cras_bt_profile_get()
444 DL_FOREACH(profiles, profile) in cras_bt_profile_on_device_disconnected()
Dcras_main_message.c33 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_io.c301 DL_FOREACH(iodev->nodes, node) { in update_active_node()
422 DL_FOREACH(bt_iodev->nodes, node) { in cras_bt_io_free_resources()
451 DL_FOREACH(bt_iodev->nodes, node) { in cras_bt_io_get_profile()
510 DL_FOREACH(bt_iodev->nodes, node) { in cras_bt_io_try_remove()
531 DL_FOREACH(bt_iodev->nodes, node) { in cras_bt_io_remove()
Dcras_tm.c94 DL_FOREACH(tm->timers, t) { in cras_tm_deinit()
111 DL_FOREACH(tm->timers, t) in cras_tm_get_next_timeout()
Dstream_list.c29 DL_FOREACH(list->streams_to_delete, to_delete) { in delete_streams()
121 DL_FOREACH(list->streams, to_remove) { in stream_list_rm_all_client_streams()
Dcras_bt_adapter.c118 DL_FOREACH(adapters, adapter) { in cras_bt_adapter_get()
132 DL_FOREACH(adapters, adapter) { in cras_bt_adapter_get_list()
Dcras_dsp.c121 DL_FOREACH(context_list, ctx) { in cmd_reload_ini()
231 DL_FOREACH(context_list, ctx) { in cras_dsp_dump_info()
Dcras_bt_endpoint.c525 DL_FOREACH(endpoints, endpoint) in cras_bt_register_endpoints()
585 DL_FOREACH(endpoints, endpoint) in cras_bt_endpoint_reset()
593 DL_FOREACH(endpoints, endpoint) { in cras_bt_endpoint_get()
Dcras_system_state.c367 DL_FOREACH(state.cards, card) { in cras_system_add_alsa_card()
392 DL_FOREACH(state.cards, card) { in cras_system_remove_alsa_card()
408 DL_FOREACH(state.cards, card) in cras_system_alsa_card_exists()
Dcras_alsa_io.c558 DL_FOREACH(iodev->nodes, n) { in first_plugged_node()
571 DL_FOREACH(iodev->nodes, n) { in update_active_node()
848 DL_FOREACH(aio->base.nodes, node) { in free_alsa_iodev_resources()
882 DL_FOREACH(aio->base.nodes, node) in has_node()
1146 DL_FOREACH(aio->base.nodes, tmp) in check_auto_unplug_output_node()
1152 DL_FOREACH(aio->base.nodes, tmp) { in check_auto_unplug_output_node()
1240 DL_FOREACH(aio->base.nodes, tmp) in check_auto_unplug_input_node()
1246 DL_FOREACH(aio->base.nodes, tmp) in check_auto_unplug_input_node()
1679 DL_FOREACH(aio->base.nodes, ionode) { in build_softvol_scalers()
2314 DL_FOREACH(aio->base.nodes, node) { in alsa_iodev_unmute_node()
Dcras_alsa_ucm.c557 DL_FOREACH(section_names, c) { in ucm_get_dev_for_jack()
571 DL_FOREACH(section_names, c) { in ucm_get_dev_for_jack()
591 DL_FOREACH(section_names, c) { in ucm_get_dev_for_mixer()
1043 DL_FOREACH(section_names, c) { in ucm_list_section_devices_by_device_name()
1048 DL_FOREACH(section_names, c) { in ucm_list_section_devices_by_device_name()
Dcras_hfp_info.c188 DL_FOREACH(info->packet_size_changed_cbs, callback) in hfp_info_set_packet_size()
208 DL_FOREACH(info->packet_size_changed_cbs, callback) { in hfp_unregister_packet_size_changed_callback()
Dcras_alsa_ucm_section.c30 DL_FOREACH(sections, section) { in ucm_section_free_list()
Dcras_alsa_jack.c969 DL_FOREACH(jack_list->jacks, jack) { in find_jack_controls()
1154 DL_FOREACH(jack_list->jacks, jack) { in cras_alsa_jack_list_destroy()
1167 DL_FOREACH(jack_list->jacks, jack) { in cras_alsa_jack_list_has_hctl_jacks()
1195 DL_FOREACH(jack_list->jacks, jack) in cras_alsa_jack_list_report()

12