Lines Matching refs:pci
257 ahd_find_pci_device(ahd_dev_softc_t pci) in ahd_find_pci_device() argument
267 vendor = ahd_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2); in ahd_find_pci_device()
268 device = ahd_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahd_find_pci_device()
269 subvendor = ahd_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2); in ahd_find_pci_device()
270 subdevice = ahd_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); in ahd_find_pci_device()
939 ahd_dev_softc_t pci; in ahd_aic790X_setup() local
942 pci = ahd->dev_softc; in ahd_aic790X_setup()
943 rev = ahd_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahd_aic790X_setup()
947 ahd_pci_write_config(pci, PCIR_COMMAND, 0, /*bytes*/2); in ahd_aic790X_setup()
950 ahd->channel = ahd_get_pci_function(pci) + 'A'; in ahd_aic790X_setup()
1007 devconfig1 = ahd_pci_read_config(pci, DEVCONFIG1, /*bytes*/1); in ahd_aic790X_setup()
1008 ahd_pci_write_config(pci, DEVCONFIG1, in ahd_aic790X_setup()
1010 devconfig1 = ahd_pci_read_config(pci, DEVCONFIG1, /*bytes*/1); in ahd_aic790X_setup()