Lines Matching defs:pin
207 int pin;
212 pin = DB88F5281_PCI_SLOT0_IRQ_PIN;
213 if (gpio_request(pin, "PCI Int1") == 0) {
214 if (gpio_direction_input(pin) == 0) {
215 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
218 "set_irq_type pin %d\n", pin);
219 gpio_free(pin);
222 printk(KERN_ERR "db88f5281_pci_preinit failed to gpio_request %d\n", pin);
225 pin = DB88F5281_PCI_SLOT1_SLOT2_IRQ_PIN;
226 if (gpio_request(pin, "PCI Int2") == 0) {
227 if (gpio_direction_input(pin) == 0) {
228 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
231 "to set_irq_type pin %d\n", pin);
232 gpio_free(pin);
235 printk(KERN_ERR "db88f5281_pci_preinit failed to gpio_request %d\n", pin);
240 u8 pin)
247 irq = orion5x_pci_map_irq(dev, slot, pin);