/freebsd-11-stable/sys/dev/hptrr/ |
H A D | hptrr_os_bsd.c | 57 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); 62 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); 67 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); 72 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); 77 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); 82 pci_write_config(((PHBA)osext)->pcidev, offset, value, 4); 96 if (pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4) & 1) 101 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 115 bus_release_resource(hba->pcidev, hba->pcibar[index].type,
|
H A D | os_bsd.h | 136 device_t pcidev; member in struct:_hba
|
H A D | hptrr_osm_bsd.c | 102 hba->pcidev = dev; 369 bus_teardown_intr(hba->pcidev, hba->irq_res, hba->irq_handle); 1096 if ((hba->irq_res = bus_alloc_resource_any(hba->pcidev, 1103 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_TYPE_CAM | INTR_MPSAFE,
|
/freebsd-11-stable/sys/dev/hpt27xx/ |
H A D | hpt27xx_os_bsd.c | 57 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); 62 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); 67 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); 72 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); 77 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); 82 pci_write_config(((PHBA)osext)->pcidev, offset, value, 4); 119 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); 123 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 128 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 143 bus_release_resource(hba->pcidev, hb [all...] |
H A D | os_bsd.h | 133 device_t pcidev; member in struct:_hba
|
H A D | hpt27xx_osm_bsd.c | 95 hba->pcidev = dev; 369 bus_teardown_intr(hba->pcidev, hba->irq_res, hba->irq_handle); 1263 if ((hba->irq_res = bus_alloc_resource_any(hba->pcidev, 1270 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_TYPE_CAM | INTR_MPSAFE, 1272 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_TYPE_CAM,
|
/freebsd-11-stable/sys/dev/hptnr/ |
H A D | hptnr_os_bsd.c | 56 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); 61 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); 66 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); 71 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); 76 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); 81 pci_write_config(((PHBA)osext)->pcidev, offset, value, 4); 105 base = pci_read_config(hba->pcidev, hba->pcibar[index].rid, 4); 109 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 114 hba->pcibar[index].res = bus_alloc_resource_any(hba->pcidev, 129 bus_release_resource(hba->pcidev, hb [all...] |
H A D | os_bsd.h | 135 device_t pcidev; member in struct:_hba
|
H A D | hptnr_osm_bsd.c | 96 hba->pcidev = dev; 363 bus_teardown_intr(hba->pcidev, hba->irq_res, hba->irq_handle); 1448 if ((hba->irq_res = bus_alloc_resource_any(hba->pcidev, 1455 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_TYPE_CAM | INTR_MPSAFE,
|
/freebsd-11-stable/sys/dev/pci/ |
H A D | pci_user.c | 503 device_t pcidev; local 932 pcidev = pci_find_dbsf(io->pi_sel.pc_domain, 935 if (pcidev) { 941 pci_write_config(pcidev, 948 pci_read_config(pcidev, 954 pci_read_config(pcidev, 981 pcidev = pci_find_dbsf(bio->pbi_sel.pc_domain, 984 if (pcidev == NULL) { 988 pm = pci_find_bar(pcidev, bio->pbi_reg); 995 bio->pbi_enabled = pci_bar_enabled(pcidev, p [all...] |
/freebsd-11-stable/sys/dev/hptiop/ |
H A D | hptiop.c | 620 device_printf(hba->pcidev, "wrong callback type\n"); 724 device_printf(hba->pcidev, "wrong callback type\n"); 1096 device_printf(hba->pcidev, "request size beyond max value"); 1230 device_printf(hba->pcidev, "request size beyond max value"); 1312 device_printf(hba->pcidev, "request size beyond max value"); 1420 hba->bar0_res = bus_alloc_resource_any(hba->pcidev, 1424 device_printf(hba->pcidev, 1434 bus_release_resource(hba->pcidev, SYS_RES_MEMORY, 1436 device_printf(hba->pcidev, "alloc mem res failed\n"); 1446 hba->bar0_res = bus_alloc_resource_any(hba->pcidev, [all...] |
H A D | hptiop.h | 378 device_t pcidev; member in struct:hpt_iop_hba
|
/freebsd-11-stable/sys/dev/ismt/ |
H A D | ismt.c | 150 device_t pcidev; member in struct:ismt_softc 186 ISMT_DEBUG(sc->pcidev, "%s MSTS=0x%x\n", __func__, val); 277 ISMT_DEBUG(sc->pcidev, "%s timeout\n", __func__); 281 ISMT_DEBUG(sc->pcidev, "%s status=0x%x\n", __func__, desc->status); 591 sc->pcidev = dev;
|
/freebsd-11-stable/sys/dev/siba/ |
H A D | siba_core.c | 2810 struct siba_dev_softc *gpiodev, *pcidev = NULL; local 2812 pcidev = siba->siba_pci.spc_dev; 2813 gpiodev = siba->siba_cc.scc_dev ? siba->siba_cc.scc_dev : pcidev; 2824 struct siba_dev_softc *gpiodev, *pcidev = NULL; local 2826 pcidev = siba->siba_pci.spc_dev; 2827 gpiodev = siba->siba_cc.scc_dev ? siba->siba_cc.scc_dev : pcidev;
|