Lines Matching defs:what

460 static void tpacpi_log_usertask(const char * const what)
463 what, task_tgid_vnr(current));
466 #define tpacpi_disclose_usertask(what, format, arg...) \
471 what, task_tgid_vnr(current), ## arg); \
1037 static void printk_deprecated_attribute(const char * const what,
1042 what, details);
1259 static void printk_deprecated_rfkill_attribute(const char * const what)
1261 printk_deprecated_attribute(what,
2105 /* log only what the user can fix... */
2179 /* Try to enable what the user asked for, plus whatever we need.
2420 * We are constrained to what the NVRAM can tell us, which is not much
6928 * Now we know what the final level should be, so we try to set it.
7034 /* We don't know what mode 1 is. */
8874 * best that's exactly what the DSDT already set (it is the
8878 * fans to what the vendor supposes is the best level. We
9308 static int tpacpi_battery_get(int what, int battery, int *ret)
9310 switch (what) {
9345 pr_crit("wrong parameter: %d", what);
9350 static int tpacpi_battery_set(int what, int battery, int value)
9358 switch (what) {
9399 pr_crit("wrong parameter: %d", what);
9404 static int tpacpi_battery_set_validate(int what, int battery, int value)
9408 ret = tpacpi_battery_set(what, battery, value);
9412 ret = tpacpi_battery_get(what, battery, &v);
9421 ret = tpacpi_battery_get(what, battery, &v);
9537 static ssize_t tpacpi_battery_store(int what,
9565 switch (what) {
9599 pr_crit("Wrong parameter: %d", what);
9605 static ssize_t tpacpi_battery_show(int what,
9627 if (tpacpi_battery_get(what, battery, &ret))
10437 /* Check what capabilities are supported */