Lines Matching defs:pin
78 int pin;
83 pin = TSP2_PCI_SLOT0_IRQ_PIN;
84 if (gpio_request(pin, "PCI Int1") == 0) {
85 if (gpio_direction_input(pin) == 0) {
86 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
89 "to set_irq_type pin %d\n", pin);
90 gpio_free(pin);
94 "gpio_request %d\n", pin);
98 static int __init tsp2_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
105 irq = orion5x_pci_map_irq(dev, slot, pin);