Searched refs:pin (Results 26 - 50 of 241) sorted by relevance

12345678910

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dfixup-rbtx4927.c50 /* look up table for backplane pci irq for slots 17-20 by pin # */
82 int pci_get_irq(struct pci_dev *dev, int pin) argument
84 unsigned char irq = pin;
86 DBG("pci_get_irq: pin is %d\n", pin);
122 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
126 printk("PCI Setup for pin %d \n", pin);
131 irq = pci_get_irq(dev, pin);
H A Dfixup-capcella.c41 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
43 return irq_tab_capcella[slot][pin];
H A Dfixup-pnx8550.c48 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
50 return pnx8550_irq_tab[slot][pin];
H A Dfixup-tb0219.c26 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
H A Dfixup-tx4938.c21 int pci_get_irq(struct pci_dev *dev, int pin) argument
23 int irq = pin;
72 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
76 irq = pci_get_irq(dev, pin);
H A Dfixup-atlas.c61 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
63 return irq_tab[slot][pin];
H A Dfixup-ip32.c36 * Given a PCI slot number (a la PCI_SLOT(...)) and the interrupt pin of
39 * irqs. I suppose a device without a pin A will thank us for doing it
42 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
44 return irq_tab_mace[slot][pin];
H A Dfixup-jmr3927.c36 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
38 unsigned char irq = pin;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/mach-at32ap/
H A Dpio.c54 void __init at32_select_periph(unsigned int pin, unsigned int periph, argument
58 unsigned int pin_index = pin & 0x1f;
61 pio = gpio_to_pio(pin);
63 printk("pio: invalid pin %u\n", pin);
68 printk("%s: pin %u is busy\n", pio->name, pin_index);
91 void __init at32_select_gpio(unsigned int pin, unsigned long flags) argument
94 unsigned int pin_index = pin & 0x1f;
97 pio = gpio_to_pio(pin);
99 printk("pio: invalid pin
139 at32_reserve_pin(unsigned int pin) argument
168 unsigned int pin; local
185 unsigned int pin; local
204 unsigned int pin; local
220 unsigned int pin; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2440/
H A Ddsc.c33 int s3c2440_set_dsc(unsigned int pin, unsigned int value) argument
40 base = (pin & S3C2440_SELECT_DSC1) ? S3C2440_DSC1 : S3C2440_DSC0;
41 mask = 3 << S3C2440_DSC_GETSHIFT(pin);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/
H A Dpci_irq.c52 int device, int pin)
63 * PCI device's segment, bus, device, and pin (don't care about func).
72 && (pin == entry->pin)) {
100 entry->pin = prt->pin;
106 * configure the IRQ assigned to this slot|dev|pin. The 'source_index'
132 entry->id.device, ('A' + entry->pin), prt->source,
300 int pin,
312 segment, bus_nr, device, ('A' + pin)));
50 acpi_pci_irq_find_prt_entry(int segment, int bus, int device, int pin) argument
298 acpi_pci_irq_lookup(struct pci_bus *bus, int device, int pin, int *triggering, int *polarity, char **link, irq_lookup_func func) argument
330 acpi_pci_irq_derive(struct pci_dev *dev, int pin, int *triggering, int *polarity, char **link, irq_lookup_func func) argument
391 u8 pin = 0; local
481 u8 pin = 0; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/misc/
H A Dixp4xx-beeper.c31 static void ixp4xx_spkr_control(unsigned int pin, unsigned int count) argument
38 gpio_line_config(pin, IXP4XX_GPIO_OUT);
39 gpio_line_set(pin, IXP4XX_GPIO_LOW);
43 gpio_line_config(pin, IXP4XX_GPIO_IN);
44 gpio_line_set(pin, IXP4XX_GPIO_HIGH);
54 unsigned int pin = (unsigned int) input_get_drvdata(dev); local
77 ixp4xx_spkr_control(pin, count);
140 unsigned int pin = (unsigned int) input_get_drvdata(input_dev); local
147 ixp4xx_spkr_control(pin, 0);
157 unsigned int pin local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Dio.c104 unsigned int port, unsigned int pin)
111 iopin->bit = 1 << pin;
114 if (crisv32_pinmux_alloc(port, pin, pin, pinmux_gpio))
124 int pin; local
134 pin = simple_strtoul(name, NULL, 10);
136 if (pin < 0 || pin > crisv32_ioports[port].pin_count)
139 iopin->bit = 1 << pin;
142 if (crisv32_pinmux_alloc(port, pin, pi
103 crisv32_io_get(struct crisv32_iopin* iopin, unsigned int port, unsigned int pin) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp4xx/
H A Davila-pci.c41 static int __init avila_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
54 pin >= 1 && pin <= AVILA_PCI_IRQ_LINES) {
55 irq = pci_irq_table[(slot + pin - 2) % 4];
H A Ddsmg600-pci.c38 static int __init dsmg600_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
51 pin >= 1 && pin <= DSMG600_PCI_IRQ_LINES)
52 irq = pci_irq_table[slot-1][pin-1];
H A Dgtwx5715-pci.c57 static int __init gtwx5715_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
68 pin >= GTWX5715_PCI_INT_PIN_COUNT) rc = -1;
70 rc = gtwx5715_irqmap[slot][pin-1];
72 printk("%s: Mapped slot %d pin %d to IRQ %d\n", __FUNCTION__,slot, pin, rc);
H A Dixdp425-pci.c38 static int __init ixdp425_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
50 pin >= 1 && pin <= IXDP425_PCI_IRQ_LINES) {
51 irq = pci_irq_table[(slot + pin - 2) % 4];
H A Dnas100d-pci.c36 static int __init nas100d_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
48 pin >= 1 && pin <= NAS100D_PCI_IRQ_LINES)
49 irq = pci_irq_table[slot-1][pin-1];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/mb93090-mb00/
H A Dpci-irq.c47 uint8_t line, pin; local
50 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
51 if (pin) {
52 dev->irq = pci_bus0_irq_routing[PCI_SLOT(dev->devfn)][pin - 1];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dpci_impl.h106 * Where A = pin 1, B = pin 2 and so on and pin=0 = default = A.
107 * Thus, each swizzle is ((pin-1) + (device#-4)) % 4
114 static inline u8 bridge_swizzle(u8 pin, u8 slot) argument
116 return (((pin-1) + slot) % 4) + 1;
125 if (slot >= min_idsel && slot <= max_idsel && pin < irqs_per_slot) \
126 _ctl_ = irq_tab[slot - min_idsel][pin]; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Dio_apic.c57 static struct { int pin, apic; } ioapic_i8259 = { -1, -1 }; member in struct:__anon3494
92 int apic, pin, next; member in struct:irq_pin_list
140 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) argument
145 eu.w1 = io_apic_read(apic, 0x10 + 2 * pin);
146 eu.w2 = io_apic_read(apic, 0x11 + 2 * pin);
158 __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) argument
162 io_apic_write(apic, 0x11 + 2*pin, eu.w2);
163 io_apic_write(apic, 0x10 + 2*pin, eu.w1);
166 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) argument
170 __ioapic_write_entry(apic, pin,
179 ioapic_mask_entry(int apic, int pin) argument
195 add_pin_to_irq(unsigned int irq, int apic, int pin) argument
236 unsigned int pin, reg; local
294 clear_IO_APIC_pin(unsigned int apic, unsigned int pin) argument
311 int apic, pin; local
322 int pin; local
817 find_irq_entry(int apic, int pin, int type) argument
885 IO_APIC_get_PCI_irq_vector(int bus, int slot, int pin) argument
934 int pin, ioapic, irq, irq_entry; local
1140 pin_2_irq(int idx, int apic, int pin) argument
1207 int apic, idx, pin; local
1290 int apic, pin, idx, irq, first_notcon = 1, vector; local
1365 setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, int vector) argument
1544 int pin; local
1958 int apic, pin, i; local
2627 io_apic_set_pci_routing(int ioapic, int pin, int irq, int edge_level, int active_high_low) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/boards/mpc1211/
H A Dpci.c198 static inline u8 bridge_swizzle(u8 pin, u8 slot) argument
200 return (((pin-1) + slot) % 4) + 1;
203 static inline u8 bridge_swizzle_pci_1(u8 pin, u8 slot) argument
205 return (((pin-1) - slot) & 3) + 1;
211 u8 pin = *pinp; local
215 if (!pin)
226 pin = bridge_swizzle_pci_1(pin, PCI_SLOT(dev->devfn));
228 pin = bridge_swizzle(pin, PCI_SLO
238 map_mpc1211_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/x86_64/kernel/
H A Dio_apic.c91 static struct { int pin, apic; } ioapic_i8259 = { -1, -1 }; member in struct:__anon3848
116 short apic, pin, next; member in struct:irq_pin_list
168 int pin; \
174 pin = entry->pin; \
175 if (pin == -1) \
177 reg = io_apic_read(entry->apic, 0x10 + R + pin*2); \
192 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) argument
197 eu.w1 = io_apic_read(apic, 0x10 + 2 * pin);
198 eu.w2 = io_apic_read(apic, 0x11 + 2 * pin);
210 __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) argument
218 ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) argument
231 ioapic_mask_entry(int apic, int pin) argument
245 int apic, pin; local
300 add_pin_to_irq(unsigned int irq, int apic, int pin) argument
348 clear_IO_APIC_pin(unsigned int apic, unsigned int pin) argument
364 int apic, pin; local
409 find_irq_entry(int apic, int pin, int type) argument
471 IO_APIC_get_PCI_irq_vector(int bus, int slot, int pin) argument
618 pin_2_irq(int idx, int apic, int pin) argument
785 setup_IO_APIC_irq(int apic, int pin, unsigned int irq, int trigger, int polarity) argument
835 int apic, pin, idx, irq, first_notcon = 1; local
868 setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, int vector) argument
1026 int pin; local
1386 int apic, pin, i; local
1937 io_apic_set_pci_routing(int ioapic, int pin, int irq, int triggering, int polarity) argument
1967 int pin, ioapic, irq, irq_entry; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-footbridge/
H A Debsa285-pci.c18 static int __init ebsa285_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument
28 return irqmap_ebsa285[(slot + pin) & 3];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp23xx/
H A Droadrunner.c61 static int __init roadrunner_map_irq(struct pci_dev *dev, u8 idsel, u8 pin) argument
75 return pci_card_slot_irq[pin - 1];
77 return pmc_card_slot_irq[pin - 1];
90 return (pin == 1) ? INTC : -1;
94 return usb_irq[pin - 1];
96 return mini_pci_1_irq[pin-1];
98 return mini_pci_2_irq[pin-1];
100 return (pin == 1) ? INTA : -1;

Completed in 268 milliseconds

12345678910