Lines Matching refs:platform
979 static void set_audiocal(void *platform, struct str_parms *parms, char *value, int len) in set_audiocal() argument
981 struct platform_data *my_data = (struct platform_data *)platform; in set_audiocal()
987 if (value == NULL || platform == NULL || parms == NULL) { in set_audiocal()
1026 cal.snd_dev_id = platform_get_input_snd_device(platform, NULL, cal.dev_id); in set_audiocal()
1028 cal.snd_dev_id = platform_get_output_snd_device(platform, cal.dev_id); in set_audiocal()
1048 bool platform_send_gain_dep_cal(void *platform, int level) in platform_send_gain_dep_cal() argument
1051 struct platform_data *my_data = (struct platform_data *)platform; in platform_send_gain_dep_cal()
1113 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_echo_reference()
1124 snd_device = platform_get_output_snd_device(adev->platform, out_device); in platform_set_echo_reference()
1125 platform_add_backend_name(adev->platform, my_data->ec_ref_mixer_path, snd_device); in platform_set_echo_reference()
1516 static int platform_acdb_init(void *platform) in platform_acdb_init() argument
1518 struct platform_data *my_data = (struct platform_data *)platform; in platform_acdb_init()
1988 void platform_deinit(void *platform) in platform_deinit() argument
1997 struct platform_data *my_data = (struct platform_data *)platform; in platform_deinit()
2054 free(platform); in platform_deinit()
2071 int platform_get_snd_device_name_extn(void *platform, snd_device_t snd_device, in platform_get_snd_device_name_extn() argument
2074 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_snd_device_name_extn()
2076 if (platform == NULL) { in platform_get_snd_device_name_extn()
2096 void platform_add_backend_name(void *platform, char *mixer_path, in platform_add_backend_name() argument
2099 struct platform_data *my_data = (struct platform_data *)platform; in platform_add_backend_name()
2378 int platform_send_audio_calibration(void *platform, snd_device_t snd_device) in platform_send_audio_calibration() argument
2380 struct platform_data *my_data = (struct platform_data *)platform; in platform_send_audio_calibration()
2405 int platform_send_audio_calibration_v2(void *platform, struct audio_usecase *usecase, in platform_send_audio_calibration_v2() argument
2408 struct platform_data *my_data = (struct platform_data *)platform; in platform_send_audio_calibration_v2()
2460 int platform_switch_voice_call_device_pre(void *platform) in platform_switch_voice_call_device_pre() argument
2462 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_device_pre()
2477 int platform_switch_voice_call_enable_device_config(void *platform, in platform_switch_voice_call_enable_device_config() argument
2481 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_enable_device_config()
2505 int platform_switch_voice_call_device_post(void *platform, in platform_switch_voice_call_device_post() argument
2509 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_device_post()
2528 int platform_switch_voice_call_usecase_route_post(void *platform, in platform_switch_voice_call_usecase_route_post() argument
2532 struct platform_data *my_data = (struct platform_data *)platform; in platform_switch_voice_call_usecase_route_post()
2556 int platform_start_voice_call(void *platform, uint32_t vsid) in platform_start_voice_call() argument
2558 struct platform_data *my_data = (struct platform_data *)platform; in platform_start_voice_call()
2570 int platform_stop_voice_call(void *platform, uint32_t vsid) in platform_stop_voice_call() argument
2572 struct platform_data *my_data = (struct platform_data *)platform; in platform_stop_voice_call()
2584 int platform_set_mic_break_det(void *platform, bool enable) in platform_set_mic_break_det() argument
2587 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_mic_break_det()
2604 int platform_get_sample_rate(void *platform, uint32_t *rate) in platform_get_sample_rate() argument
2606 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_sample_rate()
2655 int platform_set_voice_volume(void *platform, int volume) in platform_set_voice_volume() argument
2657 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_voice_volume()
2710 int platform_set_mic_mute(void *platform, bool state) in platform_set_mic_mute() argument
2712 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_mic_mute()
2748 int platform_set_device_mute(void *platform, bool state, char *dir) in platform_set_device_mute() argument
2750 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_device_mute()
2883 snd_device_t platform_get_output_snd_device(void *platform, audio_devices_t devices) in platform_get_output_snd_device() argument
2885 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_output_snd_device()
3202 snd_device_t platform_get_input_snd_device(void *platform, in platform_get_input_snd_device() argument
3206 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_input_snd_device()
3551 int platform_set_hdmi_channels(void *platform, int channel_count) in platform_set_hdmi_channels() argument
3553 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_hdmi_channels()
3585 int platform_edid_get_max_channels(void *platform) in platform_edid_get_max_channels() argument
3587 struct platform_data *my_data = (struct platform_data *)platform; in platform_edid_get_max_channels()
3640 int platform_set_incall_recording_session_id(void *platform, in platform_set_incall_recording_session_id() argument
3644 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_incall_recording_session_id()
3678 int platform_set_incall_recording_session_channels(void *platform, in platform_set_incall_recording_session_channels() argument
3682 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_incall_recording_session_channels()
3707 int platform_stop_incall_recording_usecase(void *platform) in platform_stop_incall_recording_usecase() argument
3710 struct platform_data *my_data = (struct platform_data *)platform; in platform_stop_incall_recording_usecase()
3723 int platform_start_incall_music_usecase(void *platform) in platform_start_incall_music_usecase() argument
3726 struct platform_data *my_data = (struct platform_data *)platform; in platform_start_incall_music_usecase()
3739 int platform_stop_incall_music_usecase(void *platform) in platform_stop_incall_music_usecase() argument
3742 struct platform_data *my_data = (struct platform_data *)platform; in platform_stop_incall_music_usecase()
3755 int platform_set_parameters(void *platform, struct str_parms *parms) in platform_set_parameters() argument
3757 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_parameters()
3814 set_audiocal(platform, parms, value, len); in platform_set_parameters()
3963 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_swap_mixer()
4001 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_and_set_swap_lr_channels()
4013 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_swap_channels()
4098 int platform_snd_card_update(void *platform, card_status_t status) in platform_snd_card_update() argument
4100 struct platform_data *my_data = (struct platform_data *)platform; in platform_snd_card_update()
4120 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_set_backend_cfg()
4304 out_snd_device = platform_get_output_snd_device(adev->platform, in platform_get_voice_call_backend()
4326 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_capture_backend_cfg()
4441 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_playback_backend_cfg()
4485 if (platform_get_usb_service_interval(adev->platform, true, in platform_check_playback_backend_cfg()
4543 struct platform_data *my_data = (struct platform_data *)adev->platform; in platform_check_and_set_playback_backend_cfg()
4755 void platform_check_and_update_copp_sample_rate(void* platform, snd_device_t snd_device, in platform_check_and_update_copp_sample_rate() argument
4758 struct platform_data* my_data = (struct platform_data *)platform; in platform_check_and_update_copp_sample_rate()
4817 int platform_get_default_app_type_v2(void *platform __unused, in platform_get_default_app_type_v2()
4828 int platform_get_app_type_v2(void *platform, in platform_get_app_type_v2() argument
4857 return platform_get_default_app_type_v2(platform, uc_type, app_type); in platform_get_app_type_v2()
4884 int platform_get_mmap_data_fd(void *platform __unused, int fe_dev __unused, int dir __unused, in platform_get_mmap_data_fd()
4888 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_mmap_data_fd()
4962 bool platform_set_microphone_characteristic(void *platform, in platform_set_microphone_characteristic() argument
4964 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_microphone_characteristic()
4976 int platform_get_microphones(void *platform, in platform_get_microphones() argument
4979 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_microphones()
5002 bool platform_set_microphone_map(void *platform, snd_device_t in_snd_device, in platform_set_microphone_map() argument
5004 struct platform_data *my_data = (struct platform_data *)platform; in platform_set_microphone_map()
5019 int platform_get_active_microphones(void *platform, unsigned int channels, in platform_get_active_microphones() argument
5023 struct platform_data *my_data = (struct platform_data *)platform; in platform_get_active_microphones()
5032 platform_get_input_snd_device(platform, usecase->stream.in, AUDIO_DEVICE_NONE); in platform_get_active_microphones()
5064 int platform_set_usb_service_interval(void *platform, in platform_set_usb_service_interval() argument
5070 struct platform_data *_platform = (struct platform_data *)platform; in platform_set_usb_service_interval()
5090 (void)platform; in platform_set_usb_service_interval()
5097 int platform_get_usb_service_interval(void *platform, in platform_get_usb_service_interval() argument
5102 struct platform_data *_platform = (struct platform_data *)platform; in platform_get_usb_service_interval()
5117 (void)platform; in platform_get_usb_service_interval()
5124 int platform_set_acdb_metainfo_key(void *platform __unused, in platform_set_acdb_metainfo_key()