Lines Matching defs:what

437 static void tpacpi_log_usertask(const char * const what)
440 what, task_tgid_vnr(current));
443 #define tpacpi_disclose_usertask(what, format, arg...) \
448 what, task_tgid_vnr(current), ## arg); \
1014 static void printk_deprecated_attribute(const char * const what,
1019 what, details);
1236 static void printk_deprecated_rfkill_attribute(const char * const what)
1238 printk_deprecated_attribute(what,
2088 /* log only what the user can fix... */
2162 /* Try to enable what the user asked for, plus whatever we need.
2379 * We are constrained to what the NVRAM can tell us, which is not much
7026 * Now we know what the final level should be, so we try to set it.
7132 /* We don't know what mode 1 is. */
8965 * best that's exactly what the DSDT already set (it is the
8969 * fans to what the vendor supposes is the best level. We
9400 static int tpacpi_battery_get(int what, int battery, int *ret)
9402 switch (what) {
9437 pr_crit("wrong parameter: %d", what);
9442 static int tpacpi_battery_set(int what, int battery, int value)
9450 switch (what) {
9491 pr_crit("wrong parameter: %d", what);
9496 static int tpacpi_battery_set_validate(int what, int battery, int value)
9500 ret = tpacpi_battery_set(what, battery, value);
9504 ret = tpacpi_battery_get(what, battery, &v);
9513 ret = tpacpi_battery_get(what, battery, &v);
9629 static ssize_t tpacpi_battery_store(int what,
9657 switch (what) {
9691 pr_crit("Wrong parameter: %d", what);
9697 static ssize_t tpacpi_battery_show(int what,
9719 if (tpacpi_battery_get(what, battery, &ret))
10529 /* Check what capabilities are supported */