/linux-3.3/arch/arm/mach-ixp4xx/ |
D | dsmg600-setup.c | 2 * DSM-G600 board-setup 7 * based on ixdp425-setup.c: 8 * Copyright (C) 2003-2004 MontaVista Software, Inc. 9 * based on nslu2-power.c: 11 * based on nslu2-io.c: 17 * Maintainers: http://www.nslu2-linux.org/ 28 #include <linux/i2c-gpio.h> 30 #include <asm/mach-types.h> 38 /* DSM-G600 Timer Setting */ 42 #define DSMG600_PB_GPIO 15 /* power button */ [all …]
|
D | nas100d-setup.c | 2 * arch/arm/mach-ixp4xx/nas100d-setup.c 4 * NAS 100d board-setup 8 * based on ixdp425-setup.c: 9 * Copyright (C) 2003-2004 MontaVista Software, Inc. 10 * based on nas100d-power.c: 12 * based on nas100d-io.c 17 * Maintainers: http://www.nslu2-linux.org/ 30 #include <linux/i2c-gpio.h> 32 #include <asm/mach-types.h> 40 #define NAS100D_PB_GPIO 14 /* power button */ [all …]
|
D | nslu2-setup.c | 2 * arch/arm/mach-ixp4xx/nslu2-setup.c 4 * NSLU2 board-setup 8 * based on ixdp425-setup.c: 9 * Copyright (C) 2003-2004 MontaVista Software, Inc. 10 * based on nslu2-power.c: 16 * Maintainers: http://www.nslu2-linux.org/ 27 #include <linux/i2c-gpio.h> 29 #include <asm/mach-types.h> 41 #define NSLU2_PB_GPIO 5 /* power button */ 42 #define NSLU2_PO_GPIO 8 /* power off */ [all …]
|
D | fsg-setup.c | 2 * arch/arm/mach-ixp4xx/fsg-setup.c 4 * FSG board-setup 8 * based on ixdp425-setup.c: 9 * Copyright (C) 2003-2004 MontaVista Software, Inc. 10 * based on nslu2-power.c 14 * Maintainers: http://www.nslu2-linux.org/ 25 #include <linux/i2c-gpio.h> 27 #include <asm/mach-types.h> 34 #define FSG_SB_GPIO 4 /* sync button */ 35 #define FSG_RB_GPIO 9 /* reset button */ [all …]
|
/linux-3.3/Documentation/ABI/testing/ |
D | sysfs-firmware-acpi | 13 as the power button, it can also handle a variable 74 sci - The number of times the ACPI SCI 77 sci_not - The number of times the ACPI SCI 80 gpe_all - count of SCI caused by GPEs. 82 gpeXX - count for individual GPE source 84 ff_gbl_lock - Global Lock 86 ff_pmtimer - PM Timer 88 ff_pwr_btn - Power Button 90 ff_rt_clk - Real Time Clock 92 ff_slp_btn - Sleep Button [all …]
|
/linux-3.3/Documentation/input/ |
D | joystick-parport.txt | 2 (c) 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> 3 (c) 1998 Andree Borrmann <a.borrmann@tu-bs.de> 5 ---------------------------------------------------------------------------- 9 Any information in this file is provided as-is, without any guarantee that 25 Many console and 8-bit computer gamepads and joysticks are supported. The 45 The main problem with PC parallel ports is that they don't have +5V power 46 source on any of their pins. So, if you want a reliable source of power 47 for your pads, use either keyboard or joystick port, and make a pass-through 48 cable. You can also pull the power directly from the power supply (the red 51 If you want to use the parallel port only, you can take the power is from [all …]
|
D | atarikbd.txt | 9 provides a convenient connection point for a mouse and switch-type joysticks. 10 The ikbd processor also maintains a time-of-day clock with one second 15 The ikbd communicates with the main processor over a high speed bi-directional 33 0xF8-0xFB relative mouse position records (lsbs determined by 34 mouse button states) 35 0xFC time-of-day 60 button being pressed or released, or motion in either axis exceeding a 72 ; where y is the right button state 73 ; and x is the left button state 77 Note that the value of the button state bits should be valid even if the [all …]
|
/linux-3.3/drivers/parisc/ |
D | power.c | 2 * linux/drivers/parisc/power.c 3 * HP PARISC soft power switch support driver 5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de> 33 * Support of the soft power switch button may be enabled or disabled at 34 * runtime through the "/proc/sys/kernel/power" procfs entry. 53 /* how often should the power button be polled ? */ 56 /* how long does the power button needs to be down until we react ? */ 89 /* wait until the button was pressed for 1 second */ in process_shutdown() 105 /* main power switch task struct */ 108 /* filename in /proc which can be used to enable/disable the power switch */ [all …]
|
/linux-3.3/drivers/input/misc/ |
D | Kconfig | 20 reporting power button status. 29 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500 30 Mix-Sig PMIC. 33 will be called ab8500-ponkey. 53 module will be called ad714x-i2c. 63 module will be called ad714x-spi. 94 on Qualcomm PM8xxx chip. This driver supports ff-memless interface 98 module will be called pm8xxx-vibrator. 101 tristate "PMIC8XXX power key support" 104 Say Y here if you want support for the PMIC8XXX power key. [all …]
|
D | twl4030-pwrbutton.c | 2 * twl4030-pwrbutton.c - TWL4030 Power Button Input Driver 4 * Copyright (C) 2008-2009 Nokia Corporation 6 * Written by Peter De Schrijver <peter.de-schrijver@nokia.com> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 48 dev_err(pwr->dev.parent, "twl4030: i2c error %d while reading" in powerbutton_irq() 63 dev_dbg(&pdev->dev, "Can't allocate power button\n"); in twl4030_pwrbutton_probe() 64 return -ENOMEM; in twl4030_pwrbutton_probe() 67 pwr->evbit[0] = BIT_MASK(EV_KEY); in twl4030_pwrbutton_probe() 68 pwr->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); in twl4030_pwrbutton_probe() 69 pwr->name = "twl4030_pwrbutton"; in twl4030_pwrbutton_probe() [all …]
|
D | mc13783-pwrbutton.c | 4 * Based on twl4030-pwrbutton driver by: 5 * Peter De Schrijver <peter.de-schrijver@nokia.com> 19 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA 61 mc13xxx_irq_ack(priv->mc13783, irq); in button_irq() 62 mc13xxx_reg_read(priv->mc13783, MC13783_REG_INTERRUPT_SENSE_1, &val); in button_irq() 67 if (priv->flags & MC13783_PWRB_B1_POL_INVERT) in button_irq() 69 input_report_key(priv->pwr, priv->keymap[0], val); in button_irq() 74 if (priv->flags & MC13783_PWRB_B2_POL_INVERT) in button_irq() 76 input_report_key(priv->pwr, priv->keymap[1], val); in button_irq() 81 if (priv->flags & MC13783_PWRB_B3_POL_INVERT) in button_irq() [all …]
|
/linux-3.3/arch/sh/boards/mach-landisk/ |
D | irq.c | 2 * arch/sh/boards/mach-landisk/irq.c 4 * I-O DATA Device, Inc. LANDISK Support 6 * Copyright (C) 2005-2007 kogiidena 21 #include <mach-landisk/mach/iodata_landisk.h> 32 POWER, /* Power swtich */ enumerator 33 BUTTON, /* Button swtich */ enumerator 44 INTC_IRQ(POWER, IRQ_POWER), 45 INTC_IRQ(BUTTON, IRQ_BUTTON), 51 { BUTTON, POWER, FATA, ATA,
|
/linux-3.3/arch/arm/mach-pxa/ |
D | magician.c | 3 * i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110 4 * and T-Mobile MDA Compact. 6 * Copyright (c) 2006-2007 Philipp Zabel 23 #include <linux/mfd/htc-egpio.h> 24 #include <linux/mfd/htc-pasic3.h> 31 #include <linux/i2c/pxa-i2c.h> 34 #include <asm/mach-types.h> 143 INIT_KEY(POWER, GPIO0_MAGICIAN_KEY_POWER, "Power button"), 144 INIT_KEY(ESC, GPIO37_MAGICIAN_KEY_HANGUP, "Hangup button"), 145 INIT_KEY(F10, GPIO38_MAGICIAN_KEY_CONTACTS, "Contacts button"), [all …]
|
/linux-3.3/arch/arm/mach-orion5x/ |
D | dns323-setup.c | 2 * arch/arm/mach-orion5x/dns323-setup.c 32 #include <asm/mach-types.h> 77 * Check for devices with hard-wired IRQs. in dns323_pci_map_irq() 80 if (irq != -1) in dns323_pci_map_irq() 83 return -1; in dns323_pci_map_irq() 110 * Layout as used by D-Link: 111 * 0x00000000-0x00010000 : "MTD1" 112 * 0x00010000-0x00020000 : "MTD2" 113 * 0x00020000-0x001a0000 : "Linux Kernel" 114 * 0x001a0000-0x007d0000 : "File System" [all …]
|
D | wrt350n-v2-setup.c | 2 * arch/arm/mach-orion5x/wrt350n-v2-setup.c 22 #include <asm/mach-types.h> 34 .name = "wrt350nv2:green:power", 42 .name = "wrt350nv2:orange:power", 62 .name = "leds-gpio", 63 .id = -1, 76 .desc = "Reset Button", 81 .desc = "WPS Button", 92 .name = "gpio-keys", 93 .id = -1, [all …]
|
/linux-3.3/drivers/pci/hotplug/ |
D | pciehp_ctrl.c | 5 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 7 * Copyright (C) 2003-2004 Intel Corporation 46 return -ENOMEM; in queue_interrupt_event() 48 info->event_type = event_type; in queue_interrupt_event() 49 info->p_slot = p_slot; in queue_interrupt_event() 50 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event() 52 queue_work(pciehp_wq, &info->work); in queue_interrupt_event() 60 struct controller *ctrl = p_slot->ctrl; in pciehp_handle_attention_button() 62 /* Attention Button Change */ in pciehp_handle_attention_button() 63 ctrl_dbg(ctrl, "Attention button interrupt received\n"); in pciehp_handle_attention_button() [all …]
|
D | shpchp_ctrl.c | 5 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 7 * Copyright (C) 2003-2004 Intel Corporation 48 return -ENOMEM; in queue_interrupt_event() 50 info->event_type = event_type; in queue_interrupt_event() 51 info->p_slot = p_slot; in queue_interrupt_event() 52 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event() 54 queue_work(shpchp_wq, &info->work); in queue_interrupt_event() 64 /* Attention Button Change */ in shpchp_handle_attention_button() 65 ctrl_dbg(ctrl, "Attention button interrupt received\n"); in shpchp_handle_attention_button() 67 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button() [all …]
|
/linux-3.3/drivers/platform/x86/ |
D | intel_mid_powerbtn.c | 2 * Power button driver for Medfield. 17 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 32 #define MSIC_PB_LEVEL (1 << 3) /* 1 - release, 0 - press */ 42 dev_err(input->dev.parent, "Read error %d while reading" in mfld_pb_isr() 60 return -EINVAL; in mfld_pb_probe() 64 dev_err(&pdev->dev, "Input device allocation error\n"); in mfld_pb_probe() 65 return -ENOMEM; in mfld_pb_probe() 68 input->name = pdev->name; in mfld_pb_probe() 69 input->phys = "power-button/input0"; in mfld_pb_probe() 70 input->id.bustype = BUS_HOST; in mfld_pb_probe() [all …]
|
/linux-3.3/arch/arm/mach-s3c2440/ |
D | mach-rx1950.c | 1 /* linux/arch/arm/mach-s3c2440/mach-rx1950.c 3 * Copyright (c) 2006-2009 Victor Chukhantsev, Denis Grigoriev, 4 * Copyright (c) 2007-2010 Vasily Khoruzhick 42 #include <asm/mach-types.h> 44 #include <mach/regs-gpio.h> 45 #include <mach/regs-gpioj.h> 46 #include <mach/regs-lcd.h> 51 #include <plat/regs-serial.h> 52 #include <plat/regs-iic.h> 143 "main-battery" [all …]
|
/linux-3.3/drivers/acpi/ |
D | button.c | 2 * button.c - ACPI Button Driver 21 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 39 #define ACPI_BUTTON_CLASS "button" 45 #define ACPI_BUTTON_SUBCLASS_POWER "power" 47 #define ACPI_BUTTON_DEVICE_NAME_POWER "Power Button" 52 #define ACPI_BUTTON_DEVICE_NAME_SLEEP "Sleep Button" 61 ACPI_MODULE_NAME("button"); 64 MODULE_DESCRIPTION("ACPI Button Driver"); 83 .name = "button", 105 /* -------------------------------------------------------------------------- [all …]
|
/linux-3.3/arch/powerpc/platforms/cell/ |
D | cbe_powerbutton.c | 4 * (C) Copyright IBM Corp. 2005-2008 52 if (!of_machine_is_compatible("IBM,CBPLUS-1.0")) { in cbe_powerbutton_init() 54 ret = -ENODEV; in cbe_powerbutton_init() 60 ret = -ENOMEM; in cbe_powerbutton_init() 65 set_bit(EV_KEY, dev->evbit); in cbe_powerbutton_init() 66 set_bit(KEY_POWER, dev->keybit); in cbe_powerbutton_init() 68 dev->name = "Power Button"; in cbe_powerbutton_init() 69 dev->id.bustype = BUS_HOST; in cbe_powerbutton_init() 71 /* this makes the button look like an acpi power button in cbe_powerbutton_init() 73 dev->id.product = 0x02; in cbe_powerbutton_init() [all …]
|
/linux-3.3/arch/arm/mach-s3c2410/ |
D | mach-n30.c | 4 * Copyright (c) 2003-2005 Simtec Electronics 7 * Copyright (c) 2005-2008 Christer Weinigel <christer@weinigel.se> 33 #include <asm/mach-types.h> 36 #include <mach/leds-gpio.h> 37 #include <mach/regs-gpio.h> 38 #include <mach/regs-lcd.h> 45 #include <plat/regs-serial.h> 99 .desc = "Power", 152 .name = "gpio-keys", 153 .id = -1, [all …]
|
/linux-3.3/drivers/input/mouse/ |
D | trackpoint.h | 34 #define TP_EXT_BTN 0x4B /* Read extended button status */ 35 #define TP_POR 0x7F /* Execute Power on Reset */ 36 #define TP_POR_RESULTS 0x25 /* Read Power on Self test results */ 58 #define TP_MB 0x4C /* Read Middle Button Status (RO) */ 61 #define TP_REACH 0x57 /* Backup for Z-axis press */ 64 /* with Z-axis pressed) */ 69 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */ 70 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */ 79 #define TP_TOGGLE_MB 0x23 /* Disable/Enable Middle Button */ 105 /* Power on Self Test Results */ [all …]
|
/linux-3.3/arch/mips/sgi-ip22/ |
D | ip22-reset.c | 32 * make the power button make behave just like under IRIX. 56 tmp = hpc3c0->rtcregs[RTC_CMD] & 0xff; in sgi_machine_power_off() 57 hpc3c0->rtcregs[RTC_CMD] = tmp | RTC_WAM; in sgi_machine_power_off() 58 hpc3c0->rtcregs[RTC_WSEC] = 0; in sgi_machine_power_off() 59 hpc3c0->rtcregs[RTC_WHSEC] = 0; in sgi_machine_power_off() 62 sgioc->panel = ~SGIOC_PANEL_POWERON; in sgi_machine_power_off() 67 tmp = hpc3c0->rtcregs[RTC_HOURS_ALARM]; in sgi_machine_power_off() 75 sgimc->cpuctrl0 |= SGIMC_CCTRL0_SYSINIT; in sgi_machine_restart() 95 sgioc->reset = sgi_ioc_reset; in blink_timeout() 103 if (sgint->istat1 & SGINT_ISTAT1_PWR) { in debounce() [all …]
|
/linux-3.3/arch/arm/mach-sa1100/ |
D | simpad.c | 2 * linux/arch/arm/mach-sa1100/simpad.c 22 #include <asm/mach-types.h> 35 #include <linux/i2c-gpio.h> 99 return simpad_get_cs3_ro() & (1 << (offset - 16)); in cs3_gpio_get() 107 return -EINVAL; in cs3_gpio_direction_input() 114 return -EINVAL; in cs3_gpio_direction_output() 136 if (port->mapbase == (u_int)&Ser1UTCR0) { in simpad_uart_pm() 181 .end = SA1100_CS0_PHYS + SZ_16M -1, 185 .end = SA1100_CS1_PHYS + SZ_16M -1, 239 /* enable wake-up on GPIO0 */ in simpad_power_off() [all …]
|