Lines Matching defs:pci

745 ahc_find_pci_device(aic_dev_softc_t pci)
755 vendor = aic_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2);
756 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2);
757 subvendor = aic_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2);
758 subdevice = aic_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2);
768 if (aic_get_pci_function(pci) > 0
834 /* Ensure that pci error generation, a test feature, is disabled. */
2156 aic_dev_softc_t pci;
2159 pci = ahc->dev_softc;
2164 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2174 aic_dev_softc_t pci;
2177 pci = ahc->dev_softc;
2182 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2249 aic_dev_softc_t pci;
2252 pci = ahc->dev_softc;
2257 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2300 aic_dev_softc_t pci;
2303 pci = ahc->dev_softc;
2308 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2331 aic_dev_softc_t pci;
2334 pci = ahc->dev_softc;
2335 ahc->channel = aic_get_pci_function(pci) == 1 ? 'B' : 'A';
2339 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2355 command = aic_pci_read_config(pci, PCIR_COMMAND, /*bytes*/1);
2357 aic_pci_write_config(pci, PCIR_COMMAND, command, /*bytes*/1);
2374 aic_pci_write_config(pci, CSIZE_LATTIME, 0, /*bytes*/1);
2375 devconfig = aic_pci_read_config(pci, DEVCONFIG, /*bytes*/1);
2377 aic_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1);
2387 aic_dev_softc_t pci;
2389 pci = ahc->dev_softc;
2390 ahc->channel = aic_get_pci_function(pci) == 1 ? 'B' : 'A';
2402 aic_dev_softc_t pci;
2404 pci = ahc->dev_softc;
2405 ahc->channel = aic_get_pci_function(pci) == 1 ? 'B' : 'A';
2436 aic_dev_softc_t pci;
2438 pci = ahc->dev_softc;
2439 switch (aic_get_pci_slot(pci)) {
2449 aic_get_pci_slot(pci));
2458 aic_dev_softc_t pci;
2460 pci = ahc->dev_softc;
2461 switch (aic_get_pci_slot(pci)) {
2474 aic_get_pci_slot(pci));
2485 aic_dev_softc_t pci;
2487 pci = ahc->dev_softc;
2488 switch (aic_get_pci_slot(pci)) {
2504 aic_get_pci_slot(pci));