Lines Matching refs:pci

738 ahc_find_pci_device(aic_dev_softc_t pci)
748 vendor = aic_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2);
749 device = aic_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2);
750 subvendor = aic_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2);
751 subdevice = aic_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2);
761 if (aic_get_pci_function(pci) > 0
826 /* Ensure that pci error generation, a test feature, is disabled. */
2145 aic_dev_softc_t pci;
2148 pci = ahc->dev_softc;
2153 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2163 aic_dev_softc_t pci;
2166 pci = ahc->dev_softc;
2171 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2238 aic_dev_softc_t pci;
2241 pci = ahc->dev_softc;
2246 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2289 aic_dev_softc_t pci;
2292 pci = ahc->dev_softc;
2297 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2320 aic_dev_softc_t pci;
2323 pci = ahc->dev_softc;
2324 ahc->channel = aic_get_pci_function(pci) == 1 ? 'B' : 'A';
2328 rev = aic_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
2344 command = aic_pci_read_config(pci, PCIR_COMMAND, /*bytes*/1);
2346 aic_pci_write_config(pci, PCIR_COMMAND, command, /*bytes*/1);
2363 aic_pci_write_config(pci, CSIZE_LATTIME, 0, /*bytes*/1);
2364 devconfig = aic_pci_read_config(pci, DEVCONFIG, /*bytes*/1);
2366 aic_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1);
2376 aic_dev_softc_t pci;
2378 pci = ahc->dev_softc;
2379 ahc->channel = aic_get_pci_function(pci) == 1 ? 'B' : 'A';
2391 aic_dev_softc_t pci;
2393 pci = ahc->dev_softc;
2394 ahc->channel = aic_get_pci_function(pci) == 1 ? 'B' : 'A';
2425 aic_dev_softc_t pci;
2427 pci = ahc->dev_softc;
2428 switch (aic_get_pci_slot(pci)) {
2438 aic_get_pci_slot(pci));
2447 aic_dev_softc_t pci;
2449 pci = ahc->dev_softc;
2450 switch (aic_get_pci_slot(pci)) {
2463 aic_get_pci_slot(pci));
2474 aic_dev_softc_t pci;
2476 pci = ahc->dev_softc;
2477 switch (aic_get_pci_slot(pci)) {
2493 aic_get_pci_slot(pci));