Lines Matching refs:pci
257 ahd_find_pci_device(ahd_dev_softc_t pci)
267 vendor = ahd_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2);
268 device = ahd_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2);
269 subvendor = ahd_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2);
270 subdevice = ahd_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2);
947 ahd_dev_softc_t pci;
950 pci = ahd->dev_softc;
951 rev = ahd_pci_read_config(pci, PCIR_REVID, /*bytes*/1);
955 ahd_pci_write_config(pci, PCIR_COMMAND, 0, /*bytes*/2);
958 ahd->channel = ahd_get_pci_function(pci) + 'A';
1015 devconfig1 = ahd_pci_read_config(pci, DEVCONFIG1, /*bytes*/1);
1016 ahd_pci_write_config(pci, DEVCONFIG1,
1018 devconfig1 = ahd_pci_read_config(pci, DEVCONFIG1, /*bytes*/1);