Home
last modified time | relevance | path

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

/hardware/qcom/audio/msm8909/hal/msm8916/
Dhw_info.c126 static void update_hardware_info_8x16(struct hardware_info *hw_info, const char *snd_card_name) in update_hardware_info_8x16() argument
129 strlcpy(hw_info->type, "", sizeof(hw_info->type)); in update_hardware_info_8x16()
130 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); in update_hardware_info_8x16()
131 hw_info->snd_devices = NULL; in update_hardware_info_8x16()
132 hw_info->num_snd_devices = 0; in update_hardware_info_8x16()
133 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); in update_hardware_info_8x16()
135 strlcpy(hw_info->type, "", sizeof(hw_info->type)); in update_hardware_info_8x16()
136 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); in update_hardware_info_8x16()
137 hw_info->snd_devices = NULL; in update_hardware_info_8x16()
138 hw_info->num_snd_devices = 0; in update_hardware_info_8x16()
[all …]
Dplatform.c178 void *hw_info; member
1179 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1180 if (!my_data->hw_info) { in platform_init()
1356 hw_info_deinit(my_data->hw_info); in platform_deinit()
1387 hw_info_append_hw_type(my_data->hw_info, snd_device, device_name); in platform_get_snd_device_name_extn()
/hardware/qcom/audio/msm8909/hal/msm8974/
Dhw_info.c159 static void update_hardware_info_8084(struct hardware_info *hw_info, const char *snd_card_name) in update_hardware_info_8084() argument
166 strlcpy(hw_info->type, "mtp", sizeof(hw_info->type)); in update_hardware_info_8084()
167 strlcpy(hw_info->name, "apq8084", sizeof(hw_info->name)); in update_hardware_info_8084()
168 hw_info->snd_devices = NULL; in update_hardware_info_8084()
169 hw_info->num_snd_devices = 0; in update_hardware_info_8084()
170 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn)); in update_hardware_info_8084()
174 strlcpy(hw_info->type, " cdp", sizeof(hw_info->type)); in update_hardware_info_8084()
175 strlcpy(hw_info->name, "apq8084", sizeof(hw_info->name)); in update_hardware_info_8084()
176 hw_info->snd_devices = (snd_device_t *)taiko_apq8084_CDP_variant_devices; in update_hardware_info_8084()
177 hw_info->num_snd_devices = ARRAY_SIZE(taiko_apq8084_CDP_variant_devices); in update_hardware_info_8084()
[all …]
Dplatform.c172 void *hw_info; member
1019 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1020 if (!my_data->hw_info) { in platform_init()
1204 hw_info_deinit(my_data->hw_info); in platform_deinit()
1246 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.c134 void *hw_info; member
984 my_data->hw_info = hw_info_init(snd_card_name); in platform_init()
1063 hw_info_deinit(my_data->hw_info); in platform_init()
1064 my_data->hw_info = NULL; in platform_init()
1256 hw_info_deinit(my_data->hw_info); in platform_deinit()
1317 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.h126 #define hw_info_deinit(hw_info) (0) argument
127 #define hw_info_append_hw_type(hw_info,\ argument
131 void hw_info_deinit(void *hw_info);
132 void hw_info_append_hw_type(void *hw_info, snd_device_t snd_device,
/hardware/qcom/audio/msm8909/hal/audio_extn/
Daudio_extn.h170 #define hw_info_deinit(hw_info) (0) argument
171 #define hw_info_append_hw_type(hw_info,\ argument
175 void hw_info_deinit(void *hw_info);
176 void hw_info_append_hw_type(void *hw_info, snd_device_t snd_device,
377 typedef int (*dap_hal_set_hw_info_t)(int32_t hw_info, void* data);
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp89 HWInfo *hw_info = NULL; in Create() local
91 hw_info = new HWInfo(); in Create()
92 if (!hw_info) { in Create()
95 *intf = hw_info; in Create()
102 HWInfo *hw_info = static_cast<HWInfo *>(intf); in Destroy() local
103 delete hw_info; in Destroy()
/hardware/qcom/audio/hal/
DAndroid.mk56 LOCAL_SRC_FILES += $(AUDIO_PLATFORM)/hw_info.c
/hardware/qcom/audio/msm8909/hal/
DAndroid.mk125 LOCAL_SRC_FILES += $(AUDIO_PLATFORM)/hw_info.c
/hardware/intel/img/psb_video/src/
Dpsb_drv_video.c3328 struct drm_psb_hw_info hw_info;
3330 result = drmCommandRead(driver_data->drm_fd, DRM_PSB_HW_INFO, &hw_info, sizeof(hw_info));
3340 driver_data->video_sd_disabled = !!(hw_info.caps & PCI_PORT5_REG80_VIDEO_SD_DISABLE);
3341 driver_data->video_hd_disabled = !!(hw_info.caps & PCI_PORT5_REG80_VIDEO_HD_DISABLE);
3342 …VIDEO_DEBUG_GENERAL, "hw_info: rev_id = %08x capabilities = %08x\n", hw_info.rev_id, hw_info.caps);