• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x411

54 #define FUJITSU_DRIVER_VERSION		"0.6.0"
66 #define ACPI_FUJITSU_NOTIFY_CODE 0x80
70 #define FUNC_LEDS (BIT(12) | BIT(0))
75 #define UNSUPPORTED_CMD 0x80000000
86 #define FUNC_LED_OFF BIT(0)
87 #define FUNC_LED_ON (BIT(0) | BIT(16) | BIT(17))
97 #define BACKLIGHT_OFF (BIT(0) | BIT(1))
98 #define BACKLIGHT_ON 0
101 #define KEY1_CODE 0x410
102 #define KEY2_CODE 0x411
103 #define KEY3_CODE 0x412
104 #define KEY4_CODE 0x413
105 #define KEY5_CODE 0x414
106 #define KEY6_CODE 0x415
107 #define KEY7_CODE 0x416
108 #define KEY8_CODE 0x417
109 #define KEY9_CODE 0x420
166 "FUNC 0x%x (args 0x%x, 0x%x, 0x%x) returned 0x%x\n", in call_fext_func()
197 if (level < 0 || level >= priv->max_brightness) in set_lcd_level()
209 return 0; in set_lcd_level()
215 unsigned long long state = 0; in get_lcd_level()
222 return 0; in get_lcd_level()
224 priv->brightness_level = state & 0x0fffffff; in get_lcd_level()
232 unsigned long long state = 0; in get_max_brightness()
252 return b->props.power == FB_BLANK_POWERDOWN ? 0 : get_lcd_level(device); in bl_get_brightness()
261 call_fext_func(fext, FUNC_BACKLIGHT, 0x1, in bl_update_status()
264 call_fext_func(fext, FUNC_BACKLIGHT, 0x1, in bl_update_status()
341 { KE_END, 0 }
359 priv->input->id.product = 0x06; in acpi_fujitsu_bl_input_setup()
386 return 0; in fujitsu_backlight_register()
409 if (get_max_brightness(device) <= 0) in acpi_fujitsu_bl_add()
428 acpi_handle_info(device->handle, "unsupported event [0x%x]\n", in acpi_fujitsu_bl_notify()
462 { KE_END, 0 }
470 { KE_END, 0 }
478 { KE_END, 0 }
490 { KE_END, 0 }
586 return 0; in fujitsu_laptop_platform_add()
618 ret = call_fext_func(device, FUNC_LEDS, 0x1, LOGOLAMP_POWERON, poweron); in logolamp_set()
619 if (ret < 0) in logolamp_set()
622 return call_fext_func(device, FUNC_LEDS, 0x1, LOGOLAMP_ALWAYS, always); in logolamp_set()
630 ret = call_fext_func(device, FUNC_LEDS, 0x2, LOGOLAMP_ALWAYS, 0x0); in logolamp_get()
634 ret = call_fext_func(device, FUNC_LEDS, 0x2, LOGOLAMP_POWERON, 0x0); in logolamp_get()
647 return call_fext_func(device, FUNC_LEDS, 0x1, KEYBOARD_LAMPS, in kblamps_set()
650 return call_fext_func(device, FUNC_LEDS, 0x1, KEYBOARD_LAMPS, in kblamps_set()
660 FUNC_LEDS, 0x2, KEYBOARD_LAMPS, 0x0) == FUNC_LED_ON) in kblamps_get()
672 return call_fext_func(device, FUNC_FLAGS, 0x5, RADIO_LED_ON, in radio_led_set()
675 return call_fext_func(device, FUNC_FLAGS, 0x5, RADIO_LED_ON, in radio_led_set()
676 0x0); in radio_led_set()
684 if (call_fext_func(device, FUNC_FLAGS, 0x4, 0x0, 0x0) & RADIO_LED_ON) in radio_led_get()
696 curr = call_fext_func(device, FUNC_LEDS, 0x2, ECO_LED, 0x0); in eco_led_set()
698 return call_fext_func(device, FUNC_LEDS, 0x1, ECO_LED, in eco_led_set()
701 return call_fext_func(device, FUNC_LEDS, 0x1, ECO_LED, in eco_led_set()
710 if (call_fext_func(device, FUNC_LEDS, 0x2, ECO_LED, 0x0) & ECO_LED_ON) in eco_led_get()
723 FUNC_LEDS, 0x0, 0x0, 0x0) & LOGOLAMP_POWERON) { in acpi_fujitsu_laptop_leds_register()
737 FUNC_LEDS, 0x0, 0x0, 0x0) & KEYBOARD_LAMPS) && in acpi_fujitsu_laptop_leds_register()
738 (call_fext_func(device, FUNC_BUTTONS, 0x0, 0x0, 0x0) == 0x0)) { in acpi_fujitsu_laptop_leds_register()
779 if ((call_fext_func(device, FUNC_LEDS, 0x0, 0x0, 0x0) & BIT(14)) && in acpi_fujitsu_laptop_leds_register()
781 FUNC_LEDS, 0x2, ECO_LED, 0x0) != UNSUPPORTED_CMD)) { in acpi_fujitsu_laptop_leds_register()
794 return 0; in acpi_fujitsu_laptop_leds_register()
800 int ret, i = 0; in acpi_fujitsu_laptop_add()
823 while (call_fext_func(device, FUNC_BUTTONS, 0x1, 0x0, 0x0) != 0 && in acpi_fujitsu_laptop_add()
829 priv->flags_supported = call_fext_func(device, FUNC_FLAGS, 0x0, 0x0, in acpi_fujitsu_laptop_add()
830 0x0); in acpi_fujitsu_laptop_add()
835 priv->flags_supported = 0; in acpi_fujitsu_laptop_add()
838 priv->flags_state = call_fext_func(device, FUNC_FLAGS, 0x4, 0x0, in acpi_fujitsu_laptop_add()
839 0x0); in acpi_fujitsu_laptop_add()
842 acpi_handle_info(device->handle, "BTNI: [0x%x]\n", in acpi_fujitsu_laptop_add()
843 call_fext_func(device, FUNC_BUTTONS, 0x0, 0x0, 0x0)); in acpi_fujitsu_laptop_add()
848 if (call_fext_func(fext, FUNC_BACKLIGHT, 0x2, in acpi_fujitsu_laptop_add()
849 BACKLIGHT_PARAM_POWER, 0x0) == BACKLIGHT_OFF) in acpi_fujitsu_laptop_add()
867 return 0; in acpi_fujitsu_laptop_add()
892 dev_info(&priv->input->dev, "Could not push scancode [0x%x]\n", in acpi_fujitsu_laptop_press()
897 dev_dbg(&priv->input->dev, "Push scancode into ringbuffer [0x%x]\n", in acpi_fujitsu_laptop_press()
911 sparse_keymap_report_event(priv->input, scancode, 0, false); in acpi_fujitsu_laptop_release()
913 "Pop scancode from ringbuffer [0x%x]\n", scancode); in acpi_fujitsu_laptop_release()
921 int scancode, i = 0; in acpi_fujitsu_laptop_notify()
925 acpi_handle_info(device->handle, "Unsupported event [0x%x]\n", in acpi_fujitsu_laptop_notify()
932 priv->flags_state = call_fext_func(device, FUNC_FLAGS, 0x4, 0x0, in acpi_fujitsu_laptop_notify()
933 0x0); in acpi_fujitsu_laptop_notify()
936 FUNC_BUTTONS, 0x1, 0x0, 0x0)) != 0 && in acpi_fujitsu_laptop_notify()
938 scancode = irb & 0x4ff; in acpi_fujitsu_laptop_notify()
941 else if (scancode == 0) in acpi_fujitsu_laptop_notify()
955 flags = call_fext_func(device, FUNC_FLAGS, 0x1, 0x0, 0x0); in acpi_fujitsu_laptop_notify()
965 {ACPI_FUJITSU_BL_HID, 0},
966 {"", 0},
980 {ACPI_FUJITSU_LAPTOP_HID, 0},
981 {"", 0},
996 {ACPI_FUJITSU_BL_HID, 0},
997 {ACPI_FUJITSU_LAPTOP_HID, 0},
998 {"", 0}
1024 return 0; in fujitsu_init()
1049 MODULE_PARM_DESC(use_alt_lcd_levels, "Interface used for setting LCD brightness level (-1 = auto, 0