Home
last modified time | relevance | path

Searched defs:drm (Results 1 – 25 of 157) sorted by relevance

1234567

/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c62 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_fillrect() local
94 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_copyarea() local
126 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_imageblit() local
158 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_sync() local
185 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_open() local
196 struct nouveau_drm *drm = nouveau_drm(fbcon->helper.dev); in nouveau_fbcon_release() local
225 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_fbcon_accel_save_disable() local
235 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_fbcon_accel_restore() local
244 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_fbcon_accel_fini() local
265 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_fbcon_accel_init() local
[all …]
Dnouveau_hwmon.c56 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_temp1_auto_point1_temp() local
68 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_temp1_auto_point1_temp() local
89 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_temp1_auto_point1_temp_hyst() local
101 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_temp1_auto_point1_temp_hyst() local
122 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_max() local
138 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_get_pwm1_min() local
154 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_min() local
177 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hwmon_set_pwm1_max() local
302 struct nouveau_drm *drm = nouveau_drm((struct drm_device *)data); in nouveau_power_is_visible() local
327 struct nouveau_drm *drm = nouveau_drm((struct drm_device *)data); in nouveau_temp_is_visible() local
[all …]
Dnouveau_bios.c98 struct nouveau_drm *drm = nouveau_drm(dev); in run_digital_op_script() local
111 struct nouveau_drm *drm = nouveau_drm(dev); in call_lvds_manufacturer_script() local
148 struct nouveau_drm *drm = nouveau_drm(dev); in run_lvds_table() local
217 struct nouveau_drm *drm = nouveau_drm(dev); in call_lvds_script() local
271 struct nouveau_drm *drm = nouveau_drm(dev); in parse_lvds_manufacturer_table_header() local
321 struct nouveau_drm *drm = nouveau_drm(dev); in get_fp_strap() local
347 struct nouveau_drm *drm = nouveau_drm(dev); in parse_fp_mode_table() local
451 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_fp_mode() local
522 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_bios_parse_lvds_table() local
637 struct nouveau_drm *drm = nouveau_drm(dev); in run_tmds_table() local
[all …]
Dnouveau_backlight.c67 struct nouveau_drm *drm = bl_get_data(bd); in nv40_get_intensity() local
78 struct nouveau_drm *drm = bl_get_data(bd); in nv40_set_intensity() local
98 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nv40_backlight_init() local
135 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_get_intensity() local
150 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_set_intensity() local
171 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_get_intensity() local
189 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nva3_set_intensity() local
215 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nv50_backlight_init() local
267 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_backlight_init() local
305 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_backlight_exit() local
Dnouveau_led.c40 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_led_get_brightness() local
57 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_led_set_brightness() local
80 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_init() local
115 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_suspend() local
124 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_resume() local
133 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_fini() local
Dnouveau_ttm.c38 struct nouveau_drm *drm = nouveau_bdev(man->bdev); in nouveau_vram_manager_init() local
69 struct nouveau_drm *drm = nouveau_bdev(man->bdev); in nouveau_vram_manager_del() local
81 struct nouveau_drm *drm = nouveau_bdev(man->bdev); in nouveau_vram_manager_new() local
143 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_gart_manager_new() local
200 struct nouveau_drm *drm = nouveau_bdev(man->bdev); in nv04_gart_manager_init() local
273 struct nouveau_drm *drm = nouveau_drm(file_priv->minor->dev); in nouveau_ttm_mmap() local
298 nouveau_ttm_global_init(struct nouveau_drm *drm) in nouveau_ttm_global_init()
335 nouveau_ttm_global_release(struct nouveau_drm *drm) in nouveau_ttm_global_release()
346 nouveau_ttm_init(struct nouveau_drm *drm) in nouveau_ttm_init()
440 nouveau_ttm_fini(struct nouveau_drm *drm) in nouveau_ttm_fini()
Dnouveau_drm.c128 nouveau_cli_init(struct nouveau_drm *drm, const char *sname, in nouveau_cli_init()
168 nouveau_accel_fini(struct nouveau_drm *drm) in nouveau_accel_fini()
186 nouveau_accel_init(struct nouveau_drm *drm) in nouveau_accel_init()
405 nouveau_get_hdmi_dev(struct nouveau_drm *drm) in nouveau_get_hdmi_dev()
435 struct nouveau_drm *drm; in nouveau_drm_load() local
535 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_drm_unload() local
566 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_drm_device_remove() local
589 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_do_suspend() local
649 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_do_resume() local
806 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_pmops_runtime_idle() local
[all …]
Dnouveau_bo.c49 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_update_tile_region() local
69 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_get_tile_region() local
88 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_put_tile_region() local
102 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_set_tiling() local
131 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_bo_del_ttm() local
154 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in nouveau_bo_fixup_align() local
190 struct nouveau_drm *drm = nouveau_drm(cli->dev); in nouveau_bo_new() local
260 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in set_placement_range() local
313 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in nouveau_bo_pin() local
387 struct nouveau_drm *drm = nouveau_bdev(nvbo->bo.bdev); in nouveau_bo_unpin() local
[all …]
Dnouveau_debugfs.c41 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_vbios_image() local
52 struct drm_device *drm = m->private; in nouveau_debugfs_pstate_get() local
123 struct drm_device *drm = m->private; in nouveau_debugfs_pstate_set() local
220 nouveau_debugfs_init(struct nouveau_drm *drm) in nouveau_debugfs_init()
238 nouveau_debugfs_fini(struct nouveau_drm *drm) in nouveau_debugfs_fini()
Dnouveau_connector.c56 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_conn_native_mode() local
421 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_connector_ddc_detect() local
517 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_connector_set_encoder() local
557 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_connector_detect() local
670 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_connector_detect_lvds() local
749 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_connector_force() local
868 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_connector_detect_depth() local
918 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_connector_get_modes() local
985 struct nouveau_drm *drm = nouveau_drm(connector->dev); in get_tmds_link_bandwidth() local
1121 struct nouveau_drm *drm = nouveau_drm(connector->dev); in nouveau_connector_hotplug() local
[all …]
Dnouveau_display.c234 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_framebuffer_new() local
354 struct nouveau_drm *drm = container_of(work, typeof(*drm), hpd_work); in nouveau_display_hpd_work() local
379 struct nouveau_drm *drm = container_of(nb, typeof(*drm), acpi_nb); in nouveau_display_acpi_ntfy() local
418 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_display_init() local
449 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_display_fini() local
517 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_display_create() local
695 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_display_resume() local
772 struct nouveau_drm *drm = chan->drm; in nouveau_page_flip_emit() local
815 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_crtc_page_flip() local
919 struct nouveau_drm *drm = chan->drm; in nouveau_finish_page_flip() local
[all …]
Dnvc0_fbcon.c33 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); in nvc0_fbcon_fillrect() local
68 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); in nvc0_fbcon_copyarea() local
96 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); in nvc0_fbcon_imageblit() local
153 struct nouveau_drm *drm = nouveau_drm(dev); in nvc0_fbcon_accel_init() local
/drivers/gpu/drm/arm/
Dhdlcd_drv.c33 static int hdlcd_load(struct drm_device *drm, unsigned long flags) in hdlcd_load()
101 static void hdlcd_fb_output_poll_changed(struct drm_device *drm) in hdlcd_fb_output_poll_changed()
115 static void hdlcd_setup_mode_config(struct drm_device *drm) in hdlcd_setup_mode_config()
125 static void hdlcd_lastclose(struct drm_device *drm) in hdlcd_lastclose()
134 struct drm_device *drm = arg; in hdlcd_irq() local
163 static void hdlcd_irq_preinstall(struct drm_device *drm) in hdlcd_irq_preinstall()
171 static int hdlcd_irq_postinstall(struct drm_device *drm) in hdlcd_irq_postinstall()
185 static void hdlcd_irq_uninstall(struct drm_device *drm) in hdlcd_irq_uninstall()
206 struct drm_device *drm = node->minor->dev; in hdlcd_show_underrun_count() local
219 struct drm_device *drm = node->minor->dev; in hdlcd_show_pxlclock() local
[all …]
Dmalidp_drv.c165 static int malidp_set_and_wait_config_valid(struct drm_device *drm) in malidp_set_and_wait_config_valid()
184 static void malidp_output_poll_changed(struct drm_device *drm) in malidp_output_poll_changed()
194 struct drm_device *drm = state->dev; in malidp_atomic_commit_hw_done() local
219 struct drm_device *drm = state->dev; in malidp_atomic_commit_tail() local
258 static int malidp_init(struct drm_device *drm) in malidp_init()
282 static void malidp_fini(struct drm_device *drm) in malidp_fini()
291 struct drm_device *drm = dev_get_drvdata(&pdev->dev); in malidp_irq_init() local
318 static void malidp_lastclose(struct drm_device *drm) in malidp_lastclose()
425 struct drm_device *drm = dev_get_drvdata(dev); in core_id_show() local
452 struct drm_device *drm = dev_get_drvdata(dev); in malidp_runtime_pm_suspend() local
[all …]
/drivers/gpu/drm/tegra/
Ddrm.c46 struct drm_device *drm = tegra->drm; in tegra_atomic_complete() local
83 static int tegra_atomic_commit(struct drm_device *drm, in tegra_atomic_commit()
129 static int tegra_drm_load(struct drm_device *drm, unsigned long flags) in tegra_drm_load()
245 static void tegra_drm_unload(struct drm_device *drm) in tegra_drm_unload()
270 static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) in tegra_drm_open()
291 static void tegra_drm_lastclose(struct drm_device *drm) in tegra_drm_lastclose()
316 struct drm_device *drm, in host1x_reloc_copy_from_user()
384 struct drm_tegra_submit *args, struct drm_device *drm, in tegra_drm_submit()
590 static int tegra_gem_create(struct drm_device *drm, void *data, in tegra_gem_create()
604 static int tegra_gem_mmap(struct drm_device *drm, void *data, in tegra_gem_mmap()
[all …]
Dfb.c113 static struct tegra_fb *tegra_fb_alloc(struct drm_device *drm, in tegra_fb_alloc()
151 struct drm_framebuffer *tegra_fb_create(struct drm_device *drm, in tegra_fb_create()
217 struct drm_device *drm = helper->dev; in tegra_fbdev_probe() local
299 static struct tegra_fbdev *tegra_fbdev_create(struct drm_device *drm) in tegra_fbdev_create()
324 struct drm_device *drm = fbdev->base.dev; in tegra_fbdev_init() local
371 void tegra_fb_output_poll_changed(struct drm_device *drm) in tegra_fb_output_poll_changed()
380 int tegra_drm_fb_prepare(struct drm_device *drm) in tegra_drm_fb_prepare()
393 void tegra_drm_fb_free(struct drm_device *drm) in tegra_drm_fb_free()
402 int tegra_drm_fb_init(struct drm_device *drm) in tegra_drm_fb_init()
417 void tegra_drm_fb_exit(struct drm_device *drm) in tegra_drm_fb_exit()
[all …]
Dgem.c174 static struct tegra_bo *tegra_bo_alloc_object(struct drm_device *drm, in tegra_bo_alloc_object()
204 static void tegra_bo_free(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_free()
215 static int tegra_bo_get_pages(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_get_pages()
250 static int tegra_bo_alloc(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_alloc()
281 struct tegra_bo *tegra_bo_create(struct drm_device *drm, size_t size, in tegra_bo_create()
310 struct drm_device *drm, in tegra_bo_create_with_handle()
333 static struct tegra_bo *tegra_bo_import(struct drm_device *drm, in tegra_bo_import()
408 int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm, in tegra_bo_dumb_create()
632 struct dma_buf *tegra_gem_prime_export(struct drm_device *drm, in tegra_gem_prime_export()
646 struct drm_gem_object *tegra_gem_prime_import(struct drm_device *drm, in tegra_gem_prime_import()
/drivers/gpu/drm/mxsfb/
Dmxsfb_drv.c140 static int mxsfb_load(struct drm_device *drm, unsigned long flags) in mxsfb_load()
250 static void mxsfb_unload(struct drm_device *drm) in mxsfb_unload()
269 static void mxsfb_lastclose(struct drm_device *drm) in mxsfb_lastclose()
276 static int mxsfb_enable_vblank(struct drm_device *drm, unsigned int crtc) in mxsfb_enable_vblank()
289 static void mxsfb_disable_vblank(struct drm_device *drm, unsigned int crtc) in mxsfb_disable_vblank()
300 static void mxsfb_irq_preinstall(struct drm_device *drm) in mxsfb_irq_preinstall()
307 struct drm_device *drm = data; in mxsfb_irq_handler() local
375 struct drm_device *drm; in mxsfb_probe() local
410 struct drm_device *drm = platform_get_drvdata(pdev); in mxsfb_remove() local
/drivers/gpu/drm/arc/
Darcpgu_drv.c41 static void arcpgu_setup_mode_config(struct drm_device *drm) in arcpgu_setup_mode_config()
53 static void arcpgu_lastclose(struct drm_device *drm) in arcpgu_lastclose()
60 static int arcpgu_load(struct drm_device *drm) in arcpgu_load()
127 static int arcpgu_unload(struct drm_device *drm) in arcpgu_unload()
145 struct drm_device *drm = node->minor->dev; in arcpgu_show_pxlclock() local
197 struct drm_device *drm; in arcpgu_probe() local
225 struct drm_device *drm = platform_get_drvdata(pdev); in arcpgu_remove() local
/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c26 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_iommu_map() local
67 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_iommu_unmap() local
83 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_get_pages() local
163 struct drm_device *drm = obj->dev; in rockchip_gem_alloc_dma() local
185 struct drm_device *drm = obj->dev; in rockchip_gem_alloc_buf() local
204 struct drm_device *drm = obj->dev; in rockchip_gem_free_dma() local
248 struct drm_device *drm = obj->dev; in rockchip_drm_gem_object_mmap_dma() local
317 rockchip_gem_create_object(struct drm_device *drm, unsigned int size, in rockchip_gem_create_object()
369 struct drm_device *drm, unsigned int size, in rockchip_gem_create_with_handle()
436 struct drm_device *drm = obj->dev; in rockchip_gem_prime_get_sg_table() local
/drivers/gpu/drm/nouveau/dispnv04/
Dhw.c87 struct nouveau_drm *drm = nouveau_drm(dev); in NVSetOwner() local
135 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_decode_pll() local
167 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_get_pllvals() local
255 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_fix_bad_vpll() local
307 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_save_vga_fonts() local
391 struct nouveau_drm *drm = nouveau_drm(dev); in nv_save_state_ramdac() local
466 struct nouveau_drm *drm = nouveau_drm(dev); in nv_load_state_ramdac() local
588 struct nouveau_drm *drm = nouveau_drm(dev); in nv_save_state_ext() local
663 struct nouveau_drm *drm = nouveau_drm(dev); in nv_load_state_ext() local
811 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_hw_save_state() local
/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.c61 struct drm_device *drm = private->drm; in mtk_atomic_complete() local
98 static int mtk_atomic_commit(struct drm_device *drm, in mtk_atomic_commit()
183 static int mtk_drm_kms_init(struct drm_device *drm) in mtk_drm_kms_init()
296 static void mtk_drm_kms_deinit(struct drm_device *drm) in mtk_drm_kms_deinit()
365 struct drm_device *drm; in mtk_drm_bind() local
549 struct drm_device *drm = private->drm; in mtk_drm_remove() local
569 struct drm_device *drm = private->drm; in mtk_drm_sys_suspend() local
586 struct drm_device *drm = private->drm; in mtk_drm_sys_resume() local
/drivers/gpu/drm/imx/
Dimx-drm-core.c38 struct drm_device *drm; member
49 static void imx_drm_driver_lastclose(struct drm_device *drm) in imx_drm_driver_lastclose()
71 static void imx_drm_output_poll_changed(struct drm_device *drm) in imx_drm_output_poll_changed()
151 int imx_drm_encoder_parse_of(struct drm_device *drm, in imx_drm_encoder_parse_of()
228 struct drm_device *drm; in imx_drm_bind() local
327 struct drm_device *drm = dev_get_drvdata(dev); in imx_drm_unbind() local
/drivers/gpu/drm/sun4i/
Dsun4i_framebuffer.c20 static void sun4i_de_output_poll_changed(struct drm_device *drm) in sun4i_de_output_poll_changed()
34 struct drm_fbdev_cma *sun4i_framebuffer_init(struct drm_device *drm) in sun4i_framebuffer_init()
46 void sun4i_framebuffer_free(struct drm_device *drm) in sun4i_framebuffer_free()
/drivers/gpu/drm/tinydrm/core/
Dtinydrm-core.c45 void tinydrm_lastclose(struct drm_device *drm) in tinydrm_lastclose()
73 tinydrm_gem_cma_prime_import_sg_table(struct drm_device *drm, in tinydrm_gem_cma_prime_import_sg_table()
126 tinydrm_fb_create(struct drm_device *drm, struct drm_file *file_priv, in tinydrm_fb_create()
145 struct drm_device *drm; in tinydrm_init() local
215 struct drm_device *drm = tdev->drm; in tinydrm_register() local

1234567