Home
last modified time | relevance | path

Searched refs:hw_info (Results 1 – 17 of 17) 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
1094 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1095 if (!my_data->hw_info) { in platform_init()
1111 hw_info_deinit(my_data->hw_info); in platform_init()
1112 my_data->hw_info = NULL; in platform_init()
1266 hw_info_deinit(my_data->hw_info); in platform_deinit()
1326 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.c185 void *hw_info; member
1746 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1804 hw_info_deinit(my_data->hw_info); in platform_init()
1805 my_data->hw_info = NULL; in platform_init()
2021 hw_info_deinit(my_data->hw_info); in platform_deinit()
2106 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.cpp812 HWDisplayInfo hw_info = {}; in GetDisplaysStatus() local
813 hw_info.display_id = in GetDisplaysStatus()
817 hw_info.display_type = kBuiltIn; in GetDisplaysStatus()
824 hw_info.display_type = kPluggable; in GetDisplaysStatus()
827 hw_info.display_type = kVirtual; in GetDisplaysStatus()
831 hw_info.display_id); in GetDisplaysStatus()
834 hw_info.is_connected = iter.second.is_connected ? 1 : 0; in GetDisplaysStatus()
835 hw_info.is_primary = iter.second.is_primary ? 1 : 0; in GetDisplaysStatus()
836 hw_info.is_wb_ubwc_supported = iter.second.is_wb_ubwc_supported; in GetDisplaysStatus()
837 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/sm7250/display/sdm/libs/core/drm/
Dhw_info_drm.cpp826 HWDisplayInfo hw_info = {}; in GetDisplaysStatus() local
827 hw_info.display_id = in GetDisplaysStatus()
831 hw_info.display_type = kBuiltIn; in GetDisplaysStatus()
838 hw_info.display_type = kPluggable; in GetDisplaysStatus()
841 hw_info.display_type = kVirtual; in GetDisplaysStatus()
845 hw_info.display_id); in GetDisplaysStatus()
848 hw_info.is_connected = iter.second.is_connected ? 1 : 0; in GetDisplaysStatus()
849 hw_info.is_primary = iter.second.is_primary ? 1 : 0; in GetDisplaysStatus()
850 hw_info.is_wb_ubwc_supported = iter.second.is_wb_ubwc_supported; in GetDisplaysStatus()
851 if (hw_info.display_id >= 0) { in GetDisplaysStatus()
[all …]
/hardware/interfaces/security/keymint/aidl/default/ta/
Dlib.rs66 let hw_info = HardwareInfo { in build_ta() localVariable
104 hw_info, in build_ta()
/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/msm8909w_3100/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
/hardware/qcom/display/msm8998/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/sm7250/display/composer/
Dhwc_session.cpp2697 HWDisplayInfo hw_info = {}; in CreatePrimaryDisplay() local
2698 hw_info.display_type = kBuiltIn; in CreatePrimaryDisplay()
2699 hw_info.is_connected = 1; in CreatePrimaryDisplay()
2700 hw_info.is_primary = 1; in CreatePrimaryDisplay()
2701 hw_info.is_wb_ubwc_supported = 0; in CreatePrimaryDisplay()
2702 hw_info.display_id = 1; in CreatePrimaryDisplay()
2703 hw_displays_info[hw_info.display_id] = hw_info; in CreatePrimaryDisplay()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp2814 HWDisplayInfo hw_info = {}; in CreatePrimaryDisplay() local
2815 hw_info.display_type = kBuiltIn; in CreatePrimaryDisplay()
2816 hw_info.is_connected = 1; in CreatePrimaryDisplay()
2817 hw_info.is_primary = 1; in CreatePrimaryDisplay()
2818 hw_info.is_wb_ubwc_supported = 0; in CreatePrimaryDisplay()
2819 hw_info.display_id = 1; in CreatePrimaryDisplay()
2820 hw_displays_info[hw_info.display_id] = hw_info; in CreatePrimaryDisplay()