Home
last modified time | relevance | path

Searched refs:hw_info (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/audio/hal/msm8916/
Dhw_info.c42 static void update_hardware_info_8x16(struct hardware_info *hw_info, const char *snd_card_name) in update_hardware_info_8x16() argument
46 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); in update_hardware_info_8x16()
49 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16()
51 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); in update_hardware_info_8x16()
54 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16()
56 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); in update_hardware_info_8x16()
64 struct hardware_info *hw_info; in hw_info_init() local
66 hw_info = malloc(sizeof(struct hardware_info)); in hw_info_init()
67 if (!hw_info) { in hw_info_init()
77 strlcpy(hw_info->type, "", sizeof(hw_info->type)); in hw_info_init()
[all …]
Dplatform.c164 void *hw_info; member
1076 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1077 if (!my_data->hw_info) { in platform_init()
1093 hw_info_deinit(my_data->hw_info); in platform_init()
1094 my_data->hw_info = NULL; in platform_init()
1246 hw_info_deinit(my_data->hw_info); in platform_deinit()
1306 hw_info_append_hw_type(my_data->hw_info, snd_device, device_name); in platform_get_snd_device_name_extn()
/hardware/qcom/audio/hal/msm8974/
Dhw_info.c64 static void update_hardware_info_8996(struct hardware_info *hw_info) in update_hardware_info_8996() argument
70 strlcpy(hw_info->name, tmp_handle->device, sizeof(hw_info->name)); in update_hardware_info_8996()
71 snprintf(hw_info->type, sizeof(hw_info->type), " %s", tmp_handle->form_factor); in update_hardware_info_8996()
72 snprintf(hw_info->dev_extn, sizeof(hw_info->dev_extn), "-%s", tmp_handle->form_factor); in update_hardware_info_8996()
75 hw_info->snd_devices = (snd_device_t *)tasha_fluid_variant_devices; in update_hardware_info_8996()
76 hw_info->num_snd_devices = ARRAY_SIZE(tasha_fluid_variant_devices); in update_hardware_info_8996()
78 hw_info->snd_devices = (snd_device_t *)tasha_liquid_variant_devices; in update_hardware_info_8996()
79 hw_info->num_snd_devices = ARRAY_SIZE(tasha_liquid_variant_devices); in update_hardware_info_8996()
81 hw_info->snd_devices = (snd_device_t *)tasha_db_variant_devices; in update_hardware_info_8996()
82 hw_info->num_snd_devices = ARRAY_SIZE(tasha_db_variant_devices); in update_hardware_info_8996()
[all …]
Dplatform.c184 void *hw_info; member
1727 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1785 hw_info_deinit(my_data->hw_info); in platform_init()
1786 my_data->hw_info = NULL; in platform_init()
2000 hw_info_deinit(my_data->hw_info); in platform_deinit()
2085 hw_info_append_hw_type(my_data->hw_info, snd_device, device_name); in platform_get_snd_device_name_extn()
/hardware/qcom/audio/hal/audio_extn/
Daudio_extn.h212 #define hw_info_deinit(hw_info) (0) argument
213 #define hw_info_append_hw_type(hw_info,\ argument
217 void hw_info_deinit(void *hw_info);
218 void hw_info_append_hw_type(void *hw_info, snd_device_t snd_device,
Dutils.c534 void *hw_info = NULL; in audio_extn_utils_get_snd_card_num() local
576 hw_info = hw_info_init(snd_card_name); in audio_extn_utils_get_snd_card_num()
615 hw_info_deinit(hw_info); in audio_extn_utils_get_snd_card_num()
616 hw_info = NULL; in audio_extn_utils_get_snd_card_num()
621 hw_info_deinit(hw_info); in audio_extn_utils_get_snd_card_num()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp91 HWInfo *hw_info = NULL; in Create() local
93 hw_info = new HWInfo(); in Create()
94 if (!hw_info) { in Create()
97 *intf = hw_info; in Create()
104 HWInfo *hw_info = static_cast<HWInfo *>(intf); in Destroy() local
105 delete hw_info; in Destroy()
/hardware/qcom/display/msm8998/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
/hardware/qcom/sdm845/display/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
/hardware/qcom/display/msm8909/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
/hardware/qcom/audio/hal/
DAndroid.mk97 LOCAL_SRC_FILES += $(AUDIO_PLATFORM)/hw_info.c