Lines Matching refs:sprintf
96 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_layer()
99 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_layer()
106 sprintf(buffer + result, "%-25s\t0x%08X [%c]\n", "ACPI_ALL_DRIVERS", in param_get_debug_layer()
112 sprintf(buffer + result, in param_get_debug_layer()
124 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_level()
127 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_level()
134 sprintf(buffer + result, "--\ndebug_level = 0x%08X (* = enabled)\n", in param_get_debug_level()
257 return sprintf(buffer, "disable\n"); in param_get_trace_state()
259 return sprintf(buffer, "enable\n"); in param_get_trace_state()
261 return sprintf(buffer, "method-once\n"); in param_get_trace_state()
263 return sprintf(buffer, "method\n"); in param_get_trace_state()
284 result = sprintf(buffer, "%x\n", ACPI_CA_VERSION); in param_get_acpica_version()
661 size = sprintf(buf, "%8u", all_counters[index].count); in counter_show()
672 size += sprintf(buf + size, " EN"); in counter_show()
674 size += sprintf(buf + size, " "); in counter_show()
676 size += sprintf(buf + size, " STS"); in counter_show()
678 size += sprintf(buf + size, " "); in counter_show()
681 size += sprintf(buf + size, " invalid "); in counter_show()
683 size += sprintf(buf + size, " enabled "); in counter_show()
685 size += sprintf(buf + size, " wake_enabled"); in counter_show()
687 size += sprintf(buf + size, " disabled "); in counter_show()
689 size += sprintf(buf + size, " masked "); in counter_show()
691 size += sprintf(buf + size, " unmasked"); in counter_show()
694 size += sprintf(buf + size, "\n"); in counter_show()
859 sprintf(buffer, "gpe%02X", i); in acpi_irq_stats_init()
861 sprintf(buffer, "ff_pmtimer"); in acpi_irq_stats_init()
863 sprintf(buffer, "ff_gbl_lock"); in acpi_irq_stats_init()
865 sprintf(buffer, "ff_pwr_btn"); in acpi_irq_stats_init()
867 sprintf(buffer, "ff_slp_btn"); in acpi_irq_stats_init()
869 sprintf(buffer, "ff_rt_clk"); in acpi_irq_stats_init()
871 sprintf(buffer, "gpe_all"); in acpi_irq_stats_init()
873 sprintf(buffer, "sci"); in acpi_irq_stats_init()
875 sprintf(buffer, "sci_not"); in acpi_irq_stats_init()
877 sprintf(buffer, "error"); in acpi_irq_stats_init()
879 sprintf(buffer, "bug%02X", i); in acpi_irq_stats_init()
911 return sprintf(buf, "%d\n", acpi_gbl_FADT.preferred_profile); in pm_profile_show()
920 return sprintf(buf, "%d\n", hotplug->enabled); in enabled_show()
973 return sprintf(buf, "%d\n", 0); in force_remove_show()