Searched refs:dip (Results 1 - 17 of 17) sorted by relevance

/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_sun_workqueue.h48 extern struct workqueue_struct *create_workqueue(dev_info_t *dip, char *name);
/solaris-x11-s11/open-src/kernel/efb/src/
H A Dradeon_drv.c203 radeon_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument
215 unit = ddi_get_instance(dip);
223 statep->dip = dip;
229 handle = drm_supp_register(dip, statep);
271 radeon_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument
279 unit = ddi_get_instance(dip);
298 radeon_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
308 if (statep == NULL || statep->dip == NULL) {
311 *result = (void *) statep->dip;
[all...]
H A Ddrm_irq.c81 dev_info_t *dip = dev->dip; local
83 if (dip == NULL) {
84 DRM_ERROR("drm_install_irq_handle: cannot get vgatext's dip");
88 if (ddi_intr_hilevel(dip, 0) != 0) {
94 if (ddi_get_iblock_cookie(dip, (uint_t)0,
103 if (ddi_add_intr(dip, 0, &dev->intr_block,
158 ASSERT(dev->dip);
159 ddi_remove_intr(dev->dip, 0, dev->intr_block);
H A Ddrm_pci.c59 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, softstate->dip,
88 statep->dip, DDI_PROP_DONTPASS, "interrupts", -1);
103 statep->dip, DDI_PROP_DONTPASS, "vendor-id", 0);
114 statep->dip, DDI_PROP_DONTPASS, "device-id", 0);
230 if (ret = ddi_dma_alloc_handle(dev->dip, &hw_dma_attr,
294 DDI_DEV_T_ANY, dev->dip, DDI_PROP_DONTPASS,
H A Ddrm_sunmod.c79 drm_supp_register(dev_info_t *dip, drm_device_t *dp) argument
83 int instance = ddi_get_instance(dip);
88 ASSERT(dip != NULL);
90 entry = drm_supp_alloc_drv_entry(dip);
100 error = ddi_create_minor_node(dip, buf, S_IFCHR,
109 error = pci_config_setup(dip, &pci_cfg_handle);
117 mstate->mis_major = ddi_driver_major(dip);
118 mstate->mis_dip = dip;
130 drm_supp_free_drv_entry(dip);
131 ddi_remove_minor_node(dip, NUL
766 drm_supp_alloc_drv_entry(dev_info_t *dip) argument
804 drm_supp_free_drv_entry(dev_info_t *dip) argument
[all...]
H A Ddrm_kstat.c49 instance = ddi_get_instance(sc->dip);
H A Defb_drv.c83 efb_priv->dip = statep->dip;
85 if (pci_config_setup(statep->dip, &efb_priv->pci_handle)
107 if (ddi_prop_update_int(DDI_DEV_T_NONE, statep->dip,
250 if (ddi_regs_map_setup(statep->dip, 3, (caddr_t *)&efb_priv->registers,
285 if (ddi_getlongprop(DDI_DEV_T_ANY, statep->dip, DDI_PROP_DONTPASS,
293 if (ddi_getlongprop(DDI_DEV_T_ANY, statep->dip, DDI_PROP_DONTPASS,
975 dev_info_t *devi = efb_priv->dip;
H A Ddrm_memory.c194 ret = do_ioremap(softstate->dip, &iomap);
H A Defb.h82 dev_info_t *dip; member in struct:efb_private
H A Ddrm_agpsupport.c386 retval = ldi_ident_from_dip(dev->dip, &agp->agpgart_li);
H A DdrmP.h595 dev_info_t *dip; member in struct:drm_device
H A Defb_vis.c79 if (ddi_regs_map_setup(statep->dip, 1,
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_sun_workqueue.c58 create_workqueue(dev_info_t *dip, char *name) argument
63 wq->taskq = ddi_taskq_create(dip, name, 1, TASKQ_DEFAULTPRI, 0);
H A Ddrm_sun_pci.c57 dev_info_t *dip = dev->devinfo; local
68 ret = pci_config_setup(dip, &pdev->pci_cfg_acc_handle);
78 ret = ddi_prop_lookup_int_array(DDI_DEV_T_ANY, dip,
90 ret = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
99 if (ddi_intr_hilevel(dip, 0) != 0) {
104 if (ddi_get_iblock_cookie(dip, (uint_t)0,
111 ret = ddi_getlongprop(DDI_DEV_T_ANY, dip,
H A Ddrm_memory.c99 drm_get_pci_index_reg(dev_info_t *dip, uint_t paddr, uint_t size, off_t *off) argument
111 if (ddi_dev_nregs(dip, &nregs) == DDI_FAILURE) {
116 if (ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
153 __ioremap(dev_info_t *dip, drm_device_iomap_t *iomap) argument
160 dip, iomap->paddr, iomap->size, &offset);
167 ret = ddi_regs_map_setup(dip, regnum,
H A Ddrm_drv.c229 dev_info_t *dip = dev->devinfo; local
259 dev->drm_fm_cap = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
553 dev_info_t *dip,
558 pci_ereport_post(dip, err, NULL);
566 dev_info_t *dip = dev->devinfo; local
569 ddi_fm_init(dip, &dev->drm_fm_cap, NULL);
576 pci_ereport_setup(dip);
583 ddi_fm_handler_register(dip,
592 dev_info_t *dip = dev->devinfo; local
596 pci_ereport_teardown(dip);
552 drm_fm_error_cb( dev_info_t *dip, ddi_fm_error_t *err, const void *impl) argument
618 dev_info_t *dip = dev->devinfo; local
[all...]
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_drv.c933 i915_attach(dev_info_t *dip, ddi_attach_cmd_t cmd) argument
938 item = ddi_get_instance(dip);
953 dev->devinfo = dip;
979 i915_detach(dev_info_t *dip, ddi_detach_cmd_t cmd) argument
984 item = ddi_get_instance(dip);
1007 i915_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
1031 i915_quiesce(dev_info_t *dip) argument
1038 dev = ddi_get_soft_state(i915_statep, ddi_get_instance(dip));

Completed in 54 milliseconds