/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-s3c2410/ |
H A D | hardware.h | 31 * set the configuration of the given pin to the value passed. 38 extern void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function); 40 extern unsigned int s3c2410_gpio_getcfg(unsigned int pin); 44 * turn the given pin number into the corresponding IRQ number 47 * < 0 = no interrupt for this pin 48 * >=0 = interrupt number for the pin 51 extern int s3c2410_gpio_getirq(unsigned int pin); 55 extern int s3c2400_gpio_getirq(unsigned int pin); 61 * set the irq filtering on the given pin 72 extern int s3c2410_gpio_irqfilter(unsigned int pin, unsigne [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/arch-at32ap/ |
H A D | portmux.h | 14 * Set up pin multiplexing, called from board init only. 16 * The following flags determine the initial state of the pin. 23 void at32_select_periph(unsigned int pin, unsigned int periph, 25 void at32_select_gpio(unsigned int pin, unsigned long flags); 26 void at32_reserve_pin(unsigned int pin);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/ |
H A D | gpio.h | 21 int gpio_direction_input(unsigned pin); 22 int gpio_direction_output(unsigned pin, int value);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/ |
H A D | gpio.h | 21 int gpio_direction_input(unsigned pin); 22 int gpio_direction_output(unsigned pin, int value);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2410/ |
H A D | gpio.c | 35 int s3c2410_gpio_irqfilter(unsigned int pin, unsigned int on, argument 42 if (pin < S3C2410_GPG8 || pin > S3C2410_GPG15) 47 pin -= S3C2410_GPG8; 48 reg += pin & ~3; 55 val &= ~(0xff << ((pin & 3) * 8)); 56 val |= config << ((pin & 3) * 8); 62 val &= ~(1 << ((pin * 4) + 3)); 63 val |= on << ((pin * 4) + 3);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/vr41xx/ |
H A D | giu.h | 44 extern void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, irq_signal_t signal); 51 extern void vr41xx_set_irq_level(unsigned int pin, irq_level_t level); 59 extern gpio_data_t vr41xx_gpio_get_pin(unsigned int pin); 60 extern int vr41xx_gpio_set_pin(unsigned int pin, gpio_data_t data); 68 extern int vr41xx_gpio_set_direction(unsigned int pin, gpio_direction_t dir); 76 extern int vr41xx_gpio_pullupdown(unsigned int pin, gpio_pull_t pull);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/vr41xx/ |
H A D | giu.h | 44 extern void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, irq_signal_t signal); 51 extern void vr41xx_set_irq_level(unsigned int pin, irq_level_t level); 59 extern gpio_data_t vr41xx_gpio_get_pin(unsigned int pin); 60 extern int vr41xx_gpio_set_pin(unsigned int pin, gpio_data_t data); 68 extern int vr41xx_gpio_set_direction(unsigned int pin, gpio_direction_t dir); 76 extern int vr41xx_gpio_pullupdown(unsigned int pin, gpio_pull_t pull);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-s3c24xx/ |
H A D | gpio.c | 36 void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function) argument 38 void __iomem *base = S3C24XX_GPIO_BASE(pin); 43 if (pin < S3C2410_GPIO_BANKB) { 44 mask = 1 << S3C2410_GPIO_OFFSET(pin); 46 mask = 3 << S3C2410_GPIO_OFFSET(pin)*2; 59 if (pin < S3C2410_GPIO_BANKB) { 62 function <<= S3C2410_GPIO_OFFSET(pin); 65 function <<= S3C2410_GPIO_OFFSET(pin)*2; 84 unsigned int s3c2410_gpio_getcfg(unsigned int pin) argument 86 void __iomem *base = S3C24XX_GPIO_BASE(pin); 103 s3c2410_gpio_pullup(unsigned int pin, unsigned int to) argument 125 s3c2410_gpio_setpin(unsigned int pin, unsigned int to) argument 144 s3c2410_gpio_getpin(unsigned int pin) argument 171 s3c2410_gpio_getirq(unsigned int pin) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-at91/ |
H A D | gpio.c | 32 static inline void __iomem *pin_to_controller(unsigned pin) argument 36 pin -= PIN_BASE; 37 pin /= 32; 38 if (likely(pin < gpio_banks)) 39 return sys_base + gpio[pin].offset; 44 static inline unsigned pin_to_mask(unsigned pin) argument 46 pin -= PIN_BASE; 47 return 1 << (pin % 32); 57 * Bootloaders will usually handle some of the pin multiplexing setup. 68 * mux the pin t 70 at91_set_GPIO_periph(unsigned pin, int use_pullup) argument 88 at91_set_A_periph(unsigned pin, int use_pullup) argument 108 at91_set_B_periph(unsigned pin, int use_pullup) argument 129 at91_set_gpio_input(unsigned pin, int use_pullup) argument 150 at91_set_gpio_output(unsigned pin, int value) argument 171 at91_set_deglitch(unsigned pin, int is_on) argument 187 at91_set_multi_drive(unsigned pin, int is_on) argument 206 gpio_direction_input(unsigned pin) argument 218 gpio_direction_output(unsigned pin, int value) argument 236 at91_set_gpio_value(unsigned pin, int value) argument 252 at91_get_gpio_value(unsigned pin) argument 272 gpio_irq_set_wake(unsigned pin, unsigned state) argument 342 gpio_irq_mask(unsigned pin) argument 351 gpio_irq_unmask(unsigned pin) argument 360 gpio_irq_type(unsigned pin, unsigned type) argument 375 unsigned pin; local 422 unsigned pioc, pin; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2400/ |
H A D | gpio.c | 34 int s3c2400_gpio_getirq(unsigned int pin) argument 36 if (pin < S3C2410_GPE0 || pin > S3C2400_GPE7_EINT7) 39 return (pin - S3C2410_GPE0) + IRQ_EINT0;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-integrator/ |
H A D | pci.c | 64 * Where A = pin 1, B = pin 2 and so on and pin=0 = default = A. 65 * Thus, each swizzle is ((pin-1) + (device#-4)) % 4 69 static inline int bridge_swizzle(int pin, unsigned int slot) argument 71 return (pin + slot) & 3; 79 int pin = *pinp; local 81 if (pin == 0) 82 pin = 1; 84 pin 105 integrator_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-pnx4008/ |
H A D | gpio.c | 120 int pnx4008_gpio_register_pin(unsigned short pin) argument 122 unsigned long bit = GPIO_BIT(pin); 127 if (GPIO_ISBID(pin)) { 132 } else if (GPIO_ISRAM(pin)) { 137 } else if (GPIO_ISMUX(pin)) { 142 } else if (GPIO_ISOUT(pin)) { 147 } else if (GPIO_ISIN(pin)) { 162 int pnx4008_gpio_unregister_pin(unsigned short pin) argument 164 unsigned long bit = GPIO_BIT(pin); 169 if (GPIO_ISBID(pin)) { 200 pnx4008_gpio_read_pin(unsigned short pin) argument 228 pnx4008_gpio_write_pin(unsigned short pin, int output) argument 255 pnx4008_gpio_set_pin_direction(unsigned short pin, int output) argument 271 pnx4008_gpio_read_pin_direction(unsigned short pin) argument 288 pnx4008_gpio_set_pin_mux(unsigned short pin, int output) argument 312 pnx4008_gpio_read_pin_mux(unsigned short pin) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-imx/ |
H A D | generic.c | 40 unsigned int pin = gpio_mode & GPIO_PIN_MASK; local 47 PUEN(port) |= (1<<pin); 49 PUEN(port) &= ~(1<<pin); 53 DDIR(port) |= 1<<pin; 55 DDIR(port) &= ~(1<<pin); 59 GPR(port) |= (1<<pin); 61 GPR(port) &= ~(1<<pin); 65 GIUS(port) |= (1<<pin); 67 GIUS(port) &= ~(1<<pin); 70 if(pin<1 [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | vr41xx_giu.c | 125 unsigned int pin; local 127 pin = GPIO_PIN_OF_IRQ(irq); 128 giu_clear(GIUINTENL, 1 << pin); 129 giu_write(GIUINTSTATL, 1 << pin); 157 unsigned int pin; local 159 pin = GPIO_PIN_OF_IRQ(irq) - GIUINT_HIGH_OFFSET; 160 giu_clear(GIUINTENH, 1 << pin); 161 giu_write(GIUINTSTATH, 1 << pin); 210 void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, irq_signal_t signal) argument 214 if (pin < GIUINT_HIGH_OFFSE 288 vr41xx_set_irq_level(unsigned int pin, irq_level_t level) argument 310 vr41xx_gpio_get_pin(unsigned int pin) argument 338 vr41xx_gpio_set_pin(unsigned int pin, gpio_data_t data) argument 375 vr41xx_gpio_set_direction(unsigned int pin, gpio_direction_t dir) argument 424 vr41xx_gpio_pullupdown(unsigned int pin, gpio_pull_t pull) argument 465 unsigned int pin; local 487 unsigned int pin; local 548 unsigned int pin; local 559 unsigned int pin; local 579 unsigned int trigger, i, pin; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/ |
H A D | fixup-au1000.c | 38 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 40 return irq_tab_alchemy[slot][pin];
|
H A D | fixup-excite.c | 24 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 26 if (pin == 0)
|
H A D | fixup-wrppmc.c | 28 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 30 return pci_irq_tab[slot][pin];
|
H A D | fixup-yosemite.c | 29 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 31 if (pin == 0)
|
H A D | pci-ev64120.c | 4 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 8 if (!pin)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/ |
H A D | visws.c | 30 static inline u8 bridge_swizzle(u8 pin, u8 slot) argument 32 return (((pin - 1) + slot) % 4) + 1; 37 u8 pin = *pinp; local 40 pin = bridge_swizzle(pin, PCI_SLOT(dev->devfn)); 43 *pinp = pin; 48 static int __init visws_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 52 pin--; 54 /* Nothing useful at PIIX4 pin 1 */ 55 if (bus == pci_bus0 && slot == 4 && pin [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/ |
H A D | setup-irq.c | 26 u8 pin, slot; local 30 which interrupt pin it will come in on. We know which slot it 35 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 37 if (pin > 4) 38 pin = 1; 40 if (pin != 0) { 42 slot = (*swizzle)(dev, &pin); 44 irq = (*map_irq)(dev, slot, pin);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/ |
H A D | ops-landisk.c | 51 int pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) argument 59 int irq = ((slot + pin - 1) & 0x3) + 5; 61 if ((slot | (pin - 1)) > 0x3) { 62 printk("PCI: Bad IRQ mapping request for slot %d pin %c\n", 63 slot, pin - 1 + 'A');
|
H A D | fixups-sh03.c | 6 int __init pcibios_map_platform_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 21 switch (pin) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp4xx/ |
H A D | nslu2-pci.c | 34 static int __init nslu2_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 45 pin >= 1 && pin <= NSLU2_PCI_IRQ_LINES) { 46 irq = pci_irq_table[(slot + pin - 2) % NSLU2_PCI_IRQ_LINES];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/hd64465/ |
H A D | gpio.h | 17 * subsequent functions) from a port letter and a pin 20 #define HD64465_GPIO_PORTPIN(port,pin) (((port)-'A')<<3|(pin)) 23 #define HD64465_GPIO_FUNCTION2 0 /* use the pin's *other* function */ 28 /* Configure a pin's direction */
|