/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-integrator/ |
H A D | pci.c | 65 * Where A = pin 1, B = pin 2 and so on and pin=0 = default = A. 66 * Thus, each swizzle is ((pin-1) + (device#-4)) % 4 70 static inline int bridge_swizzle(int pin, unsigned int slot) argument 72 return (pin + slot) & 3; 80 int pin = *pinp; local 82 if (pin == 0) 83 pin = 1; 85 pin 106 integrator_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/mach/ |
H A D | pci.h | 24 u8 (*swizzle)(struct pci_dev *dev, u8 *pin); 27 int (*map_irq)(struct pci_dev *dev, u8 slot, u8 pin); 30 extern u8 no_swizzle(struct pci_dev *dev, u8 *pin);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/mach/ |
H A D | pci.h | 24 u8 (*swizzle)(struct pci_dev *dev, u8 *pin); 27 int (*map_irq)(struct pci_dev *dev, u8 slot, u8 pin); 30 extern u8 no_swizzle(struct pci_dev *dev, u8 *pin);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/common/ |
H A D | giu.c | 92 void vr41xx_enable_giuint(int pin) argument 94 if (pin < 16) 95 set_giuint(GIUINTENL, (u16)1 << pin); 97 set_giuint(GIUINTENH, (u16)1 << (pin - 16)); 100 void vr41xx_disable_giuint(int pin) argument 102 if (pin < 16) 103 clear_giuint(GIUINTENL, (u16)1 << pin); 105 clear_giuint(GIUINTENH, (u16)1 << (pin - 16)); 108 void vr41xx_clear_giuint(int pin) argument 110 if (pin < 1 116 vr41xx_set_irq_trigger(int pin, int trigger, int hold) argument 149 vr41xx_set_irq_level(int pin, int level) argument 193 unsigned int pin; local 217 giuint_do_IRQ(int pin, struct pt_regs *regs) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pci/ |
H A D | setup-irq.c | 34 u8 pin, slot; local 38 which interrupt pin it will come in on. We know which slot it 43 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 45 if (pin == 0 || pin > 4) 46 pin = 1; 49 slot = (*swizzle)(dev, &pin); 51 irq = (*map_irq)(dev, slot, pin);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/ |
H A D | ftv-pci.c | 33 static int __init ftv_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 37 return irqmap_ftv[(slot - pin) & 3]; 40 static u8 __init ftv_swizzle(struct pci_dev *dev, u8 *pin) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ite-boards/qed-4n-s01b/ |
H A D | pci_fixup.c | 54 unsigned char pin; local 71 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 86 switch (pin) { 87 case 1: /* pin A */ 90 case 2: /* pin B */ 93 case 3: /* pin C */ 96 case 4: /* pin D */ 106 switch (pin) { 107 case 1: /* pin A */ 110 case 2: /* pin [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sh/ |
H A D | hd64465_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 */
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sh/ |
H A D | hd64465_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 */
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/nec-eagle/ |
H A D | pci_fixup.c | 63 u8 slot, func, pin; local 68 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 73 switch (pin) { 89 switch (pin) { 105 switch (pin) { 130 switch (pin) {
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/vr41xx/ |
H A D | vr41xx.h | 66 extern void vr41xx_enable_giuint(int pin); 67 extern void vr41xx_disable_giuint(int pin); 68 extern void vr41xx_clear_giuint(int pin); 80 extern void vr41xx_set_irq_trigger(int pin, int trigger, int hold); 87 extern void vr41xx_set_irq_level(int pin, int level);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/vr41xx/ |
H A D | vr41xx.h | 66 extern void vr41xx_enable_giuint(int pin); 67 extern void vr41xx_disable_giuint(int pin); 68 extern void vr41xx_clear_giuint(int pin); 80 extern void vr41xx_set_irq_trigger(int pin, int trigger, int hold); 87 extern void vr41xx_set_irq_level(int pin, int level);
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/vr41xx/ |
H A D | vr41xx.h | 66 extern void vr41xx_enable_giuint(int pin); 67 extern void vr41xx_disable_giuint(int pin); 68 extern void vr41xx_clear_giuint(int pin); 80 extern void vr41xx_set_irq_trigger(int pin, int trigger, int hold); 87 extern void vr41xx_set_irq_level(int pin, int level);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/vr41xx/ |
H A D | vr41xx.h | 66 extern void vr41xx_enable_giuint(int pin); 67 extern void vr41xx_disable_giuint(int pin); 68 extern void vr41xx_clear_giuint(int pin); 80 extern void vr41xx_set_irq_trigger(int pin, int trigger, int hold); 87 extern void vr41xx_set_irq_level(int pin, int level);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/zao-capcella/ |
H A D | pci_fixup.c | 33 u8 slot, func, pin; local 48 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 49 switch (pin) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-footbridge/ |
H A D | ebsa285-pci.c | 18 static u8 __init ebsa285_swizzle(struct pci_dev *dev, u8 *pin) argument 23 static int __init ebsa285_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 33 return irqmap_ebsa285[(slot + pin) & 3];
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ite-boards/ivr/ |
H A D | pci_fixup.c | 54 unsigned char pin; local 70 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 85 switch (pin) { 86 case 0: /* pin A, hardware bug */ 87 case 1: /* pin A */ 90 case 2: /* pin B */ 93 case 3: /* pin C */ 96 case 4: /* pin D */ 106 switch (pin) { 107 case 0: /* pin [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/ |
H A D | io_apic.c | 62 int apic, pin, next; member in struct:irq_pin_list 66 * The common case is 1:1 IRQ<->pin mappings. Sometimes there are 70 static void __init add_pin_to_irq(unsigned int irq, int apic, int pin) argument 78 if (entry->pin != -1) { 85 entry->pin = pin; 89 * Reroute an IRQ to a different pin. 98 if (entry->apic == oldapic && entry->pin == oldpin) { 100 entry->pin = newpin; 111 int pin; \ 161 clear_IO_APIC_pin(unsigned int apic, unsigned int pin) argument 179 int apic, pin; local 244 find_irq_entry(int apic, int pin, int type) argument 285 IO_APIC_get_PCI_irq_vector(int bus, int slot, int pin) argument 512 pin_2_irq(int idx, int apic, int pin) argument 570 int apic, idx, pin; local 616 int apic, pin, idx, irq, first_notcon = 1, vector; local 688 setup_ExtINT_IRQ0_pin(unsigned int pin, int vector) argument 1432 int pin, i; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/kernel/ |
H A D | io_apic.c | 67 int apic, pin, next; member in struct:irq_pin_list 71 * The common case is 1:1 IRQ<->pin mappings. Sometimes there are 75 static void __init add_pin_to_irq(unsigned int irq, int apic, int pin) argument 83 if (entry->pin != -1) { 90 entry->pin = pin; 94 * Reroute an IRQ to a different pin. 103 if (entry->apic == oldapic && entry->pin == oldpin) { 105 entry->pin = newpin; 116 int pin; \ 166 clear_IO_APIC_pin(unsigned int apic, unsigned int pin) argument 184 int apic, pin; local 248 find_irq_entry(int apic, int pin, int type) argument 289 IO_APIC_get_PCI_irq_vector(int bus, int slot, int pin) argument 516 pin_2_irq(int idx, int apic, int pin) argument 574 int apic, idx, pin; local 620 int apic, pin, idx, irq, first_notcon = 1, vector; local 699 setup_ExtINT_IRQ0_pin(unsigned int pin, int vector) argument 1441 int pin, i; local [all...] |
H A D | pci-visws.c | 85 u8 pin; local 89 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 91 if (!pin) 93 pin--; 96 pin = (pin + PCI_SLOT(dev->devfn)) % 4; 99 irq = visws_get_PCI_irq_vector(p->bus->number, PCI_SLOT(p->devfn), pin+1); 102 DBG("PCI IRQ: %s pin %d -> %d\n", dev->slot_name, pin, irq);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/ |
H A D | pci_impl.h | 103 * Where A = pin 1, B = pin 2 and so on and pin=0 = default = A. 104 * Thus, each swizzle is ((pin-1) + (device#-4)) % 4 111 static inline u8 bridge_swizzle(u8 pin, u8 slot) argument 113 return (((pin-1) + slot) % 4) + 1; 122 if (slot >= min_idsel && slot <= max_idsel && pin < irqs_per_slot) \ 123 _ctl_ = irq_tab[slot - min_idsel][pin]; \
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-sa1100/ |
H A D | omnimeter.h | 76 #define SetGPIOpin(pin) WritePort32(GPSR,pin) 77 #define ClearGPIOpin(pin) WritePort32(GPCR,pin)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-sa1100/ |
H A D | omnimeter.h | 76 #define SetGPIOpin(pin) WritePort32(GPSR,pin) 77 #define ClearGPIOpin(pin) WritePort32(GPCR,pin)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-shark/ |
H A D | pci.c | 15 static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/ |
H A D | pci-bridge.h | 108 static inline unsigned char bridge_swizzle(unsigned char pin, argument 111 return (((pin-1) + idsel) % 4) + 1; 121 if (idsel >= min_idsel && idsel <= max_idsel && pin <= irqs_per_slot) \ 122 _ctl_ = pci_irq_table[idsel - min_idsel][pin-1]; \
|