Lines Matching defs:op
146 static int hci_call(ACPI_HANDLE h, int op, int function, UINT32 *arg);
321 hci_force_fan(ACPI_HANDLE h, int op, UINT32 *state)
326 if (op == HCI_SET) {
331 ret = hci_call(h, op, HCI_REG_FAN, state);
332 if (ret == 0 && op == HCI_GET)
338 hci_video_output(ACPI_HANDLE h, int op, UINT32 *video_output)
344 if (op == HCI_SET) {
356 ret = hci_call(h, op, HCI_REG_VIDEO_OUTPUT, video_output);
365 hci_lcd_brightness(ACPI_HANDLE h, int op, UINT32 *brightness)
370 if (op == HCI_SET) {
375 ret = hci_call(h, op, HCI_REG_LCD_BRIGHTNESS, brightness);
376 if (ret == 0 && op == HCI_GET)
382 hci_lcd_backlight(ACPI_HANDLE h, int op, UINT32 *backlight)
386 if (op == HCI_SET) {
390 return (hci_call(h, op, HCI_REG_LCD_BACKLIGHT, backlight));
394 hci_cpu_speed(ACPI_HANDLE h, int op, UINT32 *speed)
399 if (op == HCI_SET) {
404 ret = hci_call(h, op, HCI_REG_CPU_SPEED, speed);
405 if (ret == 0 && op == HCI_GET)
411 hci_call(ACPI_HANDLE h, int op, int function, UINT32 *arg)
426 obj[HCI_REG_AX].Integer.Value = op;
428 if (op == HCI_SET)
445 if (op == HCI_GET)
448 } else if (function == HCI_REG_SYSTEM_EVENT && op == HCI_GET &&