Searched refs:pci_dip (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_sc.c48 dev_info_t *dip = pci_p->pci_dip;
121 DEBUG0(DBG_DETACH, pci_p->pci_dip, "sc_destroy:\n");
143 dip = sc_p->sc_pci_p->pci_dip;
H A Dpci_fm.c182 (void) pci_pbm_err_handler(pci_p->pci_dip, &derr,
226 int err = pci_pbm_err_handler(pci_p->pci_dip, derr,
288 ddi_fm_init(pci_p->pci_dip, &pci_p->pci_fm_cap,
306 ddi_fm_handler_register(pci_p->pci_dip, pci_err_callback,
317 ddi_fm_handler_unregister(pci_p->pci_dip);
318 ddi_fm_fini(pci_p->pci_dip);
H A Dpci_pbm.c61 dev_info_t *dip = pci_p->pci_dip;
186 DEBUG0(DBG_DETACH, pci_p->pci_dip, "pbm_destroy:\n");
240 err = pci_pbm_err_handler(pci_p->pci_dip, &derr, (void *)pci_p,
250 err = pci_pbm_err_handler(pci_p->pci_dip, &derr, (void *)pci_p,
259 err = pci_pbm_err_handler(pci_p->pci_dip, &derr, (void *)pci_p,
267 ddi_driver_name(pci_p->pci_dip),
268 ddi_get_instance(pci_p->pci_dip));
H A Dpci_devctl.c104 DEBUG2(DBG_OPEN, pci_p->pci_dip, "devp=%x: flags=%x\n", devp, flags);
110 DEBUG0(DBG_OPEN, pci_p->pci_dip, "busy\n");
117 DEBUG0(DBG_OPEN, pci_p->pci_dip, "busy\n");
151 DEBUG2(DBG_CLOSE, pci_p->pci_dip, "dev=%x: flags=%x\n", dev, flags);
246 dip = pci_p->pci_dip;
H A Dpci_iommu.c52 dev_info_t *dip = pci_p->pci_dip;
175 dev_info_t *dip = pci_p->pci_dip;
230 dev_info_t *dip = iommu_p->iommu_pci_p->pci_dip;
271 dev_info_t *dip = iommu_p->iommu_pci_p->pci_dip;
385 dev_info_t *dip = iommu_p->iommu_pci_p->pci_dip;
417 ddi_driver_name(pci_p->pci_dip),
418 ddi_get_instance(pci_p->pci_dip));
481 dev_info_t *dip = iommu_p->iommu_pci_p->pci_dip;
H A Dpci_intr.c147 dev_info_t *pci_dip = NULL; local
156 DEBUG4(DBG_A_INTX, pci_p->pci_dip,
170 if (!pci_dip)
171 pci_dip = cdip;
179 DEBUG0(DBG_A_INTX, pci_p->pci_dip,
195 DEBUG0(DBG_A_INTX, pci_p->pci_dip,
206 if (pci_config_setup(pci_dip, hdl_p) != DDI_SUCCESS) {
257 cmn_err(CE_WARN, err_fmt_str, NAMEINST(pci_p->pci_dip), ino_p->ino_ino);
313 DEBUG3(DBG_INTR, pci_p->pci_dip,
421 (void) ddi_pathname(pci_p->pci_dip, ih_buspat
[all...]
H A Dpci_fdvma.c56 dev_info_t *dip = pci_p->pci_dip;
137 DEBUG5(DBG_FAST_DVMA, pci_p->pci_dip,
149 pci_dma_sync(pci_p->pci_dip, mp->dmai_rdip, h,
170 DEBUG5(DBG_FAST_DVMA, pci_p->pci_dip,
173 pci_dma_sync(pci_p->pci_dip, mp->dmai_rdip, h, IOMMU_PTOB(index),
H A Dpci_ecc.c64 dev_info_t *dip = pci_p->pci_dip;
128 DEBUG0(DBG_DETACH, pci_p->pci_dip, "ecc_destroy:\n");
159 dev_info_t *dip = pci_p->pci_dip;
390 dip = pci_p->pci_dip;
460 ecc_ereport_post(pci_p->pci_dip,
509 ecc_ereport_post(pci_p->pci_dip,
582 ecc_ereport_post(pci_p->pci_dip, ecc_err);
620 ecc_ereport_post(pci_p->pci_dip, ecc_err);
H A Dpci_util.c114 pci_p->pci_numproxy = pci_get_numproxy(pci_p->pci_dip);
172 DEBUG0(DBG_MAP | DBG_CONT, pci_p->pci_dip,
249 DEBUG4(DBG_MAP | DBG_CONT, pci_p->pci_dip,
366 DEBUG2(DBG_CTLOPS, pci_p->pci_dip,
540 DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: header_type=%x\n",
555 DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: command-preserve=%x\n",
562 DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: command=%x\n",
609 DEBUG2(DBG_INIT_CLD, pci_p->pci_dip, "%s: min_gnt=%x\n",
H A Dpci_ib.c54 dev_info_t *dip = pci_p->pci_dip;
120 dev_info_t *dip = pci_p->pci_dip;
163 DEBUG2(DBG_IB, pci_p->pci_dip,
707 ddi_driver_name(pci_p->pci_dip),
708 ddi_get_instance(pci_p->pci_dip),
777 ddi_driver_name(pci_p->pci_dip),
778 ddi_get_instance(pci_p->pci_dip),
809 DEBUG2(DBG_R_INTX, ino_p->ino_ib_p->ib_pci_p->pci_dip,
869 DEBUG0(DBG_IB, ib_p->ib_pci_p->pci_dip,
877 if ((mondo = pci_xlate_intr(pci_p->pci_dip, rdi
[all...]
H A Dpcisch.c254 dev_info_t *dip = pci_p->pci_dip;
320 dev_info_t *dip = pci_p->pci_dip;
716 dev_info_t *dip = pbm_p->pbm_pci_p->pci_dip;
1040 DEBUG3(DBG_DMA_MAP, iommu_p->iommu_pci_p->pci_dip,
1054 DEBUG1(DBG_DMA_MAP, iommu_p->iommu_pci_p->pci_dip,
1104 dev_info_t *dip = pci_p->pci_dip;
1191 dev_info_t *dip = pci_p->pci_dip;
1334 pci_p->pci_dip, "dvma-remap-supported");
1361 pci_p->pci_dip, "no-prom-cdma-sync");
1639 pci_dip, NUL
[all...]
H A Dpci_dma.c436 DEBUG3(DBG_DMA_ALLOCH, pci_p->pci_dip, "attrp=%p cntr_max=%x.%08x\n",
438 DEBUG4(DBG_DMA_ALLOCH, pci_p->pci_dip, "hi=%x.%08x lo=%x.%08x\n",
440 DEBUG4(DBG_DMA_ALLOCH, pci_p->pci_dip, "seg=%x.%08x align=%x.%08x\n",
447 DEBUG0(DBG_DMA_ALLOCH, pci_p->pci_dip, "bypass mode\n");
483 DEBUG4(DBG_DMA_ALLOCH, pci_p->pci_dip, "hi=%x.%08x, lo=%x.%08x\n",
552 dev_info_t *dip = pci_p->pci_dip;
654 dev_info_t *dip = pci_p->pci_dip;
702 dev_info_t *dip = pci_p->pci_dip;
772 DEBUG2(DBG_DMA_MAP, pci_p->pci_dip, "pci_dma_pfn: mp=%p pfn0=%x\n",
802 DEBUG3(DBG_DMA_MAP, pci_p->pci_dip,
[all...]
H A Dpci_tools.c515 dev_info_t *dip = pci_p->pci_dip;
562 dev_info_t *dip = pci_p->pci_dip;
626 dev_info_t *dip = pci_p->pci_dip;
729 dev_info_t *dip = pci_p->pci_dip;
813 dev_info_t *dip = pci_p->pci_dip;
837 dev_info_t *dip = pci_p->pci_dip;
H A Dpcipsy.c232 dev_info_t *dip = pci_p->pci_dip;
803 dev_info_t *dip = pci_p->pci_dip;
1103 DEBUG2(DBG_ATTACH, iommu_p->iommu_pci_p->pci_dip,
1106 DEBUG2(DBG_ATTACH|DBG_CONT, iommu_p->iommu_pci_p->pci_dip,
1109 DEBUG2(DBG_ATTACH|DBG_CONT, iommu_p->iommu_pci_p->pci_dip,
1197 dev_info_t *dip = pci_p->pci_dip;
1363 cdip = ddi_get_child(pci_p->pci_dip);
1470 dev_info_t *dip = pci_p->pci_dip;
2010 dev_mondo = pci_xlate_intr(pci_p->pci_dip, rdip, pci_p->pci_ib_p,
H A Dpci_counters.c163 dev_info_t *dip = pci_p->pci_dip;
H A Dpci.c263 *result = (void *)pci_p->pci_dip;
295 pci_p->pci_dip = dip;
1372 dip = pci_p->pci_dip;
H A Dpci_axq.c100 dev_info_t *dip = pci_p->pci_dip;
H A Dpci_reloc.c221 dev_info_t *dip = pci_p->pci_dip;
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.h41 dev_info_t *pci_dip; member in struct:pci_state
H A Dpci.c252 pcip->pci_dip = devi;
799 ret = pci_common_ioctl(pci_p->pci_dip, dev, cmd, arg, mode,
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_var.h134 dev_info_t *pci_dip; /* devinfo structure */ member in struct:pci
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c263 *result = (void *)pcip->pci_dip;
312 pcip->pci_dip = devi;
1006 rv = pcie_open(pci_p->pci_dip, devp, flags, otyp, credp);
1051 rv = pcie_close(pci_p->pci_dip, dev, flags, otyp, credp);
1077 ret = pci_common_ioctl(pci_p->pci_dip, dev, cmd, arg, mode,
1082 ret = pcie_ioctl(pci_p->pci_dip, dev, cmd, arg, mode, credp,
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c248 dev_info_t *pci_dip; local
274 pci_dip = amd_iommu_pci_dip(rdip, path);
275 if (pci_dip == NULL) {
283 if (acpica_get_bdf(pci_dip, &bus, &device, &func) != DDI_SUCCESS) {
284 ndi_rele_devi(pci_dip);
288 (void *)pci_dip, path);
292 ndi_rele_devi(pci_dip);
301 (void *)pci_dip, path);
310 f, driver, instance, iommu->aiomt_idx, (void *)pci_dip,
H A Damd_iommu_impl.c1418 dev_info_t *pci_dip; local
1442 pci_dip = amd_iommu_pci_dip(rdip, path);
1443 if (pci_dip == NULL) {
1452 if (acpica_get_bdf(pci_dip, &bus, &device, &func) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dschpc.c3407 dev_info_t *pci_dip = NULL; local
3454 pci_dip = find_dev.dip;
3456 if (pci_dip == NULL) {
3467 caddr, (void *)pci_dip);
3469 (void) schpc_add_pci(pci_dip);
3474 ndi_rele_devi(pci_dip);

Completed in 206 milliseconds