Lines Matching refs:audio_device

354 static int set_voice_volume_l(struct audio_device *adev, float volume);
355 static struct audio_device *adev = NULL;
361 static int check_a2dp_restore_l(struct audio_device *adev, struct stream_out *out, bool restore);
368 static bool may_use_noirq_mode(struct audio_device *adev, audio_usecase_t uc_id, in may_use_noirq_mode()
391 struct audio_device *adev = out->dev; in register_out_stream()
414 struct audio_device *adev = in->dev; in register_in_stream()
435 struct audio_device *adev = out->dev; in request_out_focus()
446 struct audio_device *adev = in->dev; in request_in_focus()
457 struct audio_device *adev = out->dev; in release_out_focus()
465 struct audio_device *adev = in->dev; in release_in_focus()
615 static int audio_ssr_status(struct audio_device *adev) in audio_ssr_status()
648 int enable_audio_route(struct audio_device *adev, in enable_audio_route()
709 int disable_audio_route(struct audio_device *adev, in disable_audio_route()
745 int enable_snd_device(struct audio_device *adev, in enable_snd_device()
818 int disable_snd_device(struct audio_device *adev, in disable_snd_device()
881 static int send_effect_enable_disable_mixer_ctl(struct audio_device *adev, in send_effect_enable_disable_mixer_ctl()
941 static int enable_disable_effect(struct audio_device *adev, struct stream_in *in, in enable_disable_effect()
987 static int check_and_enable_effect(struct audio_device *adev) in check_and_enable_effect()
1129 static void check_and_route_playback_usecases(struct audio_device *adev, in check_and_route_playback_usecases()
1217 static void check_and_route_capture_usecases(struct audio_device *adev, in check_and_route_capture_usecases()
1439 static bool is_usb_ready(struct audio_device *adev, bool is_playback) in is_usb_ready()
1455 static audio_usecase_t get_voice_usecase_id_from_list(struct audio_device *adev) in get_voice_usecase_id_from_list()
1470 struct audio_usecase *get_usecase_from_list(struct audio_device *adev, in get_usecase_from_list()
1502 struct stream_in *adev_get_active_input(const struct audio_device *adev) in adev_get_active_input()
1520 struct stream_in *get_voice_communication_input(const struct audio_device *adev) in get_voice_communication_input()
1570 static struct stream_in *get_priority_input(struct audio_device *adev) in get_priority_input()
1595 int select_devices_with_force_switch(struct audio_device *adev, in select_devices_with_force_switch()
1856 int select_devices(struct audio_device *adev, in select_devices()
1866 struct audio_device *adev = in->dev; in stop_input_stream()
1908 struct audio_device *adev = in->dev; in start_input_stream()
2194 static bool allow_hdmi_channel_config(struct audio_device *adev) in allow_hdmi_channel_config()
2225 static int check_and_set_hdmi_channels(struct audio_device *adev, in check_and_set_hdmi_channels()
2271 static int check_and_set_usb_service_interval(struct audio_device *adev, in check_and_set_usb_service_interval()
2323 struct audio_device *adev = out->dev; in stop_output_stream()
2437 struct audio_device *adev = out->dev; in start_output_stream()
2792 struct audio_device *adev = out->dev; in out_standby_l()
2864 struct audio_device *adev = out->dev; in out_on_error()
2946 static bool output_drives_call(struct audio_device *adev, struct stream_out *out) in output_drives_call()
2963 struct audio_device *adev = out->dev; in out_set_parameters()
3308 struct audio_device *adev = out->dev; in set_compr_volume()
3372 struct audio_device *adev = out->dev; in out_snd_mon_cb()
3423 struct audio_device *adev = out->dev; in out_write()
3875 struct audio_device *adev = out->dev; in out_stop()
3893 struct audio_device *adev = out->dev; in out_start()
3945 struct audio_device *adev = out->dev; in out_create_mmap_buffer()
4115 struct audio_device *adev = in->dev; in in_standby()
4197 struct audio_device *adev = in->dev; in in_set_parameters()
4327 struct audio_device *adev = in->dev; in in_snd_mon_cb()
4362 struct audio_device *adev = in->dev; in in_read()
4552 struct audio_device *adev = in->dev; in add_remove_audio_effect()
4631 struct audio_device *adev = in->dev; in in_stop()
4649 struct audio_device *adev = in->dev; in in_start()
4683 struct audio_device *adev = in->dev; in in_create_mmap_buffer()
4817 struct audio_device *adev = in->dev; in in_get_active_microphones()
4834 struct audio_device *adev = (struct audio_device *)dev; in adev_get_microphones()
4885 struct audio_device *adev = in->dev; in in_update_sink_metadata()
4928 struct audio_device *adev = (struct audio_device *)dev; in adev_open_output_stream()
5457 struct audio_device *adev = out->dev; in adev_close_output_stream()
5489 struct audio_device *adev = (struct audio_device *)dev; in adev_set_parameters()
5671 struct audio_device *adev = (struct audio_device *)dev; in adev_get_parameters()
5698 struct audio_device *adev = (struct audio_device *)dev; in adev_set_voice_volume()
5732 struct audio_device *adev = (struct audio_device *)dev; in adev_set_mode()
5767 struct audio_device *adev = (struct audio_device *)dev; in adev_set_mic_mute()
5784 *state = voice_get_mic_mute((struct audio_device *)dev); in adev_get_mic_mute()
5804 static bool adev_input_allow_hifi_record(struct audio_device *adev, in adev_input_allow_hifi_record()
5849 struct audio_device *adev = (struct audio_device *)dev; in adev_open_input_stream()
6168 static int adev_verify_devices(struct audio_device *adev) in adev_verify_devices()
6217 const audio_devices_t audio_device = in adev_verify_devices() local
6245 in.device = audio_device; in adev_verify_devices()
6250 out.devices = audio_device; /* only field needed in select_devices */ in adev_verify_devices()
6252 uc_info.devices = audio_device; in adev_verify_devices()
6289 if (!device || ((struct audio_device *)device != adev)) in adev_close()
6362 static int check_a2dp_restore_l(struct audio_device *adev, struct stream_out *out, bool restore) in check_a2dp_restore_l()
6422 int check_a2dp_restore(struct audio_device *adev, struct stream_out *out, bool restore) in check_a2dp_restore()
6452 adev = calloc(1, sizeof(struct audio_device)); in adev_open()