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

1234567

/illumos-gate/usr/src/uts/common/sys/
H A Dpci_intr_lib.h39 extern int pci_msi_get_cap(dev_info_t *rdip, int type, int *flagsp);
40 extern int pci_msi_configure(dev_info_t *rdip, int type, int count,
42 extern int pci_msi_unconfigure(dev_info_t *rdip, int type, int inum);
43 extern int pci_is_msi_enabled(dev_info_t *rdip, int type);
44 extern int pci_msi_enable_mode(dev_info_t *rdip, int type);
45 extern int pci_msi_disable_mode(dev_info_t *rdip, int type);
46 extern int pci_msi_set_mask(dev_info_t *rdip, int type, int inum);
47 extern int pci_msi_clr_mask(dev_info_t *rdip, int type, int inum);
48 extern int pci_msi_get_pending(dev_info_t *rdip, int type, int inum,
50 extern int pci_msi_get_nintrs(dev_info_t *rdip, in
[all...]
H A Ddevops.h179 int (*bus_map)(dev_info_t *dip, dev_info_t *rdip,
188 ddi_intrspec_t (*bus_get_intrspec)(dev_info_t *dip, dev_info_t *rdip,
191 dev_info_t *rdip, ddi_intrspec_t intrspec,
197 dev_info_t *rdip, ddi_intrspec_t intrspec,
200 int (*bus_map_fault)(dev_info_t *dip, dev_info_t *rdip,
204 int (*bus_dma_map)(dev_info_t *dip, dev_info_t *rdip,
207 int (*bus_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip,
210 int (*bus_dma_freehdl)(dev_info_t *dip, dev_info_t *rdip,
212 int (*bus_dma_bindhdl)(dev_info_t *dip, dev_info_t *rdip,
215 int (*bus_dma_unbindhdl)(dev_info_t *dip, dev_info_t *rdip,
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_intr.h33 extern dev_info_t *get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip);
34 extern int pci_add_intr(dev_info_t *dip, dev_info_t *rdip,
36 extern int pci_remove_intr(dev_info_t *dip, dev_info_t *rdip,
H A Dpci_fdvma.h38 extern int pci_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p,
H A Dpci_var.h216 pci_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
219 pci_dma_setup(dev_info_t *dip, dev_info_t *rdip,
222 pci_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp,
225 pci_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
229 pci_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip,
232 pci_dma_flush(dev_info_t *dip, dev_info_t *rdip,
236 pci_dma_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle,
240 pci_ctlops(dev_info_t *dip, dev_info_t *rdip,
243 pci_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op,
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_intr.h33 extern dev_info_t *px_get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip);
35 extern int px_intx_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op,
37 extern int px_msix_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t op,
40 extern int px_add_intx_intr(dev_info_t *dip, dev_info_t *rdip,
42 extern int px_rem_intx_intr(dev_info_t *dip, dev_info_t *rdip,
45 extern int px_add_msiq_intr(dev_info_t *dip, dev_info_t *rdip,
48 extern int px_rem_msiq_intr(dev_info_t *dip, dev_info_t *rdip,
H A Dpx.c727 px_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
736 DBG(DBG_MAP, dip, "rdip=%s%d:",
737 ddi_driver_name(rdip), ddi_get_instance(rdip));
751 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS,
796 if (rval = px_reloc_reg(dip, rdip, px_p, rp))
817 if (DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip)))
818 px_fm_acc_setup(mp, rdip, rp);
839 px_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, argument
847 DBG(DBG_DMA_MAP, dip, "mapping - rdip
905 px_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
944 px_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
962 px_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
1038 px_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
1089 px_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
1189 px_dma_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument
1252 px_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument
1382 px_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
[all...]
H A Dpx_fdvma.h36 extern int px_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, px_t *px_p,
H A Dpx_intr.c465 px_get_my_childs_dip(dev_info_t *dip, dev_info_t *rdip) argument
467 dev_info_t *cdip = rdip;
477 px_intx_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, argument
483 DBG(DBG_INTROPS, dip, "px_intx_ops: dip=%x rdip=%x intr_op=%x "
484 "handle=%p\n", dip, rdip, intr_op, hdlp);
488 ret = pci_intx_get_cap(rdip, (int *)result);
501 hdlp->ih_pri : pci_class_to_pil(rdip);
506 ret = px_add_intx_intr(dip, rdip, hdlp);
509 ret = px_rem_intx_intr(dip, rdip, hdlp);
519 ret = px_ib_update_intr_state(px_p, rdip, hdl
549 px_msix_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
941 px_add_intx_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
1096 px_rem_intx_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
1154 px_add_msiq_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, msiq_rec_type_t rec_type, msgcode_t msg_code, cpuid_t cpu_id, msiqid_t *msiq_id_p) argument
1300 px_rem_msiq_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, msiq_rec_type_t rec_type, msgcode_t msg_code, msiqid_t msiq_id) argument
[all...]
H A Dpx_var.h156 px_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
159 px_dma_setup(dev_info_t *dip, dev_info_t *rdip,
162 px_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp,
165 px_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
169 px_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip,
172 px_dma_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle,
176 px_ctlops(dev_info_t *dip, dev_info_t *rdip,
179 px_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op,
/illumos-gate/usr/src/uts/intel/sys/
H A Diommulib.h59 int (*ilops_probe)(iommulib_handle_t handle, dev_info_t *rdip);
62 dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr,
66 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
69 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
74 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
77 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off,
81 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win,
86 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle,
90 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle,
133 int (*nops_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip,
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci.c481 pci_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
490 DEBUG2(DBG_MAP, dip, "rdip=%s%d:",
491 ddi_driver_name(rdip), ddi_get_instance(rdip));
505 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS,
522 if (rval = pci_reloc_reg(dip, rdip, pci_p, rp))
544 DDI_FM_ACC_ERR_CAP(ddi_fm_capable(rdip)) &&
547 pci_fm_acc_setup(mp, rdip);
569 pci_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, argument
577 DEBUG3(DBG_DMA_MAP, dip, "mapping - rdip
635 pci_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attrp, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
674 pci_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
692 pci_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
767 pci_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
819 pci_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
913 pci_dma_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, enum ddi_dma_ctlops cmd, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument
1207 pci_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument
1281 pci_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c155 pci_msi_get_cap(dev_info_t *rdip, int type, int *flagsp) argument
160 DDI_INTR_NEXDBG((CE_CONT, "pci_msi_get_cap: rdip = 0x%p\n",
161 (void *)rdip));
165 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl,
200 pci_msi_configure(dev_info_t *rdip, int type, int count, int inum, argument
206 DDI_INTR_NEXDBG((CE_CONT, "pci_msi_configure: rdip = 0x%p type 0x%x "
208 (void *)rdip, type, count, inum, addr, data));
210 if (pci_get_msi_ctrl(rdip, type, &msi_ctrl,
252 ddi_intr_msix_t *msix_p = i_ddi_get_msix(rdip);
296 pci_msi_unconfigure(dev_info_t *rdip, in argument
362 pci_is_msi_enabled(dev_info_t *rdip, int type) argument
397 pci_msi_enable_mode(dev_info_t *rdip, int type) argument
445 pci_msi_disable_mode(dev_info_t *rdip, int type) argument
488 pci_msi_set_mask(dev_info_t *rdip, int type, int inum) argument
552 pci_msi_clr_mask(dev_info_t *rdip, int type, int inum) argument
614 pci_msi_get_pending(dev_info_t *rdip, int type, int inum, int *pendingp) argument
673 pci_msi_get_nintrs(dev_info_t *rdip, int type, int *nintrs) argument
710 pci_msi_set_nintrs(dev_info_t *rdip, int type, int navail) argument
747 pci_msi_get_supported_type(dev_info_t *rdip, int *typesp) argument
783 pci_msix_init(dev_info_t *rdip) argument
961 pci_msix_dup(dev_info_t *rdip, int org_inum, int dup_inum) argument
1172 pci_intx_get_ispec(dev_info_t *dip, dev_info_t *rdip, int inum) argument
1236 pci_class_to_val(dev_info_t *rdip, char *property_name, pci_class_val_t *rec_p, int nrec, uint32_t default_val) argument
1276 pci_class_to_pil(dev_info_t *rdip) argument
1298 pci_class_to_intr_weight(dev_info_t *rdip) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c75 dev_info_t *rdip, immu_flags_t immu_flags);
76 static immu_devi_t *create_immu_devi(dev_info_t *rdip, int bus,
80 uint64_t nvpages, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip,
91 dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr,
94 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
96 dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req,
99 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
101 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len,
104 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win,
107 dev_info_t *rdip, ddi_dma_handle_
321 get_lpc_devinfo(immu_t *immu, dev_info_t *rdip, immu_flags_t immu_flags) argument
345 get_gfx_devinfo(dev_info_t *rdip) argument
692 create_immu_devi(dev_info_t *rdip, int bus, int dev, int func, immu_flags_t immu_flags) argument
773 immu_devi_domain(dev_info_t *rdip, dev_info_t **ddipp) argument
805 did_alloc(immu_t *immu, dev_info_t *rdip, dev_info_t *ddip, immu_flags_t immu_flags) argument
1019 create_xlate_arena(immu_t *immu, domain_t *domain, dev_info_t *rdip, immu_flags_t immu_flags) argument
1171 device_domain(dev_info_t *rdip, dev_info_t **ddipp, immu_flags_t immu_flags) argument
1312 domain_create(immu_t *immu, dev_info_t *ddip, dev_info_t *rdip, immu_flags_t immu_flags) argument
1629 immu_context_update(immu_t *immu, domain_t *domain, dev_info_t *ddip, dev_info_t *rdip, immu_flags_t immu_flags) argument
1743 PDTE_check(immu_t *immu, hw_pdte_t pdte, pgtable_t *next, paddr_t paddr, dev_info_t *rdip, immu_flags_t immu_flags) argument
1846 PTE_clear_all(immu_t *immu, domain_t *domain, xlate_t *xlate, uint64_t *dvma_ptr, uint64_t *npages_ptr, dev_info_t *rdip) argument
2011 PTE_set_one(immu_t *immu, hw_pdte_t *hwp, paddr_t paddr, dev_info_t *rdip, immu_flags_t immu_flags) argument
2094 PTE_set_all(immu_t *immu, domain_t *domain, xlate_t *xlate, uint64_t *dvma_ptr, uint64_t *nvpages_ptr, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip, immu_flags_t immu_flags) argument
2171 PDE_set_one(immu_t *immu, hw_pdte_t *hwp, pgtable_t *next, dev_info_t *rdip, immu_flags_t immu_flags) argument
2241 PDE_set_all(immu_t *immu, domain_t *domain, xlate_t *xlate, int nlevels, dev_info_t *rdip, immu_flags_t immu_flags) argument
2350 dvma_map(domain_t *domain, uint64_t sdvma, uint64_t snvpages, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip, immu_flags_t immu_flags) argument
2393 dvma_unmap(domain_t *domain, uint64_t sdvma, uint64_t snpages, dev_info_t *rdip) argument
2451 dvma_prealloc(dev_info_t *rdip, immu_hdl_priv_t *ihp, ddi_dma_attr_t *dma_attr) argument
2524 dvma_prefree(dev_info_t *rdip, immu_hdl_priv_t *ihp) argument
2550 immu_map_dvmaseg(dev_info_t *rdip, ddi_dma_handle_t handle, immu_hdl_priv_t *ihp, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dma_out) argument
2734 immu_unmap_dvmaseg(dev_info_t *rdip, ddi_dma_obj_t *dmao) argument
2873 immu_dvma_device_setup(dev_info_t *rdip, immu_flags_t immu_flags) argument
2957 immu_map_memrange(dev_info_t *rdip, memrng_t *mrng) argument
2985 immu_devi_get(dev_info_t *rdip) argument
3054 immu_allochdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep) argument
3089 immu_freehdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
3107 immu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
3128 immu_unbindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
3136 immu_sync(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cachefl) argument
3146 immu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
3157 immu_mapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument
3170 immu_unmapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument
[all...]
H A Disa.c151 isa_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
166 isa_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op,
498 isa_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
507 return (i_ddi_bus_map(dip, rdip, mp, offset, len, vaddrp));
518 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
554 isa_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *dma_attr, argument
558 return (ddi_dma_allochdl(dip, rdip, dma_attr, waitfp, arg, handlep));
562 isa_dma_mctl(dev_info_t *dip, dev_info_t *rdip, argument
572 return (i_dmae_prog(rdip, (struct ddi_dmae_req *)offp,
576 return (i_dmae_acquire(rdip, ar
686 isa_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, void *arg, void *result) argument
760 isa_get_ispec(dev_info_t *rdip, int inum) argument
773 isa_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
930 isa_alloc_intr_fixed(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, void *result) argument
982 isa_free_intr_fixed(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnex.c109 static int vnex_intr_ops(dev_info_t *dip, dev_info_t *rdip,
304 vnex_ctl(dev_info_t *dip, dev_info_t *rdip, argument
313 if (rdip == NULL)
316 ddi_driver_name(rdip), ddi_get_instance(rdip));
357 dev_info_t *child = rdip;
373 ctlop, ddi_get_name(rdip), ddi_get_instance(rdip));
380 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
385 vnex_get_pil(dev_info_t *rdip) argument
404 vnex_enable_intr(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
431 vnex_disable_intr(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
461 vnex_add_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
524 vnex_remove_intr(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
543 vnex_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
[all...]
/illumos-gate/usr/src/uts/common/io/pci-ide/
H A Dpci-ide.c87 static int pciide_bus_map(dev_info_t *dip, dev_info_t *rdip,
91 static int pciide_ddi_ctlops(dev_info_t *dip, dev_info_t *rdip,
95 static int pciide_get_pri(dev_info_t *dip, dev_info_t *rdip,
98 static int pciide_intr_ops(dev_info_t *dip, dev_info_t *rdip,
102 static struct intrspec *pciide_get_ispec(dev_info_t *dip, dev_info_t *rdip,
289 pciide_ddi_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, argument
323 if (strcmp("0", ddi_get_name_addr(rdip)) == 0)
400 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
541 pciide_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
551 if (strcmp("0", ddi_get_name_addr(rdip))
615 pciide_get_ispec(dev_info_t *dip, dev_info_t *rdip, int inumber) argument
655 pciide_get_pri(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, int *pri) argument
704 pciide_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
778 pciide_alloc_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, void *result) argument
831 pciide_free_intr(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/1394/
H A Dnx1394.c50 static int nx1394_dma_allochdl(dev_info_t *dip, dev_info_t *rdip,
54 static int nx1394_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op,
57 static int nx1394_get_event_cookie(dev_info_t *dip, dev_info_t *rdip,
60 static int nx1394_add_eventcall(dev_info_t *dip, dev_info_t *rdip,
66 static int nx1394_post_event(dev_info_t *dip, dev_info_t *rdip,
135 nx1394_bus_ctl(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, argument
144 dev_info_t *pdip = ddi_get_parent(rdip);
146 ddi_node_name(rdip), ddi_get_instance(rdip),
253 status = ddi_ctlops(dip, rdip, o
305 nx1394_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfnp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
341 nx1394_get_event_cookie(dev_info_t *dip, dev_info_t *rdip, char *name, ddi_eventcookie_t *event_cookiep) argument
374 nx1394_add_eventcall(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void (*callback)(), void *arg, ddi_callback_id_t *cb_id) argument
456 nx1394_post_event(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void *impl_data) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c57 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip,
61 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip,
65 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip,
75 rootnex_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, argument
85 if (((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
87 ((portid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
89 if (ddi_getprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPASS,
109 rdip, DDI_PROP_DONTPASS, "upa-interrupt-slave", 0) != 0 &&
110 ddi_get_parent(rdip) == dip) {
113 if ((r_upaid = ddi_prop_get_int(DDI_DEV_T_ANY, rdip,
157 rootnex_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
215 rootnex_get_intr_pri(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
[all...]
H A Dsbbc.c113 static int sbbc_busmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
115 static int sbbc_ctlops(dev_info_t *dip, dev_info_t *rdip,
118 static int sbbc_intr_ops(dev_info_t *dip, dev_info_t *rdip,
120 static int sbbc_add_intr_impl(dev_info_t *dip, dev_info_t *rdip,
122 static int sbbc_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip,
124 static int sbbc_update_intr_state(dev_info_t *dip, dev_info_t *rdip,
127 static int sbbc_apply_range(struct sbbcsoft *sbbc_p, dev_info_t *rdip,
512 sbbc_busmap(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
525 ddi_driver_name(rdip), mp->map_type, off, len);
557 if (ddi_getlongprop(DDI_DEV_T_ANY, rdip, DDI_PROP_DONTPAS
610 sbbc_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
668 sbbc_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
722 sbbc_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
770 sbbc_update_intr_state(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
819 sbbc_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument
887 sbbc_apply_range(struct sbbcsoft *sbbc_p, dev_info_t *rdip, sbbc_child_regspec_t *child_rp, pci_regspec_t *rp) argument
1260 sbbc_initchild(dev_info_t *dip, dev_info_t *rdip, dev_info_t *child) argument
1305 sbbc_uninitchild(dev_info_t *rdip, dev_info_t *child) argument
[all...]
H A Dupa64s.c54 upa64s_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
57 upa64s_ctlops(dev_info_t *dip, dev_info_t *rdip,
60 upa64_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op,
63 upa64s_add_intr_impl(dev_info_t *dip, dev_info_t *rdip,
66 upa64s_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip,
492 upa64s_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
506 DBG2(D_MAP, dip, "rdip=%s%d: no user level mappings yet!\n",
507 ddi_get_name(rdip), ddi_get_instance(rdip));
522 DBG3(D_MAP, dip, "rdip
576 upa64s_xlate_intr(dev_info_t *rdip, int32_t safariport, uint32_t *intr) argument
603 upa64s_add_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
667 upa64s_remove_intr_impl(dev_info_t *dip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
710 upa64_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op, ddi_intr_handle_impl_t *hdlp, void *result) argument
786 upa64s_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t op, void *arg, void *result) argument
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxpvd.c386 xpvd_get_ispec(dev_info_t *rdip, uint_t inumber) argument
392 if ((pdp = ddi_get_parent_data(rdip)) == NULL)
445 xpvd_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op, argument
453 "xpvd_intr_ops: pdip 0x%p, rdip 0x%p, op %x handle 0x%p\n",
454 (void *)pdip, (void *)rdip, intr_op, (void *)hdlp));
484 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum);
491 if (xpvd_get_priority(rdip, hdlp->ih_inum, &priority) !=
509 if ((*psm_intr_ops)(rdip, hdlp, PSM_INTR_OP_SET_PRI, result) ==
513 ispec = xpvd_get_ispec(rdip, (int)hdlp->ih_inum);
521 ispec = xpvd_get_ispec(rdip, (in
637 xpvd_enable_intr(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, int inum) argument
668 xpvd_disable_intr(dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, int inum) argument
688 xpvd_ctlops(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, void *arg, void *result) argument
974 xpvd_get_eventcookie(dev_info_t *dip, dev_info_t *rdip, char *eventname, ddi_eventcookie_t *cookie) argument
983 xpvd_add_eventcall(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void (*callback)(dev_info_t *dip, ddi_eventcookie_t cookie, void *arg, void *bus_impldata), void *arg, ddi_callback_id_t *cb_id) argument
1002 xpvd_post_event(dev_info_t *dip, dev_info_t *rdip, ddi_eventcookie_t cookie, void *bus_impldata) argument
[all...]
/illumos-gate/usr/src/uts/sparc/os/
H A Dddi_arch.c61 i_ddi_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp, argument
82 rp = i_ddi_rnumber_to_regspec(rdip, rnumber);
86 ddi_get_name(rdip));
128 ddi_get_name(dip), ddi_get_name(rdip));
131 if ((error = i_ddi_apply_range(dip, rdip, mp->map_obj.rp)) != 0)
145 i_ddi_map_fault(dev_info_t *dip, dev_info_t *rdip, argument
158 rdip, hat, seg, addr, dp, pfn, prot, lock));
202 i_ddi_apply_range(dev_info_t *dp, dev_info_t *rdip, struct regspec *rp) argument
228 cmn_err(CE_WARN, out_of_range, ddi_get_name(rdip));
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c547 iommulib_nex_open(dev_info_t *dip, dev_info_t *rdip) argument
550 int instance = ddi_get_instance(rdip);
551 const char *driver = ddi_driver_name(rdip);
555 ASSERT(DEVI(rdip)->devi_iommulib_handle == NULL);
559 DEVI(rdip)->devi_iommulib_handle = IOMMU_HANDLE_UNUSED;
571 if (unitp->ilu_ops->ilops_probe(unitp, rdip) == DDI_SUCCESS)
581 instance, (void *)rdip, ddi_pathname(rdip, buf));
584 DEVI(rdip)->devi_iommulib_handle = IOMMU_HANDLE_UNUSED;
591 DEVI(rdip)
601 iommulib_nex_close(dev_info_t *rdip) argument
641 iommulib_nexdma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *dma_handlep) argument
656 iommulib_nexdma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
673 iommulib_nexdma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
688 iommulib_nexdma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
702 iommulib_nexdma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cache_flags) argument
717 iommulib_nexdma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
732 iommulib_nexdma_mapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument
744 iommulib_nexdma_unmapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument
756 iommulib_iommu_dma_allochdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_handle_t *handlep) argument
768 iommulib_iommu_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
779 iommulib_iommu_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
791 iommulib_iommu_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
848 iommulib_iommu_dma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags) argument
859 iommulib_iommu_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
871 iommulib_iommu_dmahdl_setprivate(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, void *priv) argument
881 iommulib_iommu_dmahdl_getprivate(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_common.c190 pci_common_intr_ops(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_op_t intr_op, argument
215 "pci_common_intr_ops: pdip 0x%p, rdip 0x%p, op %x handle 0x%p\n",
216 (void *)pdip, (void *)rdip, intr_op, (void *)hdlp));
237 if (pci_config_setup(rdip, &handle) != DDI_SUCCESS)
266 if ((*psm_intr_ops)(rdip, &tmp_hdl, PSM_INTR_OP_CHECK_MSI,
271 "rdip: 0x%p supported types: 0x%x\n", (void *)rdip,
278 if (ndi_prop_update_int(DDI_DEV_T_NONE, rdip,
284 if (ndi_prop_update_int(DDI_DEV_T_NONE, rdip,
315 return (pci_alloc_intr_fixed(pdip, rdip, hdl
781 pci_alloc_intr_fixed(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, void *result) argument
840 pci_free_intr_fixed(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp) argument
920 pci_enable_intr(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, uint32_t inum) argument
960 pci_disable_intr(dev_info_t *pdip, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, uint32_t inum) argument
1475 pci_common_peekpoke(dev_info_t *dip, dev_info_t *rdip, ddi_ctl_enum_t ctlop, void *arg, void *result) argument
[all...]

Completed in 157 milliseconds

1234567