Searched refs:pcidev (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.2-release/sys/dev/hptrr/
H A Dhptrr_os_bsd.c57 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 Dos_bsd.h136 device_t pcidev; member in struct:_hba
H A Dhptrr_osm_bsd.c102 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 Dhpt27xx_os_bsd.c57 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 Dos_bsd.h133 device_t pcidev; member in struct:_hba
H A Dhpt27xx_osm_bsd.c95 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 Dhptnr_os_bsd.c56 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 Dos_bsd.h135 device_t pcidev; member in struct:_hba
H A Dhptnr_osm_bsd.c96 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 Dmca.c312 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 Dpci_user.c495 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 Dhptiop.c620 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 Dhptiop.h378 device_t pcidev; member in struct:hpt_iop_hba
/freebsd-10.2-release/sys/dev/siba/
H A Dsiba_core.c2528 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 Dxlp_pci.c130 struct pci_devinfo pcidev; member in struct:xlp_devinfo

Completed in 242 milliseconds