/freebsd-10.2-release/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(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(hba->pcidev, 1103 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_TYPE_CAM | INTR_MPSAFE,
|
/freebsd-10.2-release/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(hba->pcidev, 128 hba->pcibar[index].res = bus_alloc_resource(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(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-10.2-release/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(hba->pcidev, 114 hba->pcibar[index].res = bus_alloc_resource(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(hba->pcidev, 1455 if (bus_setup_intr(hba->pcidev, hba->irq_res, INTR_TYPE_CAM | INTR_MPSAFE,
|
/freebsd-10.2-release/sbin/mca/ |
H A D | mca.c | 312 show_pci_dev(struct mca_pcidev_record *pcidev) argument 316 if (pcidev->pcidev_flags & MCA_PCIDEV_FLAGS_STATUS) 318 (long long)pcidev->pcidev_status); 319 if (pcidev->pcidev_flags & MCA_PCIDEV_FLAGS_INFO) { 321 pcidev->pcidev_info.info_vendor); 323 pcidev->pcidev_info.info_device); 325 MCA_PCIDEV_INFO_CLASS(pcidev->pcidev_info.info_ccfn)); 327 MCA_PCIDEV_INFO_FUNCTION(pcidev->pcidev_info.info_ccfn)); 328 show_value(6, "slot", "0x%02x", pcidev->pcidev_info.info_slot); 329 show_value(6, "bus", "0x%04x", pcidev [all...] |
/freebsd-10.2-release/sys/dev/pci/ |
H A D | pci_user.c | 495 device_t pcidev, brdev; local 921 pcidev = pci_find_dbsf(io->pi_sel.pc_domain, 924 if (pcidev) { 926 device_get_parent(pcidev)); 982 pcidev = pci_find_dbsf(bio->pbi_sel.pc_domain, 985 if (pcidev == NULL) { 989 pm = pci_find_bar(pcidev, bio->pbi_reg); 996 bio->pbi_enabled = pci_bar_enabled(pcidev, pm); 1002 pcidev = pci_find_dbsf(io->pi_sel.pc_domain, io->pi_sel.pc_bus, 1004 if (pcidev ! [all...] |
/freebsd-10.2-release/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-10.2-release/sys/dev/siba/ |
H A D | siba_core.c | 2528 struct siba_dev_softc *gpiodev, *pcidev = NULL; local 2530 pcidev = siba->siba_pci.spc_dev; 2531 gpiodev = siba->siba_cc.scc_dev ? siba->siba_cc.scc_dev : pcidev; 2542 struct siba_dev_softc *gpiodev, *pcidev = NULL; local 2544 pcidev = siba->siba_pci.spc_dev; 2545 gpiodev = siba->siba_cc.scc_dev ? siba->siba_cc.scc_dev : pcidev;
|
/freebsd-10.2-release/sys/mips/nlm/ |
H A D | xlp_pci.c | 130 struct pci_devinfo pcidev; member in struct:xlp_devinfo
|