Home
last modified time | relevance | path

Searched refs:hw_info (Results 1 – 15 of 15) 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()
1248 hw_info_deinit(my_data->hw_info); in platform_deinit()
1308 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()
2002 hw_info_deinit(my_data->hw_info); in platform_deinit()
2087 hw_info_append_hw_type(my_data->hw_info, snd_device, device_name); in platform_get_snd_device_name_extn()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_info_drm.cpp784 HWDisplayInfo hw_info = {}; in GetDisplaysStatus() local
785 hw_info.display_id = in GetDisplaysStatus()
789 hw_info.display_type = kBuiltIn; in GetDisplaysStatus()
796 hw_info.display_type = kPluggable; in GetDisplaysStatus()
799 hw_info.display_type = kVirtual; in GetDisplaysStatus()
803 hw_info.display_id); in GetDisplaysStatus()
806 hw_info.is_connected = iter.second.is_connected ? 1 : 0; in GetDisplaysStatus()
807 hw_info.is_primary = iter.second.is_primary ? 1 : 0; in GetDisplaysStatus()
808 hw_info.is_wb_ubwc_supported = iter.second.is_wb_ubwc_supported; in GetDisplaysStatus()
809 if (hw_info.display_id >= 0) { in GetDisplaysStatus()
[all …]
/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
578 hw_info = hw_info_init(snd_card_name); in audio_extn_utils_get_snd_card_num()
617 hw_info_deinit(hw_info); in audio_extn_utils_get_snd_card_num()
618 hw_info = NULL; in audio_extn_utils_get_snd_card_num()
623 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/display/msm8909w_3100/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/sm8150/display/sdm/libs/core/
DMakefile.am24 fb/hw_info.cpp \
/hardware/qcom/audio/hal/
DAndroid.mk97 LOCAL_SRC_FILES += $(AUDIO_PLATFORM)/hw_info.c
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp2597 HWDisplayInfo hw_info = {}; in CreatePrimaryDisplay() local
2598 hw_info.display_type = kBuiltIn; in CreatePrimaryDisplay()
2599 hw_info.is_connected = 1; in CreatePrimaryDisplay()
2600 hw_info.is_primary = 1; in CreatePrimaryDisplay()
2601 hw_info.is_wb_ubwc_supported = 0; in CreatePrimaryDisplay()
2602 hw_info.display_id = 1; in CreatePrimaryDisplay()
2603 hw_displays_info[hw_info.display_id] = hw_info; in CreatePrimaryDisplay()