Lines Matching refs:sprintf

97 	result = sprintf(buffer, "%-25s\tHex        SET\n", "Description");  in param_get_debug_layer()
100 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_layer()
107 sprintf(buffer + result, "%-25s\t0x%08X [%c]\n", "ACPI_ALL_DRIVERS", in param_get_debug_layer()
113 sprintf(buffer + result, in param_get_debug_layer()
125 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_level()
128 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_level()
135 sprintf(buffer + result, "--\ndebug_level = 0x%08X (* = enabled)\n", in param_get_debug_level()
258 return sprintf(buffer, "disable\n"); in param_get_trace_state()
260 return sprintf(buffer, "enable\n"); in param_get_trace_state()
262 return sprintf(buffer, "method-once\n"); in param_get_trace_state()
264 return sprintf(buffer, "method\n"); in param_get_trace_state()
285 result = sprintf(buffer, "%x\n", ACPI_CA_VERSION); in param_get_acpica_version()
690 size = sprintf(buf, "%8u", all_counters[index].count); in counter_show()
701 size += sprintf(buf + size, " EN"); in counter_show()
703 size += sprintf(buf + size, " "); in counter_show()
705 size += sprintf(buf + size, " STS"); in counter_show()
707 size += sprintf(buf + size, " "); in counter_show()
710 size += sprintf(buf + size, " invalid "); in counter_show()
712 size += sprintf(buf + size, " enabled "); in counter_show()
714 size += sprintf(buf + size, " wake_enabled"); in counter_show()
716 size += sprintf(buf + size, " disabled "); in counter_show()
718 size += sprintf(buf + size, " masked "); in counter_show()
720 size += sprintf(buf + size, " unmasked"); in counter_show()
723 size += sprintf(buf + size, "\n"); in counter_show()
888 sprintf(buffer, "gpe%02X", i); in acpi_irq_stats_init()
890 sprintf(buffer, "ff_pmtimer"); in acpi_irq_stats_init()
892 sprintf(buffer, "ff_gbl_lock"); in acpi_irq_stats_init()
894 sprintf(buffer, "ff_pwr_btn"); in acpi_irq_stats_init()
896 sprintf(buffer, "ff_slp_btn"); in acpi_irq_stats_init()
898 sprintf(buffer, "ff_rt_clk"); in acpi_irq_stats_init()
900 sprintf(buffer, "gpe_all"); in acpi_irq_stats_init()
902 sprintf(buffer, "sci"); in acpi_irq_stats_init()
904 sprintf(buffer, "sci_not"); in acpi_irq_stats_init()
906 sprintf(buffer, "error"); in acpi_irq_stats_init()
908 sprintf(buffer, "bug%02X", i); in acpi_irq_stats_init()
940 return sprintf(buf, "%d\n", acpi_gbl_FADT.preferred_profile); in pm_profile_show()
949 return sprintf(buf, "%d\n", hotplug->enabled); in enabled_show()
1003 return sprintf(buf, "%d\n", 0); in force_remove_show()