FreeBSD/sys/i386/pci/pci_pir.c
/*
 * Walk the $PIR executing the worker function for each valid intpin entry
 * in the table.  The handler is passed a pointer to both the entry and
 * the intpin in the entry.
 */
Walk the $PIR executing the worker function for each valid intpin entry
in the table.  The handler is passed a pointer to both the entry and
the intpin in the entry.
Walk the $PIR executing the worker function for each valid intpin entry in the table . The handler is passed a pointer to both the entry and the intpin in the entry .
static void
pci_pir_walk_table(pir_entry_handler *handler, void *arg)
{
	struct PIR_entry *entry;
	struct PIR_intpin *intpin;
	int i, pin;
	entry = &pci_route_table->pt_entry[0];
	for (i = 0; i < pci_route_count; i++, entry++) {
		intpin = &entry->pe_intpin[0];
		for (pin = 0; pin < 4; pin++, intpin++)
			if (intpin->link != 0)
				handler(entry, intpin, arg);
	}
}
static void pci_pir_walk_table ( pir_entry_handler * handler , void * arg ) { struct PIR_entry * entry ; struct PIR_intpin * intpin ; int i , pin ; entry = & pci_route_table -> pt_entry [ 0 ] ; for ( i = 0 ; i < pci_route_count ; i ++ , entry ++ ) { intpin = & entry -> pe_intpin [ 0 ] ; for ( pin = 0 ; pin < 4 ; pin ++ , intpin ++ ) if ( intpin -> link != 0 ) handler ( entry , intpin , arg ) ; } }
Walk the $PIR executing the worker function for each valid intpin entry
 in the table.
Walk the $PIR executing the worker function for each valid intpin entry in the table .