Lines Matching refs:platform

142 static int platform_get_meta_info_key_from_list(void *platform, char *mod_name);
707 bool platform_send_gain_dep_cal(void *platform __unused, int level __unused) in platform_send_gain_dep_cal()
715 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_echo_reference()
726 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference()
727 platform_add_backend_name(adev->platform, my_data->ec_ref_mixer_path, snd_device); in platform_set_echo_reference()
976 int platform_acdb_init(void *platform) in platform_acdb_init() argument
978 struct platform_data *my_data = (struct platform_data *)platform; in platform_acdb_init()
1039 char platform[PROPERTY_VALUE_MAX] = {0}; in platform_init() local
1255 void platform_deinit(void *platform) in platform_deinit() argument
1257 struct platform_data *my_data = (struct platform_data *)platform; in platform_deinit()
1296 free(platform); in platform_deinit()
1310 int platform_get_snd_device_name_extn(void *platform, snd_device_t snd_device, in platform_get_snd_device_name_extn() argument
1313 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_snd_device_name_extn()
1315 if (platform == NULL) { in platform_get_snd_device_name_extn()
1360 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument
1364 struct platform_data *my_data = (struct platform_data *)platform; in platform_add_backend_name()
1558 int platform_set_acdb_metainfo_key(void *platform, char *name, int key) in platform_set_acdb_metainfo_key() argument
1561 struct platform_data *pdata = (struct platform_data *)platform; in platform_set_acdb_metainfo_key()
1581 static int platform_get_meta_info_key_from_list(void *platform, char *mod_name) argument
1585 struct platform_data *pdata = (struct platform_data *)platform;
1621 int platform_get_default_app_type_v2(void *platform, usecase_type_t type, int *app_type)
1623 ALOGV("%s: platform: %p, type: %d", __func__, platform, type);
1654 int platform_send_audio_calibration(void *platform, snd_device_t snd_device)
1656 struct platform_data *my_data = (struct platform_data *)platform;
1697 int platform_switch_voice_call_device_pre(void *platform __unused)
1702 int platform_switch_voice_call_enable_device_config(void *platform __unused,
1709 int platform_switch_voice_call_device_post(void *platform,
1713 struct platform_data *my_data = (struct platform_data *)platform;
1732 int platform_switch_voice_call_usecase_route_post(void *platform __unused,
1739 int platform_start_voice_call(void *platform __unused, uint32_t vsid __unused)
1744 int platform_stop_voice_call(void *platform __unused, uint32_t vsid __unused)
1749 int platform_set_mic_break_det(void *platform __unused, bool enable __unused)
1754 int platform_get_sample_rate(void *platform __unused, uint32_t *rate __unused)
1766 int platform_set_voice_volume(void *platform, int volume)
1768 struct platform_data *my_data = (struct platform_data *)platform;
1812 int platform_set_mic_mute(void *platform, bool state)
1814 struct platform_data *my_data = (struct platform_data *)platform;
1842 int platform_set_device_mute(void *platform, bool state, char *dir)
1844 struct platform_data *my_data = (struct platform_data *)platform;
1911 snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices)
1913 struct platform_data *my_data = (struct platform_data *)platform;
2183 snd_device_t platform_get_input_snd_device(void *platform,
2187 struct platform_data *my_data = (struct platform_data *)platform;
2403 int platform_set_hdmi_channels(void *platform, int channel_count)
2405 struct platform_data *my_data = (struct platform_data *)platform;
2437 int platform_edid_get_max_channels(void *platform)
2439 struct platform_data *my_data = (struct platform_data *)platform;
2492 int platform_set_incall_recording_session_id(void *platform,
2497 struct platform_data *my_data = (struct platform_data *)platform;
2522 int platform_set_incall_recording_session_channels(void *platform __unused,
2529 int platform_stop_incall_recording_usecase(void *platform __unused)
2534 int platform_start_incall_music_usecase(void *platform __unused)
2539 int platform_stop_incall_music_usecase(void *platform __unused)
2544 int platform_set_parameters(void *platform, struct str_parms *parms)
2546 struct platform_data *my_data = (struct platform_data *)platform;
2779 struct platform_data *my_data = (struct platform_data *)adev->platform;
2817 struct platform_data *my_data = (struct platform_data *)adev->platform;
2829 struct platform_data *my_data = (struct platform_data *)adev->platform;
2864 int platform_snd_card_update(void *platform __unused,
2870 int platform_send_audio_calibration_v2(void *platform __unused,
2878 void platform_check_and_update_copp_sample_rate(void* platform __unused,
2898 int platform_get_app_type_v2(void *platform __unused,
2929 int platform_get_mmap_data_fd(void *platform __unused, int fe_dev __unused, int dir __unused,
2944 bool platform_set_microphone_characteristic(void *platform __unused,
2949 int platform_get_microphones(void *platform __unused,
2955 bool platform_set_microphone_map(void *platform __unused, snd_device_t in_snd_device __unused,
2960 int platform_get_active_microphones(void *platform __unused, unsigned int channels __unused,
2967 int platform_set_usb_service_interval(void *platform __unused,