Home | History | Annotate | Download | only in hal

Lines Matching refs:platform

50 #include <platform.h>
213 if (adev != NULL && adev->platform != NULL) {
215 ret_val = platform_send_gain_dep_cal(adev->platform, level);
218 ALOGE("%s: %s is NULL", __func__, adev == NULL ? "adev" : "adev->platform");
276 platform_add_backend_name(adev->platform, mixer_path, snd_device);
299 platform_add_backend_name(adev->platform, mixer_path, snd_device);
319 platform_send_audio_calibration(adev->platform, snd_device);
354 if (platform_get_snd_device_name_extn(adev->platform, snd_device, device_name) < 0 ) {
398 if (platform_get_snd_device_name_extn(adev->platform, snd_device, device_name) < 0 ) {
552 int channels = platform_edid_get_max_channels(out->dev->platform);
625 out_snd_device = platform_get_output_snd_device(adev->platform,
627 in_snd_device = platform_get_input_snd_device(adev->platform, usecase->stream.out->devices);
658 out_snd_device = platform_get_output_snd_device(adev->platform,
683 in_snd_device = platform_get_input_snd_device(adev->platform, out_device);
732 status = platform_switch_voice_call_device_pre(adev->platform);
756 status = platform_switch_voice_call_enable_device_config(adev->platform,
774 status = platform_switch_voice_call_device_post(adev->platform,
788 status = platform_switch_voice_call_usecase_route_post(adev->platform,
1119 platform_set_hdmi_channels(adev->platform, channels);
2522 // assumption is device-specific, not platform-specific like this code.
2964 platform_deinit(adev->platform);
3057 /* Loads platform specific libraries dynamically */
3058 adev->platform = platform_init(adev);
3059 if (!adev->platform) {
3062 ALOGE("%s: Failed to init platform data, aborting.", __func__);