Lines Matching refs:platform
142 static int platform_get_meta_info_key_from_list(void *platform, char *mod_name);
689 bool platform_send_gain_dep_cal(void *platform __unused, int level __unused) in platform_send_gain_dep_cal()
697 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_echo_reference()
708 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference()
709 platform_add_backend_name(adev->platform, my_data->ec_ref_mixer_path, snd_device); in platform_set_echo_reference()
958 int platform_acdb_init(void *platform) in platform_acdb_init() argument
960 struct platform_data *my_data = (struct platform_data *)platform; in platform_acdb_init()
1021 char platform[PROPERTY_VALUE_MAX] = {0}; in platform_init() local
1237 void platform_deinit(void *platform) in platform_deinit() argument
1239 struct platform_data *my_data = (struct platform_data *)platform; in platform_deinit()
1278 free(platform); in platform_deinit()
1292 int platform_get_snd_device_name_extn(void *platform, snd_device_t snd_device, in platform_get_snd_device_name_extn() argument
1295 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_snd_device_name_extn()
1297 if (platform == NULL) { in platform_get_snd_device_name_extn()
1342 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument
1346 struct platform_data *my_data = (struct platform_data *)platform; in platform_add_backend_name()
1535 int platform_set_acdb_metainfo_key(void *platform, char *name, int key) in platform_set_acdb_metainfo_key() argument
1538 struct platform_data *pdata = (struct platform_data *)platform; in platform_set_acdb_metainfo_key()
1558 static int platform_get_meta_info_key_from_list(void *platform, char *mod_name) argument
1562 struct platform_data *pdata = (struct platform_data *)platform;
1598 int platform_get_default_app_type_v2(void *platform, usecase_type_t type, int *app_type)
1600 ALOGV("%s: platform: %p, type: %d", __func__, platform, type);
1631 int platform_send_audio_calibration(void *platform, snd_device_t snd_device)
1633 struct platform_data *my_data = (struct platform_data *)platform;
1674 int platform_switch_voice_call_device_pre(void *platform __unused)
1679 int platform_switch_voice_call_enable_device_config(void *platform __unused,
1686 int platform_switch_voice_call_device_post(void *platform,
1690 struct platform_data *my_data = (struct platform_data *)platform;
1709 int platform_switch_voice_call_usecase_route_post(void *platform __unused,
1716 int platform_start_voice_call(void *platform __unused, uint32_t vsid __unused)
1721 int platform_stop_voice_call(void *platform __unused, uint32_t vsid __unused)
1726 int platform_set_mic_break_det(void *platform __unused, bool enable __unused)
1731 int platform_get_sample_rate(void *platform __unused, uint32_t *rate __unused)
1743 int platform_set_voice_volume(void *platform, int volume)
1745 struct platform_data *my_data = (struct platform_data *)platform;
1789 int platform_set_mic_mute(void *platform, bool state)
1791 struct platform_data *my_data = (struct platform_data *)platform;
1819 int platform_set_device_mute(void *platform, bool state, char *dir)
1821 struct platform_data *my_data = (struct platform_data *)platform;
1888 snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices)
1890 struct platform_data *my_data = (struct platform_data *)platform;
2160 snd_device_t platform_get_input_snd_device(void *platform,
2164 struct platform_data *my_data = (struct platform_data *)platform;
2380 int platform_set_hdmi_channels(void *platform, int channel_count)
2382 struct platform_data *my_data = (struct platform_data *)platform;
2414 int platform_edid_get_max_channels(void *platform)
2416 struct platform_data *my_data = (struct platform_data *)platform;
2469 int platform_set_incall_recording_session_id(void *platform,
2474 struct platform_data *my_data = (struct platform_data *)platform;
2499 int platform_set_incall_recording_session_channels(void *platform __unused,
2506 int platform_stop_incall_recording_usecase(void *platform __unused)
2511 int platform_start_incall_music_usecase(void *platform __unused)
2516 int platform_stop_incall_music_usecase(void *platform __unused)
2521 int platform_set_parameters(void *platform, struct str_parms *parms)
2523 struct platform_data *my_data = (struct platform_data *)platform;
2688 struct platform_data *my_data = (struct platform_data *)adev->platform;
2726 struct platform_data *my_data = (struct platform_data *)adev->platform;
2738 struct platform_data *my_data = (struct platform_data *)adev->platform;
2773 int platform_snd_card_update(void *platform __unused,
2779 int platform_send_audio_calibration_v2(void *platform __unused,
2787 void platform_check_and_update_copp_sample_rate(void* platform __unused,
2807 int platform_get_app_type_v2(void *platform __unused,
2838 int platform_get_mmap_data_fd(void *platform __unused, int fe_dev __unused, int dir __unused,
2853 bool platform_set_microphone_characteristic(void *platform __unused,
2858 int platform_get_microphones(void *platform __unused,
2864 bool platform_set_microphone_map(void *platform __unused, snd_device_t in_snd_device __unused,
2869 int platform_get_active_microphones(void *platform __unused, unsigned int channels __unused,
2876 int platform_set_usb_service_interval(void *platform __unused,