Lines Matching refs:snprintf
1334 return snprintf(buf, PAGE_SIZE, "%d\n",
1427 return snprintf(buf, PAGE_SIZE, "0x%08x\n", TPACPI_SYSFS_VERSION);
1434 return snprintf(buf, PAGE_SIZE, "0x%04x\n", dbg_level);
1454 return snprintf(buf, PAGE_SIZE, "%s v%s\n",
1466 return snprintf(buf, PAGE_SIZE, "%d\n", !!tpacpi_wlsw_emulstate);
1489 return snprintf(buf, PAGE_SIZE, "%d\n", !!tpacpi_bluetooth_emulstate);
1509 return snprintf(buf, PAGE_SIZE, "%d\n", !!tpacpi_wwan_emulstate);
1529 return snprintf(buf, PAGE_SIZE, "%d\n", !!tpacpi_uwb_emulstate);
2739 return snprintf(buf, PAGE_SIZE, "%d\n", status);
2767 return snprintf(buf, PAGE_SIZE, "0x%08x\n", hotkey_user_mask);
2815 return snprintf(buf, PAGE_SIZE, "0x%08x\n", hotkey_orig_mask);
2825 return snprintf(buf, PAGE_SIZE, "0x%08x\n",
2836 return snprintf(buf, PAGE_SIZE, "0x%08x\n",
2847 return snprintf(buf, PAGE_SIZE, "0x%08x\n",
2861 return snprintf(buf, PAGE_SIZE, "0x%08x\n", hotkey_source_mask);
2912 return snprintf(buf, PAGE_SIZE, "%d\n", hotkey_poll_freq);
2954 return snprintf(buf, PAGE_SIZE, "%d\n",
2977 return snprintf(buf, PAGE_SIZE, "%d\n", !!s);
2994 return snprintf(buf, PAGE_SIZE, "%d\n", hotkey_wakeup_reason);
3010 return snprintf(buf, PAGE_SIZE, "%d\n", hotkey_autosleep_ack);
3045 return snprintf(buf, PAGE_SIZE, "%d\n", current_mode);
6292 snprintf(tmpi, sizeof(tmpi), "TMP%c", '0' + idx);
6304 snprintf(tmpi, sizeof(tmpi), "TMP%c", '0' + idx);
6384 return snprintf(buf, PAGE_SIZE, "%d\n", value);
7627 snprintf(card->mixername, sizeof(card->mixername), "ThinkPad EC %s",
7630 snprintf(card->longname, sizeof(card->longname),
8597 return snprintf(buf, PAGE_SIZE, "%d\n", mode);
8663 return snprintf(buf, PAGE_SIZE, "%u\n", (status * 255) / 7);
8716 return snprintf(buf, PAGE_SIZE, "%u\n", speed);
8733 return snprintf(buf, PAGE_SIZE, "%u\n", speed);
8741 return snprintf(buf, PAGE_SIZE, "%u\n", fan_watchdog_maxinterval);
9908 return snprintf(buf, PAGE_SIZE, "%d\n", dytc_lapmode);