Home
last modified time | relevance | path

Searched refs:cpucp_info (Results 1 – 8 of 8) sorted by relevance

/drivers/misc/habanalabs/common/
Dsysfs.c115 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.kernel_version); in armcp_kernel_ver_show()
123 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.cpucp_version); in armcp_ver_show()
132 hdev->asic_prop.cpucp_info.cpld_version); in cpld_ver_show()
140 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.kernel_version); in cpucp_kernel_ver_show()
148 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.cpucp_version); in cpucp_ver_show()
157 hdev->asic_prop.cpucp_info.infineon_version); in infineon_ver_show()
165 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.fuse_version); in fuse_ver_show()
173 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.thermal_version); in thermal_ver_show()
Dfirmware_if.c282 sizeof(struct cpucp_info), in hl_fw_cpucp_info_get()
290 memset(cpucp_info_cpu_addr, 0, sizeof(struct cpucp_info)); in hl_fw_cpucp_info_get()
295 pkt.data_max_size = cpu_to_le32(sizeof(struct cpucp_info)); in hl_fw_cpucp_info_get()
305 memcpy(&prop->cpucp_info, cpucp_info_cpu_addr, in hl_fw_cpucp_info_get()
306 sizeof(prop->cpucp_info)); in hl_fw_cpucp_info_get()
308 rc = hl_build_hwmon_channel_info(hdev, prop->cpucp_info.sensors); in hl_fw_cpucp_info_get()
318 sizeof(struct cpucp_info), cpucp_info_cpu_addr); in hl_fw_cpucp_info_get()
Dhabanalabs_ioctl.c68 memcpy(hw_ip.cpucp_version, prop->cpucp_info.cpucp_version, in hw_ip_info()
71 memcpy(hw_ip.card_name, prop->cpucp_info.card_name, in hw_ip_info()
74 hw_ip.cpld_version = le32_to_cpu(prop->cpucp_info.cpld_version); in hw_ip_info()
75 hw_ip.module_id = le32_to_cpu(prop->cpucp_info.card_location); in hw_ip_info()
Dhwmon.c552 prop->cpucp_info.card_name, hdev, in hl_hwmon_init()
Dhabanalabs.h328 struct cpucp_info cpucp_info; member
/drivers/misc/habanalabs/include/common/
Dcpucp_if.h427 struct cpucp_info { struct
/drivers/misc/habanalabs/goya/
Dgoya.c454 strncpy(prop->cpucp_info.card_name, GOYA_DEFAULT_CARD_NAME, in goya_get_fixed_properties()
5133 dram_size = le64_to_cpu(prop->cpucp_info.dram_size); in goya_cpucp_info_get()
5147 if (!strlen(prop->cpucp_info.card_name)) in goya_cpucp_info_get()
5148 strncpy(prop->cpucp_info.card_name, GOYA_DEFAULT_CARD_NAME, in goya_cpucp_info_get()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c469 strncpy(prop->cpucp_info.card_name, GAUDI_DEFAULT_CARD_NAME, in gaudi_get_fixed_properties()
6094 if (!strlen(prop->cpucp_info.card_name)) in gaudi_cpucp_info_get()
6095 strncpy(prop->cpucp_info.card_name, GAUDI_DEFAULT_CARD_NAME, in gaudi_cpucp_info_get()
6098 hdev->card_type = le32_to_cpu(hdev->asic_prop.cpucp_info.card_type); in gaudi_cpucp_info_get()