• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/i386/pci/

Lines Matching refs:pin

71 	int		pin;
78 int pin;
85 static int pci_pir_biosroute(int bus, int device, int func, int pin,
97 static uint8_t pci_pir_search_irq(int bus, int device, int pin);
193 intpin - entry->pe_intpin == lookup->pin)
219 int i, pin;
224 for (pin = 0; pin < 4; pin++, intpin++)
261 * have an interrupt routed to intpin 'pin' by the BIOS.
264 pci_pir_search_irq(int bus, int device, int pin)
289 * See if it uses the pin in question. Note that the passed
290 * in pin uses 0 for A, .. 3 for D whereas the intpin
293 if (value != pin + 1)
298 "$PIR: Found matching pin for %d.%d.INT%c at func %d: %d\n",
299 bus, device, pin + 'A', func, value);
314 uint8_t irq, pin;
316 pin = intpin - entry->pe_intpin;
318 irq = pci_pir_search_irq(entry->pe_bus, entry->pe_device, pin);
326 irq, entry->pe_bus, entry->pe_device, pin + 'A',
339 irq, entry->pe_bus, entry->pe_device, pin + 'A',
358 irq, entry->pe_bus, entry->pe_device, pin + 'A',
363 irq, entry->pe_bus, entry->pe_device, pin + 'A',
370 irq, entry->pe_bus, entry->pe_device, pin + 'A',
474 pci_pir_biosroute(int bus, int device, int func, int pin, int irq)
480 args.ecx = (irq << 8) | (0xa + pin);
489 pci_pir_route_interrupt(int bus, int device, int func, int pin)
498 /* Lookup link device for this PCI device/pin. */
502 lookup.pin = pin - 1;
507 device, pin - 1 + 'A');
535 bus, device, pin - 1 + 'A');
543 error = pci_pir_biosroute(bus, device, func, pin - 1,
560 pin - 1 + 'A', pci_link->pl_irq);
689 pd->pin = intpin - entry->pe_intpin;
717 pd.bus, pd.device, pd.pin + 'A',
719 error = pci_pir_biosroute(pd.bus, pd.device, 0, pd.pin,