Home
last modified time | relevance | path

Searched refs:dev_private (Results 1 – 25 of 231) sorted by relevance

12345678910

/linux/drivers/gpu/drm/i810/
A Di810_dma.c101 dev_priv = dev->dev_private; in i810_mmap_buffers()
103 buf_priv = buf->dev_private; in i810_mmap_buffers()
193 buf_priv = buf->dev_private; in i810_dma_get_buffer()
213 if (dev->dev_private) { in i810_dma_cleanup()
225 kfree(dev->dev_private); in i810_dma_cleanup()
226 dev->dev_private = NULL; in i810_dma_cleanup()
335 dev->dev_private = (void *)dev_priv; in i810_dma_initialize()
420 dev->dev_private = (void *)dev_priv; in i810_dma_initialize()
895 if (!dev->dev_private) in i810_driver_reclaim_buffers()
963 if (!dev->dev_private) in i810_clear_bufs()
[all …]
/linux/drivers/comedi/drivers/
A Dadl_pci7x3x.c243 dev_private->int_ctrl |= int_enab; in adl_pci7x3x_asy_cmd()
244 outl(dev_private->int_ctrl, dev_private->lcr_io_base + PLX9052_INTCSR); in adl_pci7x3x_asy_cmd()
271 dev_private->int_ctrl &= ~int_enab; in adl_pci7x3x_asy_cancel()
272 outl(dev_private->int_ctrl, dev_private->lcr_io_base + PLX9052_INTCSR); in adl_pci7x3x_asy_cancel()
337 outl(dev_private->int_ctrl, dev_private->lcr_io_base + PLX9052_INTCSR); in adl_pci7x3x_reset()
348 struct adl_pci7x3x_dev_private_data *dev_private; in adl_pci7x3x_auto_attach() local
361 dev_private = comedi_alloc_devpriv(dev, sizeof(*dev_private)); in adl_pci7x3x_auto_attach()
362 if (!dev_private) in adl_pci7x3x_auto_attach()
383 dev_private->int_ctrl = EN_PCI_LINT2H_LINT1H; in adl_pci7x3x_auto_attach()
384 outl(dev_private->int_ctrl, in adl_pci7x3x_auto_attach()
[all …]
A Dadv_pci_dio.c288 process_irq(dev, dev_private->irq_subd + i, irqflags); in pci_dio_interrupt()
355 dev_private->int_rf |= int_en; /* falling edge */ in pci_dio_asy_cmd()
357 dev_private->int_rf &= ~int_en; /* rising edge */ in pci_dio_asy_cmd()
386 dev_private->int_ctrl &= ~int_en; in pci_dio_asy_cancel()
496 dev_private->int_ctrl = 0x00; in pci_dio_reset()
501 dev_private->int_rf = 0x00; in pci_dio_reset()
555 struct pci_dio_dev_private_data *dev_private; in pci_dio_auto_attach() local
565 dev_private = comedi_alloc_devpriv(dev, sizeof(*dev_private)); in pci_dio_auto_attach()
566 if (!dev_private) in pci_dio_auto_attach()
577 dev_private->boardtype = context; in pci_dio_auto_attach()
[all …]
A Dadl_pci9111.c187 struct pci9111_private_data *dev_private = dev->private; in pci9111_ai_cancel() local
339 struct pci9111_private_data *dev_private = dev->private; in pci9111_ai_do_cmd() local
358 dev_private->scan_delay = 0; in pci9111_ai_do_cmd()
370 dev_private->scan_delay = (cmd->scan_begin_arg / in pci9111_ai_do_cmd()
383 dev_private->chunk_counter = 0; in pci9111_ai_do_cmd()
384 dev_private->chunk_num_samples = cmd->chanlist_len * in pci9111_ai_do_cmd()
385 (1 + dev_private->scan_delay); in pci9111_ai_do_cmd()
453 struct pci9111_private_data *dev_private = dev->private; in pci9111_interrupt() local
628 struct pci9111_private_data *dev_private; in pci9111_auto_attach() local
632 dev_private = comedi_alloc_devpriv(dev, sizeof(*dev_private)); in pci9111_auto_attach()
[all …]
/linux/drivers/gpu/drm/r128/
A Dr128_cce.c355 if (dev->dev_private) { in r128_do_init_cce()
368 dev->dev_private = (void *)dev_priv; in r128_do_init_cce()
377 dev->dev_private = (void *)dev_priv; in r128_do_init_cce()
397 dev->dev_private = (void *)dev_priv; in r128_do_init_cce()
585 dev->dev_private = (void *)dev_priv; in r128_do_init_cce()
607 if (dev->dev_private) { in r128_do_cleanup_cce()
630 kfree(dev->dev_private); in r128_do_cleanup_cce()
631 dev->dev_private = NULL; in r128_do_cleanup_cce()
789 buf_priv = buf->dev_private;
829 buf_priv = buf->dev_private; in r128_freelist_get()
[all …]
A Dr128_irq.c42 const drm_r128_private_t *dev_priv = dev->dev_private; in r128_get_vblank_counter()
53 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private; in r128_driver_irq_handler()
70 drm_r128_private_t *dev_priv = dev->dev_private; in r128_enable_vblank()
97 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private; in r128_driver_irq_preinstall()
112 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private; in r128_driver_irq_uninstall()
A Dr128_state.c361 drm_r128_private_t *dev_priv = dev->dev_private; in r128_cce_dispatch_clear()
466 drm_r128_private_t *dev_priv = dev->dev_private; in r128_cce_dispatch_swap()
532 drm_r128_private_t *dev_priv = dev->dev_private; in r128_cce_dispatch_flip()
573 drm_r128_private_t *dev_priv = dev->dev_private; in r128_cce_dispatch_vertex()
643 drm_r128_private_t *dev_priv = dev->dev_private; in r128_cce_dispatch_indirect()
699 drm_r128_private_t *dev_priv = dev->dev_private; in r128_cce_dispatch_indices()
830 buf_priv = buf->dev_private; in r128_cce_dispatch_blit()
1344 buf_priv = buf->dev_private; in r128_cce_vertex()
1397 buf_priv = buf->dev_private; in r128_cce_indices()
1538 buf_priv = buf->dev_private; in r128_cce_indirect()
[all …]
/linux/drivers/gpu/drm/via/
A Dvia_map.c35 drm_via_private_t *dev_priv = dev->dev_private; in via_do_init_map()
42 dev->dev_private = (void *)dev_priv; in via_do_init_map()
50 dev->dev_private = (void *)dev_priv; in via_do_init_map()
57 dev->dev_private = (void *)dev_priv; in via_do_init_map()
72 dev->dev_private = (void *)dev_priv; in via_do_init_map()
110 dev->dev_private = (void *)dev_priv; in via_driver_load()
127 drm_via_private_t *dev_priv = dev->dev_private; in via_driver_unload()
A Dvia_irq.c95 drm_via_private_t *dev_priv = dev->dev_private; in via_get_vblank_counter()
106 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_driver_irq_handler()
171 drm_via_private_t *dev_priv = dev->dev_private; in via_enable_vblank()
190 drm_via_private_t *dev_priv = dev->dev_private; in via_disable_vblank()
207 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_driver_irq_wait()
259 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_driver_irq_preinstall()
308 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_driver_irq_postinstall()
328 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_driver_irq_uninstall()
350 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_wait_irq()
A Dvia_mm.c47 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_agp_init()
63 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_fb_init()
80 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_final_context()
97 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_lastclose()
120 drm_via_private_t *dev_priv = (drm_via_private_t *) dev->dev_private; in via_mem_alloc()
186 drm_via_private_t *dev_priv = dev->dev_private; in via_mem_free()
/linux/drivers/gpu/drm/mga/
A Dmga_irq.c39 (drm_mga_private_t *) dev->dev_private; in mga_get_vblank_counter()
51 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; in mga_driver_irq_handler()
91 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; in mga_enable_vblank()
121 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; in mga_driver_fence_wait()
138 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; in mga_driver_irq_preinstall()
148 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; in mga_driver_irq_postinstall()
161 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; in mga_driver_irq_uninstall()
A Dmga_dma.c261 buf_priv = buf->dev_private; in mga_freelist_init()
316 buf_priv = buf->dev_private;
418 dev->dev_private = (void *)dev_priv; in mga_driver_load()
458 (drm_mga_private_t *) dev->dev_private; in mga_do_agp_dma_bootstrap()
632 (drm_mga_private_t *) dev->dev_private; in mga_do_pci_dma_bootstrap()
723 (drm_mga_private_t *) dev->dev_private; in mga_do_dma_bootstrap()
782 (drm_mga_private_t *) dev->dev_private; in mga_dma_bootstrap()
809 dev_priv = dev->dev_private; in mga_do_init_dma()
954 if (dev->dev_private) { in mga_do_cleanup_dma()
1152 kfree(dev->dev_private); in mga_driver_unload()
[all …]
A Dmga_state.c482 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_dispatch_clear()
570 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_dispatch_swap()
624 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_dispatch_vertex()
672 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_dispatch_indices()
721 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_dispatch_iload()
768 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_dispatch_blit()
829 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_clear()
851 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_swap()
872 drm_mga_private_t *dev_priv = dev->dev_private; in mga_dma_vertex()
883 buf_priv = buf->dev_private; in mga_dma_vertex()
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_irq.c21 struct omap_drm_private *priv = dev->dev_private; in omap_irq_update()
44 struct omap_drm_private *priv = dev->dev_private; in omap_irq_wait_init()
63 struct omap_drm_private *priv = dev->dev_private; in omap_irq_wait()
82 struct omap_drm_private *priv = dev->dev_private; in omap_irq_enable_framedone()
116 struct omap_drm_private *priv = dev->dev_private; in omap_irq_enable_vblank()
142 struct omap_drm_private *priv = dev->dev_private; in omap_irq_disable_vblank()
208 struct omap_drm_private *priv = dev->dev_private; in omap_irq_handler()
258 struct omap_drm_private *priv = dev->dev_private; in omap_drm_irq_install()
294 struct omap_drm_private *priv = dev->dev_private; in omap_drm_irq_uninstall()
/linux/drivers/gpu/drm/arm/
A Dhdlcd_drv.c43 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_irq()
73 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_irq_preinstall()
82 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_irq_postinstall()
112 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_irq_uninstall()
130 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_load()
222 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_show_underrun_count()
235 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_show_pxlclock()
287 drm->dev_private = hdlcd; in hdlcd_drm_bind()
350 struct hdlcd_drm_private *hdlcd = drm->dev_private; in hdlcd_drm_unbind()
365 drm->dev_private = NULL; in hdlcd_drm_unbind()
/linux/drivers/gpu/drm/radeon/
A Dradeon_legacy_encoders.c57 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_lvds_update()
189 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_lvds_mode_set()
284 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_get_backlight_level()
297 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_set_backlight_level()
358 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_get_brightness()
376 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_init()
464 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_exit()
523 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_primary_dac_dpms()
590 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_primary_dac_mode_set()
646 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_primary_dac_detect()
[all …]
A Devergreen_hdmi.c72 struct radeon_device *rdev = dev->dev_private; in evergreen_hdmi_update_acr()
101 struct radeon_device *rdev = encoder->dev->dev_private; in dce4_afmt_write_latency_fields()
123 struct radeon_device *rdev = encoder->dev->dev_private; in dce4_afmt_hdmi_write_speaker_allocation()
141 struct radeon_device *rdev = encoder->dev->dev_private; in dce4_afmt_dp_write_speaker_allocation()
160 struct radeon_device *rdev = encoder->dev->dev_private; in evergreen_hdmi_write_sad_regs()
310 struct radeon_device *rdev = dev->dev_private; in dce4_set_vbi_packet()
321 struct radeon_device *rdev = dev->dev_private; in dce4_hdmi_set_color_depth()
358 struct radeon_device *rdev = dev->dev_private; in dce4_set_audio_packet()
393 struct radeon_device *rdev = dev->dev_private; in dce4_set_mute()
404 struct radeon_device *rdev = dev->dev_private; in evergreen_hdmi_enable()
[all …]
A Ddce3_1_afmt.c33 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_hdmi_write_speaker_allocation()
51 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_dp_write_speaker_allocation()
70 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_write_sad_regs()
174 struct radeon_device *rdev = dev->dev_private; in dce3_2_hdmi_update_acr()
205 struct radeon_device *rdev = dev->dev_private; in dce3_2_set_audio_packet()
226 struct radeon_device *rdev = dev->dev_private; in dce3_2_set_mute()
A Dr600_hdmi.c182 struct radeon_device *rdev = dev->dev_private; in r600_hdmi_update_acr()
248 struct radeon_device *rdev = dev->dev_private; in r600_hdmi_update_audio_infoframe()
266 struct radeon_device *rdev = dev->dev_private; in r600_hdmi_is_audio_buffer_filled()
299 struct radeon_device *rdev = dev->dev_private; in r600_hdmi_audio_workaround()
344 struct radeon_device *rdev = dev->dev_private; in r600_set_vbi_packet()
355 struct radeon_device *rdev = dev->dev_private; in r600_set_audio_packet()
397 struct radeon_device *rdev = dev->dev_private; in r600_set_mute()
415 struct radeon_device *rdev = dev->dev_private; in r600_hdmi_update_audio_settings()
473 struct radeon_device *rdev = dev->dev_private; in r600_hdmi_enable()
/linux/drivers/gpu/drm/imx/dcss/
A Ddcss-crtc.c19 struct dcss_dev *dcss = crtc->dev->dev_private; in dcss_enable_vblank()
34 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; in dcss_disable_vblank()
66 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; in dcss_crtc_atomic_flush()
87 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; in dcss_crtc_atomic_enable()
123 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; in dcss_crtc_atomic_disable()
171 struct dcss_dev *dcss = dcss_crtc->base.dev->dev_private; in dcss_crtc_irq_handler()
186 struct dcss_dev *dcss = drm->dev_private; in dcss_crtc_init()
/linux/drivers/gpu/drm/fsl-dcu/
A Dfsl_dcu_drm_crtc.c27 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_crtc_atomic_flush()
51 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_crtc_atomic_disable()
70 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_crtc_atomic_enable()
85 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_crtc_mode_set_nofb()
138 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_crtc_enable_vblank()
151 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_crtc_disable_vblank()
A Dfsl_dcu_drm_drv.c55 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_irq_reset()
64 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_drm_irq()
94 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_irq_uninstall()
102 struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; in fsl_dcu_load()
136 dev->dev_private = NULL; in fsl_dcu_load()
149 dev->dev_private = NULL; in fsl_dcu_unload()
329 drm->dev_private = fsl_dev; in fsl_dcu_drm_probe()
/linux/drivers/gpu/drm/etnaviv/
A Detnaviv_drv.c33 struct etnaviv_drm_private *priv = dev->dev_private; in load_gpu()
51 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_open()
89 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_postclose()
112 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_gem_show()
206 struct etnaviv_drm_private *priv = dev->dev_private; in show_each_gpu()
249 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_get_param()
342 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_wait_fence()
390 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_gem_wait()
424 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_pm_query_dom()
513 drm->dev_private = priv; in etnaviv_bind()
[all …]
/linux/drivers/gpu/drm/msm/
A Dmsm_drv.c235 struct msm_drm_private *priv = dev->dev_private; in msm_irq()
245 struct msm_drm_private *priv = dev->dev_private; in msm_irq_preinstall()
255 struct msm_drm_private *priv = dev->dev_private; in msm_irq_postinstall()
290 struct msm_drm_private *priv = dev->dev_private; in msm_irq_uninstall()
343 struct msm_drm_private *priv = ddev->dev_private; in msm_drm_uninit()
408 ddev->dev_private = NULL; in msm_drm_uninit()
432 struct msm_drm_private *priv = dev->dev_private; in msm_use_mmu()
440 struct msm_drm_private *priv = dev->dev_private; in msm_init_vram()
535 ddev->dev_private = priv; in msm_drm_init()
703 struct msm_drm_private *priv = dev->dev_private; in load_gpu()
[all …]
/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_dma.c46 struct exynos_drm_private *priv = drm_dev->dev_private; in drm_iommu_attach_device()
87 struct exynos_drm_private *priv = drm_dev->dev_private; in drm_iommu_detach_device()
99 struct exynos_drm_private *priv = drm->dev_private; in exynos_drm_register_dma()
138 struct exynos_drm_private *priv = drm->dev_private; in exynos_drm_cleanup_dma()

Completed in 45 milliseconds

12345678910