Lines Matching refs:sprintf

113 	result = sprintf(buffer, "%-25s\tHex        SET\n", "Description");  in param_get_debug_layer()
116 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_layer()
123 sprintf(buffer + result, "%-25s\t0x%08X [%c]\n", "ACPI_ALL_DRIVERS", in param_get_debug_layer()
129 sprintf(buffer + result, in param_get_debug_layer()
141 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_level()
144 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_level()
151 sprintf(buffer + result, "--\ndebug_level = 0x%08X (* = enabled)\n", in param_get_debug_level()
274 return sprintf(buffer, "disable"); in param_get_trace_state()
278 return sprintf(buffer, "method-once"); in param_get_trace_state()
280 return sprintf(buffer, "method"); in param_get_trace_state()
282 return sprintf(buffer, "enable"); in param_get_trace_state()
305 result = sprintf(buffer, "%x", ACPI_CA_VERSION); in param_get_acpica_version()
688 size = sprintf(buf, "%8u", all_counters[index].count); in counter_show()
699 size += sprintf(buf + size, " EN"); in counter_show()
701 size += sprintf(buf + size, " "); in counter_show()
703 size += sprintf(buf + size, " STS"); in counter_show()
705 size += sprintf(buf + size, " "); in counter_show()
708 size += sprintf(buf + size, " invalid "); in counter_show()
710 size += sprintf(buf + size, " enabled "); in counter_show()
712 size += sprintf(buf + size, " wake_enabled"); in counter_show()
714 size += sprintf(buf + size, " disabled "); in counter_show()
716 size += sprintf(buf + size, " masked "); in counter_show()
718 size += sprintf(buf + size, " unmasked"); in counter_show()
721 size += sprintf(buf + size, "\n"); in counter_show()
884 sprintf(buffer, "gpe%02X", i); in acpi_irq_stats_init()
886 sprintf(buffer, "ff_pmtimer"); in acpi_irq_stats_init()
888 sprintf(buffer, "ff_gbl_lock"); in acpi_irq_stats_init()
890 sprintf(buffer, "ff_pwr_btn"); in acpi_irq_stats_init()
892 sprintf(buffer, "ff_slp_btn"); in acpi_irq_stats_init()
894 sprintf(buffer, "ff_rt_clk"); in acpi_irq_stats_init()
896 sprintf(buffer, "gpe_all"); in acpi_irq_stats_init()
898 sprintf(buffer, "sci"); in acpi_irq_stats_init()
900 sprintf(buffer, "sci_not"); in acpi_irq_stats_init()
902 sprintf(buffer, "error"); in acpi_irq_stats_init()
904 sprintf(buffer, "bug%02X", i); in acpi_irq_stats_init()
941 return sprintf(buf, "%d\n", acpi_gbl_FADT.preferred_profile); in acpi_show_profile()
952 return sprintf(buf, "%d\n", hotplug->enabled); in hotplug_enabled_show()
1006 return sprintf(buf, "%d\n", 0); in force_remove_show()