Lines Matching refs:sprintf

26 	return sprintf(buf, "%lu\n", (value / 1000 / 1000));  in clk_max_freq_mhz_show()
67 return sprintf(buf, "%lu\n", (value / 1000 / 1000)); in clk_cur_freq_mhz_show()
87 return sprintf(buf, "%#04x %#04x\n", le32_to_cpu(cpucp_info->infineon_version), in vrm_ver_show()
90 return sprintf(buf, "%#04x\n", le32_to_cpu(cpucp_info->infineon_version)); in vrm_ver_show()
105 return sprintf(buf, "%s\n", hdev->asic_prop.uboot_ver); in uboot_ver_show()
113 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.kernel_version); in armcp_kernel_ver_show()
121 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.cpucp_version); in armcp_ver_show()
129 return sprintf(buf, "0x%08x\n", in cpld_ver_show()
138 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.kernel_version); in cpucp_kernel_ver_show()
146 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.cpucp_version); in cpucp_ver_show()
154 return sprintf(buf, "%s\n", hdev->asic_prop.cpucp_info.fuse_version); in fuse_ver_show()
162 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.thermal_version); in thermal_ver_show()
170 return sprintf(buf, "%s", hdev->asic_prop.cpucp_info.fw_os_version); in fw_os_ver_show()
178 return sprintf(buf, "%s\n", hdev->asic_prop.preboot_ver); in preboot_btl_ver_show()
263 return sprintf(buf, "%s\n", str); in device_type_show()
271 return sprintf(buf, "%04x:%02x:%02x.%x\n", in pci_addr_show()
289 return sprintf(buf, "%s\n", str); in status_show()
297 return sprintf(buf, "%d\n", hdev->reset_info.compute_reset_cnt); in soft_reset_cnt_show()
305 return sprintf(buf, "%d\n", hdev->reset_info.hard_reset_cnt); in hard_reset_cnt_show()
321 return sprintf(buf, "%lu\n", val); in max_power_show()
386 return sprintf(buf, "%d\n", hdev->asic_prop.fw_security_enabled); in security_enabled_show()