Lines Matching +full:0 +full:xffffff0f
41 #define GOV_TLED 0x2020008
44 #define WM_KEY_LIGHT 0x400
45 #define WM_TLED 0x404
46 #define WM_FN_LOCK 0x407
47 #define WM_BATT_LIMIT 0x61
48 #define WM_READER_MODE 0xBF
49 #define WM_FAN_MODE 0x33
50 #define WMBB_USB_CHARGE 0x10B
51 #define WMBB_BATT_LIMIT 0x10C
67 #define INIT_INPUT_WMI_0 0x01
68 #define INIT_INPUT_WMI_2 0x02
69 #define INIT_INPUT_ACPI 0x04
70 #define INIT_SPARSE_KEYMAP 0x80
73 {KE_KEY, 0x70, {KEY_F15} }, /* LG control panel (F1) */
74 {KE_KEY, 0x74, {KEY_F13} }, /* Touchpad toggle (F5) */
75 {KE_KEY, 0xf020000, {KEY_F14} }, /* Read mode (F9) */
76 {KE_KEY, 0x10000000, {KEY_F16} },/* Keyboard backlight (F8) - pressing
80 {KE_KEY, 0x80, {KEY_RFKILL} },
81 {KE_END, 0}
94 args[0].type = ACPI_TYPE_INTEGER; in ggov()
95 args[0].integer.value = arg0; in ggov()
132 args[0].type = ACPI_TYPE_INTEGER; in lg_wmab()
133 args[0].integer.value = method; in lg_wmab()
169 args[0].type = ACPI_TYPE_INTEGER; in lg_wmbb()
170 args[0].integer.value = 0; /* ignored */ in lg_wmbb()
205 pr_err("Bad event status 0x%x\n", status); in wmi_notify()
223 pr_debug("Type: %i Eventcode: 0x%llx\n", obj->type, in wmi_notify()
247 (void *)0); in wmi_input_setup()
266 key = sparse_keymap_entry_from_scancode(wmi_input_dev, 0x80); in acpi_notify()
285 r = lg_wmab(WM_FAN_MODE, WM_GET, 0); in fan_mode_store()
296 r = lg_wmab(WM_FAN_MODE, WM_SET, (m & 0xffffff0f) | (value << 4)); in fan_mode_store()
298 r = lg_wmab(WM_FAN_MODE, WM_SET, (m & 0xfffffff0) | value); in fan_mode_store()
310 r = lg_wmab(WM_FAN_MODE, WM_GET, 0); in fan_mode_show()
319 status = r->integer.value & 0x01; in fan_mode_show()
351 r = lg_wmbb(WMBB_USB_CHARGE, WM_GET, 0); in usb_charge_show()
360 status = !!r->buffer.pointer[0x10]; in usb_charge_show()
393 r = lg_wmab(WM_READER_MODE, WM_GET, 0); in reader_mode_show()
435 r = lg_wmab(WM_FN_LOCK, WM_GET, 0); in fn_lock_show()
444 status = !!r->buffer.pointer[0]; in fn_lock_show()
482 r = lg_wmab(WM_BATT_LIMIT, WM_GET, 0); in battery_care_limit_show()
494 status = 0; in battery_care_limit_show()
529 return ggov(GOV_TLED) > 0 ? LED_ON : LED_OFF; in tpad_led_get()
540 val = 0x22; in kbd_backlight_set()
542 val = 0; in kbd_backlight_set()
544 val = 0x24; in kbd_backlight_set()
554 r = lg_wmab(WM_KEY_LIGHT, WM_GET, 0); in kbd_backlight_get()
559 if (r->type != ACPI_TYPE_BUFFER || r->buffer.pointer[1] != 0x05) { in kbd_backlight_get()
564 switch (r->buffer.pointer[0] & 0x27) { in kbd_backlight_get()
565 case 0x24: in kbd_backlight_get()
568 case 0x22: in kbd_backlight_get()
607 return 0; in acpi_add()
615 NULL, 0); in acpi_add()
633 return 0; in acpi_add()
654 return 0; in acpi_remove()
658 {"LGEX0815", 0},
659 {"", 0}
680 if (result < 0) { in acpi_init()
685 return 0; in acpi_init()