Searched refs:cmos_cmd (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/platform/x86/ |
D | thinkpad_acpi.c | 698 static int issue_thinkpad_cmos_command(int cmos_cmd) in issue_thinkpad_cmos_command() argument 703 if (!acpi_evalf(cmos_handle, NULL, NULL, "vd", cmos_cmd)) in issue_thinkpad_cmos_command() 5559 unsigned long cmos_cmd; in cmos_command_store() local 5562 if (parse_strtoul(buf, 21, &cmos_cmd)) in cmos_command_store() 5565 res = issue_thinkpad_cmos_command(cmos_cmd); in cmos_command_store() 5619 int cmos_cmd, res; in cmos_write() local 5622 if (sscanf(cmd, "%u", &cmos_cmd) == 1 && in cmos_write() 5623 cmos_cmd >= 0 && cmos_cmd <= 21) { in cmos_write() 5628 res = issue_thinkpad_cmos_command(cmos_cmd); in cmos_write() 6629 int cmos_cmd, inc; in tpacpi_brightness_set_ucmsstep() local [all …]
|