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()
691 size = sprintf(buf, "%8u", all_counters[index].count); in counter_show()
702 size += sprintf(buf + size, " EN"); in counter_show()
704 size += sprintf(buf + size, " "); in counter_show()
706 size += sprintf(buf + size, " STS"); in counter_show()
708 size += sprintf(buf + size, " "); in counter_show()
711 size += sprintf(buf + size, " invalid "); in counter_show()
713 size += sprintf(buf + size, " enabled "); in counter_show()
715 size += sprintf(buf + size, " wake_enabled"); in counter_show()
717 size += sprintf(buf + size, " disabled "); in counter_show()
719 size += sprintf(buf + size, " masked "); in counter_show()
721 size += sprintf(buf + size, " unmasked"); in counter_show()
724 size += sprintf(buf + size, "\n"); in counter_show()
887 sprintf(buffer, "gpe%02X", i); in acpi_irq_stats_init()
889 sprintf(buffer, "ff_pmtimer"); in acpi_irq_stats_init()
891 sprintf(buffer, "ff_gbl_lock"); in acpi_irq_stats_init()
893 sprintf(buffer, "ff_pwr_btn"); in acpi_irq_stats_init()
895 sprintf(buffer, "ff_slp_btn"); in acpi_irq_stats_init()
897 sprintf(buffer, "ff_rt_clk"); in acpi_irq_stats_init()
899 sprintf(buffer, "gpe_all"); in acpi_irq_stats_init()
901 sprintf(buffer, "sci"); in acpi_irq_stats_init()
903 sprintf(buffer, "sci_not"); in acpi_irq_stats_init()
905 sprintf(buffer, "error"); in acpi_irq_stats_init()
907 sprintf(buffer, "bug%02X", i); in acpi_irq_stats_init()
944 return sprintf(buf, "%d\n", acpi_gbl_FADT.preferred_profile); in acpi_show_profile()
955 return sprintf(buf, "%d\n", hotplug->enabled); in hotplug_enabled_show()
1009 return sprintf(buf, "%d\n", 0); in force_remove_show()