• Home
  • Raw
  • Download

Lines Matching refs:pci

671 ahc_find_pci_device(ahc_dev_softc_t pci)  in ahc_find_pci_device()  argument
681 vendor = ahc_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2); in ahc_find_pci_device()
682 device = ahc_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); in ahc_find_pci_device()
683 subvendor = ahc_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2); in ahc_find_pci_device()
684 subdevice = ahc_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); in ahc_find_pci_device()
694 if (ahc_get_pci_function(pci) > 0 in ahc_find_pci_device()
2055 ahc_dev_softc_t pci; in ahc_aic785X_setup() local
2058 pci = ahc->dev_softc; in ahc_aic785X_setup()
2063 rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic785X_setup()
2073 ahc_dev_softc_t pci; in ahc_aic7860_setup() local
2076 pci = ahc->dev_softc; in ahc_aic7860_setup()
2081 rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7860_setup()
2178 ahc_dev_softc_t pci; in ahc_aic7880_setup() local
2181 pci = ahc->dev_softc; in ahc_aic7880_setup()
2186 rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7880_setup()
2250 ahc_dev_softc_t pci; in ahc_aic7890_setup() local
2253 pci = ahc->dev_softc; in ahc_aic7890_setup()
2258 rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7890_setup()
2281 ahc_dev_softc_t pci; in ahc_aic7895_setup() local
2284 pci = ahc->dev_softc; in ahc_aic7895_setup()
2285 ahc->channel = ahc_get_pci_function(pci) == 1 ? 'B' : 'A'; in ahc_aic7895_setup()
2289 rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); in ahc_aic7895_setup()
2305 command = ahc_pci_read_config(pci, PCIR_COMMAND, /*bytes*/1); in ahc_aic7895_setup()
2307 ahc_pci_write_config(pci, PCIR_COMMAND, command, /*bytes*/1); in ahc_aic7895_setup()
2324 ahc_pci_write_config(pci, CSIZE_LATTIME, 0, /*bytes*/1); in ahc_aic7895_setup()
2325 devconfig = ahc_pci_read_config(pci, DEVCONFIG, /*bytes*/1); in ahc_aic7895_setup()
2327 ahc_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1); in ahc_aic7895_setup()
2347 ahc_dev_softc_t pci; in ahc_aic7896_setup() local
2349 pci = ahc->dev_softc; in ahc_aic7896_setup()
2350 ahc->channel = ahc_get_pci_function(pci) == 1 ? 'B' : 'A'; in ahc_aic7896_setup()
2362 ahc_dev_softc_t pci; in ahc_aic7899_setup() local
2364 pci = ahc->dev_softc; in ahc_aic7899_setup()
2365 ahc->channel = ahc_get_pci_function(pci) == 1 ? 'B' : 'A'; in ahc_aic7899_setup()
2396 ahc_dev_softc_t pci; in ahc_aha394XX_setup() local
2398 pci = ahc->dev_softc; in ahc_aha394XX_setup()
2399 switch (ahc_get_pci_slot(pci)) { in ahc_aha394XX_setup()
2409 ahc_get_pci_slot(pci)); in ahc_aha394XX_setup()
2418 ahc_dev_softc_t pci; in ahc_aha398XX_setup() local
2420 pci = ahc->dev_softc; in ahc_aha398XX_setup()
2421 switch (ahc_get_pci_slot(pci)) { in ahc_aha398XX_setup()
2434 ahc_get_pci_slot(pci)); in ahc_aha398XX_setup()
2445 ahc_dev_softc_t pci; in ahc_aha494XX_setup() local
2447 pci = ahc->dev_softc; in ahc_aha494XX_setup()
2448 switch (ahc_get_pci_slot(pci)) { in ahc_aha494XX_setup()
2464 ahc_get_pci_slot(pci)); in ahc_aha494XX_setup()