Lines Matching refs:platform

997 static void set_audiocal(void *platform, struct str_parms *parms, char *value, int len)  in set_audiocal()  argument
999 struct platform_data *my_data = (struct platform_data *)platform; in set_audiocal()
1005 if (value == NULL || platform == NULL || parms == NULL) { in set_audiocal()
1044 cal.snd_dev_id = platform_get_input_snd_device(platform, NULL, cal.dev_id); in set_audiocal()
1046 cal.snd_dev_id = platform_get_output_snd_device(platform, cal.dev_id); in set_audiocal()
1066 bool platform_send_gain_dep_cal(void *platform, int level) in platform_send_gain_dep_cal() argument
1069 struct platform_data *my_data = (struct platform_data *)platform; in platform_send_gain_dep_cal()
1131 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_echo_reference()
1142 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference()
1143 platform_add_backend_name(adev->platform, my_data->ec_ref_mixer_path, snd_device); in platform_set_echo_reference()
1534 static int platform_acdb_init(void *platform) in platform_acdb_init() argument
1536 struct platform_data *my_data = (struct platform_data *)platform; in platform_acdb_init()
2006 void platform_deinit(void *platform) in platform_deinit() argument
2015 struct platform_data *my_data = (struct platform_data *)platform; in platform_deinit()
2072 free(platform); in platform_deinit()
2089 int platform_get_snd_device_name_extn(void *platform, snd_device_t snd_device, in platform_get_snd_device_name_extn() argument
2092 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_snd_device_name_extn()
2094 if (platform == NULL) { in platform_get_snd_device_name_extn()
2114 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument
2117 struct platform_data *my_data = (struct platform_data *)platform; in platform_add_backend_name()
2401 int platform_send_audio_calibration(void *platform, snd_device_t snd_device) in platform_send_audio_calibration() argument
2403 struct platform_data *my_data = (struct platform_data *)platform; in platform_send_audio_calibration()
2428 int platform_send_audio_calibration_v2(void *platform, struct audio_usecase *usecase, in platform_send_audio_calibration_v2() argument
2431 struct platform_data *my_data = (struct platform_data *)platform; in platform_send_audio_calibration_v2()
2483 int platform_switch_voice_call_device_pre(void *platform) in platform_switch_voice_call_device_pre() argument
2485 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_device_pre()
2500 int platform_switch_voice_call_enable_device_config(void *platform, in platform_switch_voice_call_enable_device_config() argument
2504 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_enable_device_config()
2528 int platform_switch_voice_call_device_post(void *platform, in platform_switch_voice_call_device_post() argument
2532 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_device_post()
2551 int platform_switch_voice_call_usecase_route_post(void *platform, in platform_switch_voice_call_usecase_route_post() argument
2555 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_usecase_route_post()
2579 int platform_start_voice_call(void *platform, uint32_t vsid) in platform_start_voice_call() argument
2581 struct platform_data *my_data = (struct platform_data *)platform; in platform_start_voice_call()
2593 int platform_stop_voice_call(void *platform, uint32_t vsid) in platform_stop_voice_call() argument
2595 struct platform_data *my_data = (struct platform_data *)platform; in platform_stop_voice_call()
2607 int platform_set_mic_break_det(void *platform, bool enable) in platform_set_mic_break_det() argument
2610 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_mic_break_det()
2627 int platform_get_sample_rate(void *platform, uint32_t *rate) in platform_get_sample_rate() argument
2629 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_sample_rate()
2678 int platform_set_voice_volume(void *platform, int volume) in platform_set_voice_volume() argument
2680 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_voice_volume()
2733 int platform_set_mic_mute(void *platform, bool state) in platform_set_mic_mute() argument
2735 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_mic_mute()
2771 int platform_set_device_mute(void *platform, bool state, char *dir) in platform_set_device_mute() argument
2773 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_device_mute()
2906 snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices) in platform_get_output_snd_device() argument
2908 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_output_snd_device()
3225 snd_device_t platform_get_input_snd_device(void *platform, in platform_get_input_snd_device() argument
3229 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_input_snd_device()
3577 int platform_set_hdmi_channels(void *platform, int channel_count) in platform_set_hdmi_channels() argument
3579 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_hdmi_channels()
3611 int platform_edid_get_max_channels(void *platform) in platform_edid_get_max_channels() argument
3613 struct platform_data *my_data = (struct platform_data *)platform; in platform_edid_get_max_channels()
3666 int platform_set_incall_recording_session_id(void *platform, in platform_set_incall_recording_session_id() argument
3670 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_incall_recording_session_id()
3704 int platform_set_incall_recording_session_channels(void *platform, in platform_set_incall_recording_session_channels() argument
3708 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_incall_recording_session_channels()
3733 int platform_stop_incall_recording_usecase(void *platform) in platform_stop_incall_recording_usecase() argument
3736 struct platform_data *my_data = (struct platform_data *)platform; in platform_stop_incall_recording_usecase()
3749 int platform_start_incall_music_usecase(void *platform) in platform_start_incall_music_usecase() argument
3752 struct platform_data *my_data = (struct platform_data *)platform; in platform_start_incall_music_usecase()
3765 int platform_stop_incall_music_usecase(void *platform) in platform_stop_incall_music_usecase() argument
3768 struct platform_data *my_data = (struct platform_data *)platform; in platform_stop_incall_music_usecase()
3781 int platform_set_parameters(void *platform, struct str_parms *parms) in platform_set_parameters() argument
3783 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_parameters()
3840 set_audiocal(platform, parms, value, len); in platform_set_parameters()
4059 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_swap_mixer()
4097 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_and_set_swap_lr_channels()
4109 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_swap_channels()
4194 int platform_snd_card_update(void *platform, card_status_t status) in platform_snd_card_update() argument
4196 struct platform_data *my_data = (struct platform_data *)platform; in platform_snd_card_update()
4216 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_backend_cfg()
4400 out_snd_device = platform_get_output_snd_device(adev->platform, in platform_get_voice_call_backend()
4422 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_capture_backend_cfg()
4537 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_playback_backend_cfg()
4581 if (platform_get_usb_service_interval(adev->platform, true, in platform_check_playback_backend_cfg()
4639 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_and_set_playback_backend_cfg()
4851 void platform_check_and_update_copp_sample_rate(void* platform, snd_device_t snd_device, in platform_check_and_update_copp_sample_rate() argument
4854 struct platform_data* my_data = (struct platform_data *)platform; in platform_check_and_update_copp_sample_rate()
4913 int platform_get_default_app_type_v2(void *platform __unused, in platform_get_default_app_type_v2()
4924 int platform_get_app_type_v2(void *platform, in platform_get_app_type_v2() argument
4953 return platform_get_default_app_type_v2(platform, uc_type, app_type); in platform_get_app_type_v2()
4980 int platform_get_mmap_data_fd(void *platform __unused, int fe_dev __unused, int dir __unused, in platform_get_mmap_data_fd()
4984 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_mmap_data_fd()
5058 bool platform_set_microphone_characteristic(void *platform, in platform_set_microphone_characteristic() argument
5060 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_microphone_characteristic()
5072 int platform_get_microphones(void *platform, in platform_get_microphones() argument
5075 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_microphones()
5098 bool platform_set_microphone_map(void *platform, snd_device_t in_snd_device, in platform_set_microphone_map() argument
5100 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_microphone_map()
5115 int platform_get_active_microphones(void *platform, unsigned int channels, in platform_get_active_microphones() argument
5119 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_active_microphones()
5128 platform_get_input_snd_device(platform, usecase->stream.in, AUDIO_DEVICE_NONE); in platform_get_active_microphones()
5160 int platform_set_usb_service_interval(void *platform, in platform_set_usb_service_interval() argument
5166 struct platform_data *_platform = (struct platform_data *)platform; in platform_set_usb_service_interval()
5186 (void)platform; in platform_set_usb_service_interval()
5193 int platform_get_usb_service_interval(void *platform, in platform_get_usb_service_interval() argument
5198 struct platform_data *_platform = (struct platform_data *)platform; in platform_get_usb_service_interval()
5213 (void)platform; in platform_get_usb_service_interval()
5220 int platform_set_acdb_metainfo_key(void *platform __unused, in platform_set_acdb_metainfo_key()