Lines Matching refs:dip
79 drm_supp_register(dev_info_t *dip, drm_device_t *dp)
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, NULL);
544 regno = drm_get_pci_index_reg(dp->dip,
557 ret = devmap_devmem_setup(dhp, dp->dip, cb,
577 ret = devmap_umem_setup(dhp, dp->dip, NULL,
607 if ((ret = devmap_umem_setup(dhp, dp->dip,
634 ret = devmap_umem_setup(dhp, dp->dip,
766 drm_supp_alloc_drv_entry(dev_info_t *dip)
777 if (list->disl_state.mis_dip == dip) {
780 ddi_driver_name(dip), ddi_get_instance(dip));
787 /* "dip" is not registered, create new one and add to list */
791 entry->disl_state.mis_dip = dip;
804 drm_supp_free_drv_entry(dev_info_t *dip)
815 if (list->disl_state.mis_dip == dip) {