Searched refs:cpucp_info (Results 1 – 8 of 8) sorted by relevance
/drivers/misc/habanalabs/common/ |
D | sysfs.c | 115 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()
|
D | firmware_if.c | 282 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()
|
D | habanalabs_ioctl.c | 68 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()
|
D | hwmon.c | 552 prop->cpucp_info.card_name, hdev, in hl_hwmon_init()
|
D | habanalabs.h | 328 struct cpucp_info cpucp_info; member
|
/drivers/misc/habanalabs/include/common/ |
D | cpucp_if.h | 427 struct cpucp_info { struct
|
/drivers/misc/habanalabs/goya/ |
D | goya.c | 454 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/ |
D | gaudi.c | 469 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()
|