Searched refs:statep (Results 1 - 6 of 6) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Dradeon_drv.c205 drm_device_t *statep; local
221 statep = ddi_get_soft_state(radeon_statep, unit);
223 statep->dip = dip;
224 statep->driver = &radeon_driver;
229 handle = drm_supp_register(dip, statep);
234 statep->drm_handle = handle;
240 statep->drm_supported = DRM_UNSUPPORT;
241 if (drm_probe(statep, radeon_pciidlist) != DDI_SUCCESS) {
246 statep->drm_supported = DRM_SUPPORT;
249 if (drm_attach(statep) !
273 drm_device_t *statep; local
300 drm_device_t *statep; local
[all...]
H A Defb_drv.c67 efb_attach(drm_device_t *statep) argument
75 dev_priv = statep->dev_private;
83 efb_priv->dip = statep->dip;
85 if (pci_config_setup(statep->dip, &efb_priv->pci_handle)
89 efb_detach(statep);
93 if (efb_map_registers(statep) != DDI_SUCCESS) {
96 efb_detach(statep);
107 if (ddi_prop_update_int(DDI_DEV_T_NONE, statep->dip,
119 efb_detach(drm_device_t *statep) argument
124 dev_priv = (drm_radeon_private_t *)statep
135 efb_read_pci_config(drm_device_t *statep, void *pBuffer, int offset, int length) argument
225 efb_get_pci_config(drm_device_t *statep, dev_t dev, intptr_t arg, int mode) argument
242 efb_map_registers(drm_device_t *statep) argument
259 efb_unmap_registers(drm_device_t *statep) argument
274 efb_get_gfx_identifier(drm_device_t *statep, dev_t dev, intptr_t arg, int mode) argument
310 efb_set_video_mode(drm_device_t *statep, dev_t dev, intptr_t arg, int mode) argument
333 efb_get_video_mode(drm_device_t *statep, dev_t dev, intptr_t arg, int mode) argument
352 efb_get_edid_length(drm_device_t *statep, dev_t dev1, intptr_t arg, int mode) argument
405 efb_get_edid(drm_device_t *statep, dev_t dev1, intptr_t arg, int mode) argument
496 drm_device_t *statep; local
[all...]
H A Ddrm_pci.c81 pci_get_irq(drm_device_t *statep) argument
88 statep->dip, DDI_PROP_DONTPASS, "interrupts", -1);
91 irq = drm_supp_get_irq(statep->drm_handle);
98 pci_get_vendor(drm_device_t *statep) argument
103 statep->dip, DDI_PROP_DONTPASS, "vendor-id", 0);
109 pci_get_device(drm_device_t *statep) argument
114 statep->dip, DDI_PROP_DONTPASS, "device-id", 0);
H A Defb_vis.c55 efb_map_dfb(drm_device_t *statep) argument
68 dev_priv = (drm_radeon_private_t *)(statep->dev_private);
79 if (ddi_regs_map_setup(statep->dip, 1,
91 efb_vis_devinit(drm_device_t *statep, caddr_t data, int flag) argument
96 drm_device_t *dev = statep;
104 dev_priv = (drm_radeon_private_t *)(statep->dev_private);
193 if (efb_map_dfb(statep) != DDI_SUCCESS) {
249 efb_termemu_callback(drm_device_t *statep) argument
259 drm_device_t *dev = statep;
263 dev_priv = (drm_radeon_private_t *)(statep
350 efb_vis_devfini(drm_device_t *statep, caddr_t data, int flag) argument
439 efb_vis_putcmap(drm_device_t *statep, caddr_t data, int flag) argument
553 efb_vis_consdisplay(drm_device_t *statep, caddr_t data, int flag) argument
620 efb_vis_conscopy(drm_device_t *statep, caddr_t data, int flag) argument
659 efb_vis_conscursor(drm_device_t *statep, caddr_t data, int flag) argument
[all...]
H A Defb_map.c140 drm_device_t *statep; local
150 statep = (drm_device_t *)(mstate->mis_devp);
151 dev_priv = (drm_radeon_private_t *)(statep->dev_private);
188 drm_device_t *statep, *dev; local
193 statep = (drm_device_t *)(mstate->mis_devp);
194 dev_priv = (drm_radeon_private_t *)(statep->dev_private);
196 dev = statep;
384 drm_device_t *statep; local
401 statep = (drm_device_t *)(mstate->mis_devp);
402 dev_priv = (drm_radeon_private_t *)(statep
[all...]
H A Ddrm_sunmod.c662 drm_inst_state_t *statep; local
665 statep = drm_sup_devt_to_state(dev);
666 ASSERT(statep != NULL);
677 mutex_enter(&statep->dis_ctxlock);
681 mutex_exit(&statep->dis_ctxlock);
682 *new_priv = statep;
695 drm_inst_state_t *statep; local
700 statep = (drm_inst_state_t *)pvtp;
702 mutex_enter(&statep->dis_ctxlock);
708 *new_pvtp1 = statep;
737 drm_inst_state_t *statep; local
[all...]

Completed in 18 milliseconds