Home
last modified time | relevance | path

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

12345678

/linux/drivers/comedi/drivers/
H A Dadl_pci7x3x.c152 struct adl_pci7x3x_dev_private_data *dev_private = dev->private; in adl_pci7x3x_interrupt() local
165 intcsr = inl(dev_private->lcr_io_base + PLX9052_INTCSR); in adl_pci7x3x_interrupt()
228 struct adl_pci7x3x_dev_private_data *dev_private = dev->private; in adl_pci7x3x_asy_cmd() local
242 dev_private->int_ctrl |= int_enab; in adl_pci7x3x_asy_cmd()
243 outl(dev_private->int_ctrl, dev_private->lcr_io_base + PLX9052_INTCSR); in adl_pci7x3x_asy_cmd()
256 struct adl_pci7x3x_dev_private_data *dev_private = dev->private; in adl_pci7x3x_asy_cancel() local
270 dev_private->int_ctrl &= ~int_enab; in adl_pci7x3x_asy_cancel()
271 outl(dev_private->int_ctrl, dev_private->lcr_io_base + PLX9052_INTCSR); in adl_pci7x3x_asy_cancel()
332 struct adl_pci7x3x_dev_private_data *dev_private = dev->private; in adl_pci7x3x_reset() local
335 dev_private->int_ctrl = 0x00; /* Disable PCI + LINTi2 + LINTi1 */ in adl_pci7x3x_reset()
[all …]
H A Dadv_pci_dio.c259 struct pci_dio_dev_private_data *dev_private = dev->private; in pci_dio_interrupt() local
286 process_irq(dev, dev_private->irq_subd + i, irqflags); in pci_dio_interrupt()
342 struct pci_dio_dev_private_data *dev_private = dev->private; in pci_dio_asy_cmd() local
349 int_en = board->sdirq[s->index - dev_private->irq_subd].int_en; in pci_dio_asy_cmd()
353 dev_private->int_rf |= int_en; /* falling edge */ in pci_dio_asy_cmd()
355 dev_private->int_rf &= ~int_en; /* rising edge */ in pci_dio_asy_cmd()
356 outb(dev_private->int_rf, dev->iobase + PCI173X_INT_RF_REG); in pci_dio_asy_cmd()
357 dev_private->int_ctrl |= int_en; /* enable interrupt source */ in pci_dio_asy_cmd()
358 outb(dev_private->int_ctrl, dev->iobase + PCI173X_INT_EN_REG); in pci_dio_asy_cmd()
371 struct pci_dio_dev_private_data *dev_private = dev->private; in pci_dio_asy_cancel() local
[all …]
H A Dadl_pci9111.c186 struct pci9111_private_data *dev_private = dev->private; in pci9111_ai_cancel() local
189 plx9050_interrupt_control(dev_private->lcr_io_base, true, true, true, in pci9111_ai_cancel()
338 struct pci9111_private_data *dev_private = dev->private; in pci9111_ai_do_cmd() local
357 dev_private->scan_delay = 0; in pci9111_ai_do_cmd()
365 plx9050_interrupt_control(dev_private->lcr_io_base, true, true, in pci9111_ai_do_cmd()
369 dev_private->scan_delay = (cmd->scan_begin_arg / in pci9111_ai_do_cmd()
377 plx9050_interrupt_control(dev_private->lcr_io_base, true, true, in pci9111_ai_do_cmd()
382 dev_private->chunk_counter = 0; in pci9111_ai_do_cmd()
383 dev_private->chunk_num_samples = cmd->chanlist_len * in pci9111_ai_do_cmd()
384 (1 + dev_private->scan_delay); in pci9111_ai_do_cmd()
[all …]
/linux/drivers/gpu/drm/omapdrm/
H 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/imx/dcss/
H 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/radeon/
H A Devergreen_hdmi.c73 struct radeon_device *rdev = dev->dev_private; in evergreen_hdmi_update_acr()
102 struct radeon_device *rdev = encoder->dev->dev_private; in dce4_afmt_write_latency_fields()
124 struct radeon_device *rdev = encoder->dev->dev_private; in dce4_afmt_hdmi_write_speaker_allocation()
142 struct radeon_device *rdev = encoder->dev->dev_private; in dce4_afmt_dp_write_speaker_allocation()
161 struct radeon_device *rdev = encoder->dev->dev_private; in evergreen_hdmi_write_sad_regs()
311 struct radeon_device *rdev = dev->dev_private; in dce4_set_vbi_packet()
322 struct radeon_device *rdev = dev->dev_private; in dce4_hdmi_set_color_depth()
359 struct radeon_device *rdev = dev->dev_private; in dce4_set_audio_packet()
394 struct radeon_device *rdev = dev->dev_private; in dce4_set_mute()
405 struct radeon_device *rdev = dev->dev_private; in evergreen_hdmi_enable()
[all …]
H A Dradeon_legacy_encoders.c59 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_lvds_update()
147 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_lvds_dpms()
166 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_lvds_prepare()
177 struct radeon_device *rdev = encoder->dev->dev_private; in radeon_legacy_lvds_commit()
191 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_lvds_mode_set()
286 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_get_backlight_level()
299 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()
469 struct radeon_device *rdev = dev->dev_private; in radeon_legacy_backlight_exit()
[all …]
H A Ddce3_1_afmt.c34 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_hdmi_write_speaker_allocation()
52 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_dp_write_speaker_allocation()
71 struct radeon_device *rdev = encoder->dev->dev_private; in dce3_2_afmt_write_sad_regs()
175 struct radeon_device *rdev = dev->dev_private; in dce3_2_hdmi_update_acr()
206 struct radeon_device *rdev = dev->dev_private; in dce3_2_set_audio_packet()
227 struct radeon_device *rdev = dev->dev_private; in dce3_2_set_mute()
H 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()
H A Dradeon_fbdev.c60 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_create_pinned_object()
148 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_fb_open()
166 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_fb_release()
208 struct radeon_device *rdev = fb_helper->dev->dev_private; in radeon_fbdev_fb_helper_fb_probe()
303 struct radeon_device *rdev = dev->dev_private; in radeon_fbdev_client_unregister()
328 struct radeon_device *rdev = dev->dev_private; in radeon_fbdev_client_hotplug()
/linux/drivers/gpu/drm/fsl-dcu/
H 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()
H 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/exynos/
H A Dexynos_drm_dma.c45 struct exynos_drm_private *priv = drm_dev->dev_private; in drm_iommu_attach_device()
86 struct exynos_drm_private *priv = drm_dev->dev_private; in drm_iommu_detach_device()
98 struct exynos_drm_private *priv = drm->dev_private; in exynos_drm_register_dma()
135 struct exynos_drm_private *priv = drm->dev_private; in exynos_drm_cleanup_dma()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c46 struct etnaviv_drm_private *priv = dev->dev_private; in load_gpu()
64 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_open()
107 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_postclose()
132 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_gem_show()
226 struct etnaviv_drm_private *priv = dev->dev_private; in show_each_gpu()
269 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_get_param()
362 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_wait_fence()
410 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_gem_wait()
444 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_pm_query_dom()
461 struct etnaviv_drm_private *priv = dev->dev_private; in etnaviv_ioctl_pm_query_sig()
[all …]
/linux/drivers/gpu/drm/msm/
H A Dmsm_kms.c36 struct msm_drm_private *priv = dev->dev_private; in msm_irq()
46 struct msm_drm_private *priv = dev->dev_private; in msm_irq_preinstall()
56 struct msm_drm_private *priv = dev->dev_private; in msm_irq_postinstall()
69 struct msm_drm_private *priv = dev->dev_private; in msm_irq_install()
95 struct msm_drm_private *priv = dev->dev_private; in msm_irq_uninstall()
148 struct msm_drm_private *priv = dev->dev_private; in msm_crtc_enable_vblank()
159 struct msm_drm_private *priv = dev->dev_private; in msm_crtc_disable_vblank()
H A Dmsm_debugfs.c36 struct msm_drm_private *priv = show_priv->dev->dev_private; in msm_gpu_show()
56 struct msm_drm_private *priv = show_priv->dev->dev_private; in msm_gpu_release()
71 struct msm_drm_private *priv = dev->dev_private; in msm_gpu_open()
147 struct msm_drm_private *priv = dev->dev_private; in msm_kms_open()
216 struct msm_drm_private *priv = dev->dev_private; in msm_gem_show()
310 struct msm_drm_private *priv = dev->dev_private; in msm_debugfs_gpu_init()
337 struct msm_drm_private *priv = dev->dev_private; in msm_debugfs_init()
H A Dmsm_drv.c103 ddev->dev_private = NULL; in msm_drm_uninit()
113 struct msm_drm_private *priv = dev->dev_private; in msm_use_mmu()
127 struct msm_drm_private *priv = dev->dev_private; in msm_init_vram()
201 struct msm_drm_private *priv = ddev->dev_private; in msm_deinit_vram()
226 ddev->dev_private = priv; in msm_drm_init()
321 struct msm_drm_private *priv = dev->dev_private; in load_gpu()
334 struct msm_drm_private *priv = dev->dev_private; in context_init()
373 struct msm_drm_private *priv = dev->dev_private; in msm_postclose()
393 struct msm_drm_private *priv = dev->dev_private; in msm_ioctl_get_param()
415 struct msm_drm_private *priv = dev->dev_private; in msm_ioctl_set_param()
[all …]
H A Dmsm_gem.c28 struct msm_drm_private *priv = obj->dev->dev_private; in physaddr()
97 struct msm_drm_private *priv = obj->dev->dev_private; in update_lru_active()
115 struct msm_drm_private *priv = obj->dev->dev_private; in update_lru_locked()
131 struct msm_drm_private *priv = obj->dev->dev_private; in update_lru()
142 struct msm_drm_private *priv = obj->dev->dev_private; in get_pages_vram()
190 update_device_mem(dev->dev_private, obj->size); in get_pages()
218 struct msm_drm_private *priv = obj->dev->dev_private; in put_pages_vram()
245 update_device_mem(obj->dev->dev_private, -obj->size); in put_pages()
278 struct msm_drm_private *priv = obj->dev->dev_private; in msm_gem_pin_obj_locked()
288 struct msm_drm_private *priv = obj->dev->dev_private; in pin_obj_locked()
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_drv.c95 struct tilcdc_drm_private *priv = dev->dev_private; in modeset_init()
127 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_irq()
134 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_irq_install()
148 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_irq_uninstall()
163 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_fini()
188 dev->dev_private = NULL; in tilcdc_fini()
212 ddev->dev_private = priv; in tilcdc_init()
425 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_regs_show()
528 if (!ddev->dev_private) in tilcdc_unbind()
H A Dtilcdc_regs.h116 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_write()
122 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_write64()
136 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_read()
159 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_irqstatus_reg()
H A Dtilcdc_crtc.c66 struct tilcdc_drm_private *priv = dev->dev_private; in set_scanout()
101 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_load_palette()
143 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_enable_irqs()
160 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_disable_irqs()
180 struct tilcdc_drm_private *priv = dev->dev_private; in reset()
205 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_set_clk()
277 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_set_mode()
591 struct tilcdc_drm_private *priv = crtc->dev->dev_private; in tilcdc_crtc_destroy()
693 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_enable_vblank()
716 struct tilcdc_drm_private *priv = dev->dev_private; in tilcdc_crtc_disable_vblank()
[all …]
/linux/drivers/gpu/drm/tve200/
H A Dtve200_display.c128 struct tve200_drm_dev_private *priv = drm->dev_private; in tve200_display_enable()
246 struct tve200_drm_dev_private *priv = drm->dev_private; in tve200_display_disable()
262 struct tve200_drm_dev_private *priv = drm->dev_private; in tve200_display_update()
298 struct tve200_drm_dev_private *priv = drm->dev_private; in tve200_display_enable_vblank()
310 struct tve200_drm_dev_private *priv = drm->dev_private; in tve200_display_disable_vblank()
326 struct tve200_drm_dev_private *priv = drm->dev_private; in tve200_display_init()
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_debugfs.c47 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_features()
72 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_debugfs_irq_info()
84 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_debugfs_host_visible_mm()
H A Dvirtgpu_kms.c137 dev->dev_private = vgdev; in virtio_gpu_init()
266 dev->dev_private = NULL; in virtio_gpu_init()
282 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_deinit()
294 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_release()
309 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_driver_open()
337 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_driver_postclose()
/linux/drivers/gpu/drm/mxsfb/
H A Dlcdif_drv.c114 struct lcdif_drm_private *lcdif = drm->dev_private; in lcdif_irq_handler()
144 drm->dev_private = lcdif; in lcdif_load()
227 struct lcdif_drm_private *lcdif = drm->dev_private; in lcdif_unload()
238 drm->dev_private = NULL; in lcdif_unload()
310 struct lcdif_drm_private *lcdif = drm->dev_private; in lcdif_rpm_suspend()
325 struct lcdif_drm_private *lcdif = drm->dev_private; in lcdif_rpm_resume()

12345678