/linux/drivers/gpu/drm/ |
A D | drm_legacy.h | 38 struct drm_device; 50 void drm_legacy_ctxbitmap_init(struct drm_device *dev); 121 void drm_legacy_master_rmmaps(struct drm_device *dev, 123 void drm_legacy_rmmaps(struct drm_device *dev); 131 void drm_legacy_vma_flush(struct drm_device *d); 153 void drm_legacy_agp_clear(struct drm_device *dev); 186 int drm_legacy_dma_setup(struct drm_device *dev); 195 void drm_legacy_free_buffer(struct drm_device *dev, 207 void drm_legacy_sg_cleanup(struct drm_device *dev); 217 void drm_legacy_dev_reinit(struct drm_device *dev); [all …]
|
A D | drm_crtc_internal.h | 46 struct drm_device; 81 int drm_mode_getcrtc(struct drm_device *dev, 83 int drm_mode_setcrtc(struct drm_device *dev, 96 int drm_mode_getresources(struct drm_device *dev, 101 int drm_mode_create_dumb(struct drm_device *dev, 176 int drm_mode_getencoder(struct drm_device *dev, 211 int drm_mode_addfb2(struct drm_device *dev, 222 int drm_mode_rmfb_ioctl(struct drm_device *dev, 224 int drm_mode_getfb(struct drm_device *dev, 276 int drm_mode_getplane(struct drm_device *dev, [all …]
|
A D | drm_internal.h | 49 bool drm_dev_needs_global_mutex(struct drm_device *dev); 52 void drm_lastclose(struct drm_device *dev); 61 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid() 85 void drm_managed_release(struct drm_device *dev); 135 int drm_getmagic(struct drm_device *dev, void *data, 137 int drm_authmagic(struct drm_device *dev, void *data, 145 bool drm_master_internal_acquire(struct drm_device *dev); 146 void drm_master_internal_release(struct drm_device *dev); 157 void drm_sysfs_lease_event(struct drm_device *dev); 160 int drm_gem_init(struct drm_device *dev); [all …]
|
A D | drm_agpsupport.c | 81 int drm_legacy_agp_info_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_info_ioctl() 103 int drm_legacy_agp_acquire(struct drm_device *dev) in drm_legacy_agp_acquire() 127 int drm_legacy_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_acquire_ioctl() 141 int drm_legacy_agp_release(struct drm_device *dev) in drm_legacy_agp_release() 151 int drm_legacy_agp_release_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_release_ioctl() 179 int drm_legacy_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_enable_ioctl() 230 int drm_legacy_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_alloc_ioctl() 325 int drm_legacy_agp_bind_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_bind_ioctl() 364 int drm_legacy_agp_free_ioctl(struct drm_device *dev, void *data, in drm_legacy_agp_free_ioctl() 384 struct drm_agp_head *drm_legacy_agp_init(struct drm_device *dev) in drm_legacy_agp_init() [all …]
|
/linux/include/drm/ |
A D | drm_drv.h | 239 void (*lastclose) (struct drm_device *); 256 void (*unload) (struct drm_device *); 268 void (*release) (struct drm_device *); 339 struct drm_device *dev, 376 struct drm_device *dev, 413 struct drm_device *dev, 462 int (*firstopen) (struct drm_device *); 465 int (*dma_quiescent) (struct drm_device *); 517 void drm_dev_get(struct drm_device *dev); 518 void drm_dev_put(struct drm_device *dev); [all …]
|
A D | drm_legacy.h | 42 struct drm_device; 196 int drm_legacy_irq_uninstall(struct drm_device *dev); 215 static inline void drm_pci_free(struct drm_device *dev, in drm_pci_free() 252 int drm_legacy_agp_acquire(struct drm_device *dev); 253 int drm_legacy_agp_release(struct drm_device *dev); 276 static inline int drm_legacy_agp_enable(struct drm_device *dev, in drm_legacy_agp_enable() 282 static inline int drm_legacy_agp_info(struct drm_device *dev, in drm_legacy_agp_info() 288 static inline int drm_legacy_agp_alloc(struct drm_device *dev, in drm_legacy_agp_alloc() 294 static inline int drm_legacy_agp_free(struct drm_device *dev, in drm_legacy_agp_free() 300 static inline int drm_legacy_agp_unbind(struct drm_device *dev, in drm_legacy_agp_unbind() [all …]
|
A D | drm_atomic_helper.h | 41 int drm_atomic_helper_check_modeset(struct drm_device *dev, 49 int drm_atomic_helper_check_planes(struct drm_device *dev, 51 int drm_atomic_helper_check(struct drm_device *dev, 55 int drm_atomic_helper_commit(struct drm_device *dev, 58 int drm_atomic_helper_async_check(struct drm_device *dev, 60 void drm_atomic_helper_async_commit(struct drm_device *dev, 85 int drm_atomic_helper_prepare_planes(struct drm_device *dev, 126 int drm_atomic_helper_disable_all(struct drm_device *dev, 128 void drm_atomic_helper_shutdown(struct drm_device *dev); 130 drm_atomic_helper_duplicate_state(struct drm_device *dev, [all …]
|
A D | drm_property.h | 189 struct drm_device *dev; 218 struct drm_device *dev; 250 struct drm_property *drm_property_create(struct drm_device *dev, 253 struct drm_property *drm_property_create_enum(struct drm_device *dev, 257 struct drm_property *drm_property_create_bitmask(struct drm_device *dev, 262 struct drm_property *drm_property_create_range(struct drm_device *dev, 268 struct drm_property *drm_property_create_object(struct drm_device *dev, 271 struct drm_property *drm_property_create_bool(struct drm_device *dev, 277 struct drm_property_blob *drm_property_create_blob(struct drm_device *dev, 280 struct drm_property_blob *drm_property_lookup_blob(struct drm_device *dev, [all …]
|
A D | drm_managed.h | 10 struct drm_device; 12 typedef void (*drmres_release_t)(struct drm_device *dev, void *res); 27 int __must_check __drmm_add_action(struct drm_device *dev, 43 int __must_check __drmm_add_action_or_reset(struct drm_device *dev, 47 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 59 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 75 static inline void *drmm_kmalloc_array(struct drm_device *dev, in drmm_kmalloc_array() 97 static inline void *drmm_kcalloc(struct drm_device *dev, in drmm_kcalloc() 103 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp); 105 void drmm_kfree(struct drm_device *dev, void *data);
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ioctls.h | 10 struct drm_device; 13 int i915_gem_busy_ioctl(struct drm_device *dev, void *data, 15 int i915_gem_create_ioctl(struct drm_device *dev, void *data, 17 int i915_gem_create_ext_ioctl(struct drm_device *dev, void *data, 19 int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data, 27 int i915_gem_madvise_ioctl(struct drm_device *dev, void *data, 29 int i915_gem_mmap_ioctl(struct drm_device *dev, void *data, 33 int i915_gem_pread_ioctl(struct drm_device *dev, void *data, 35 int i915_gem_pwrite_ioctl(struct drm_device *dev, void *data, 47 int i915_gem_userptr_ioctl(struct drm_device *dev, void *data, [all …]
|
/linux/drivers/gpu/drm/via/ |
A D | via_drv.h | 200 extern void via_driver_unload(struct drm_device *dev); 202 extern int via_init_context(struct drm_device *dev, int context); 205 extern int via_do_cleanup_map(struct drm_device *dev); 211 extern void via_driver_irq_preinstall(struct drm_device *dev); 212 extern int via_driver_irq_postinstall(struct drm_device *dev); 213 extern void via_driver_irq_uninstall(struct drm_device *dev); 215 extern int via_dma_cleanup(struct drm_device *dev); 217 extern int via_driver_dma_quiescent(struct drm_device *dev); 222 extern void via_reclaim_buffers_locked(struct drm_device *dev, 224 extern void via_lastclose(struct drm_device *dev); [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | hw.h | 41 void NVSetOwner(struct drm_device *, int owner); 48 void nouveau_hw_save_state(struct drm_device *, int head, 50 void nouveau_hw_load_state(struct drm_device *, int head, 59 static inline uint32_t NVReadCRTC(struct drm_device *dev, in NVReadCRTC() 70 static inline void NVWriteCRTC(struct drm_device *dev, in NVWriteCRTC() 90 static inline void NVWriteRAMDAC(struct drm_device *dev, in NVWriteRAMDAC() 109 static inline void nv_write_tmds(struct drm_device *dev, in nv_write_tmds() 119 static inline void NVWriteVgaCrtc(struct drm_device *dev, in NVWriteVgaCrtc() 180 static inline void NVWritePRMVIO(struct drm_device *dev, in NVWritePRMVIO() 259 nv_heads_tied(struct drm_device *dev) in nv_heads_tied() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
A D | psb_intel_drv.h | 67 size_t(*bo_offset) (struct drm_device *dev, void *bo); 83 struct drm_device *drm_dev; 188 extern void psb_intel_crt_init(struct drm_device *dev); 190 extern void psb_intel_dvo_init(struct drm_device *dev); 191 extern void psb_intel_tv_init(struct drm_device *dev); 195 extern void oaktrail_lvds_init(struct drm_device *dev, 198 extern void oaktrail_dsi_init(struct drm_device *dev, 201 extern void mid_dsi_init(struct drm_device *dev, 223 extern int intelfb_probe(struct drm_device *dev); 224 extern int intelfb_remove(struct drm_device *dev, [all …]
|
A D | psb_drv.h | 392 struct drm_device dev; 593 int (*chip_setup)(struct drm_device *dev); 596 void (*errata)(struct drm_device *dev); 599 int (*output_init)(struct drm_device *dev); 600 int (*hotplug)(struct drm_device *dev); 603 void (*init_pm)(struct drm_device *dev); 604 int (*save_regs)(struct drm_device *dev); 605 int (*restore_regs)(struct drm_device *dev); 608 int (*power_up)(struct drm_device *dev); 609 int (*power_down)(struct drm_device *dev); [all …]
|
A D | opregion.h | 26 extern void psb_intel_opregion_asle_intr(struct drm_device *dev); 27 extern void psb_intel_opregion_init(struct drm_device *dev); 28 extern void psb_intel_opregion_fini(struct drm_device *dev); 29 extern int psb_intel_opregion_setup(struct drm_device *dev); 30 extern void psb_intel_opregion_enable_asle(struct drm_device *dev); 34 extern inline void psb_intel_opregion_asle_intr(struct drm_device *dev) in psb_intel_opregion_asle_intr() 38 extern inline void psb_intel_opregion_init(struct drm_device *dev) in psb_intel_opregion_init() 42 extern inline void psb_intel_opregion_fini(struct drm_device *dev) in psb_intel_opregion_fini() 46 extern inline int psb_intel_opregion_setup(struct drm_device *dev) in psb_intel_opregion_setup() 51 extern inline void psb_intel_opregion_enable_asle(struct drm_device *dev) in psb_intel_opregion_enable_asle()
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_drv.h | 23 struct drm_device; 75 struct drm_device base; 236 to_vc4_dev(struct drm_device *dev) in to_vc4_dev() 296 struct drm_device *dev; 790 struct drm_device *dev, 871 int vc4_gem_init(struct drm_device *dev); 900 void vc4_irq_enable(struct drm_device *dev); 901 void vc4_irq_disable(struct drm_device *dev); 904 void vc4_irq_reset(struct drm_device *dev); 919 int vc4_kms_load(struct drm_device *dev); [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_display.h | 12 nouveau_framebuffer_new(struct drm_device *dev, 19 void (*dtor)(struct drm_device *); 20 int (*init)(struct drm_device *, bool resume, bool runtime); 21 void (*fini)(struct drm_device *, bool suspend, bool runtime); 40 nouveau_display(struct drm_device *dev) in nouveau_display() 45 int nouveau_display_create(struct drm_device *dev); 46 void nouveau_display_destroy(struct drm_device *dev); 48 void nouveau_display_hpd_resume(struct drm_device *dev); 50 int nouveau_display_suspend(struct drm_device *dev, bool runtime); 51 void nouveau_display_resume(struct drm_device *dev, bool runtime); [all …]
|
A D | nouveau_bios.h | 49 int bit_table(struct drm_device *, u8 id, struct bit_entry *); 77 struct drm_device *dev; 156 void *olddcb_table(struct drm_device *); 157 void *olddcb_outp(struct drm_device *, u8 idx); 158 int olddcb_outp_foreach(struct drm_device *, void *data, 160 u8 *olddcb_conntab(struct drm_device *); 161 u8 *olddcb_conn(struct drm_device *, u8 idx); 163 int nouveau_bios_init(struct drm_device *); 164 void nouveau_bios_takedown(struct drm_device *dev); 165 int nouveau_run_vbios_init(struct drm_device *); [all …]
|
A D | nouveau_led.h | 33 struct drm_device *dev; 39 nouveau_led(struct drm_device *dev) in nouveau_led() 46 int nouveau_led_init(struct drm_device *dev); 47 void nouveau_led_suspend(struct drm_device *dev); 48 void nouveau_led_resume(struct drm_device *dev); 49 void nouveau_led_fini(struct drm_device *dev); 51 static inline int nouveau_led_init(struct drm_device *dev) { return 0; }; in nouveau_led_init() 52 static inline void nouveau_led_suspend(struct drm_device *dev) { }; in nouveau_led_suspend() 53 static inline void nouveau_led_resume(struct drm_device *dev) { }; in nouveau_led_resume() 54 static inline void nouveau_led_fini(struct drm_device *dev) { }; in nouveau_led_fini()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_fbdev.h | 11 struct drm_device; 15 int intel_fbdev_init(struct drm_device *dev); 16 void intel_fbdev_initial_config_async(struct drm_device *dev); 19 void intel_fbdev_set_suspend(struct drm_device *dev, int state, bool synchronous); 20 void intel_fbdev_output_poll_changed(struct drm_device *dev); 21 void intel_fbdev_restore_mode(struct drm_device *dev); 23 static inline int intel_fbdev_init(struct drm_device *dev) in intel_fbdev_init() 28 static inline void intel_fbdev_initial_config_async(struct drm_device *dev) in intel_fbdev_initial_config_async() 40 static inline void intel_fbdev_set_suspend(struct drm_device *dev, int state, bool synchronous) in intel_fbdev_set_suspend() 44 static inline void intel_fbdev_output_poll_changed(struct drm_device *dev) in intel_fbdev_output_poll_changed() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos_drm_g2d.h | 8 extern int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data, 10 extern int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, void *data, 12 extern int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data, 15 extern int g2d_open(struct drm_device *drm_dev, struct drm_file *file); 16 extern void g2d_close(struct drm_device *drm_dev, struct drm_file *file); 18 static inline int exynos_g2d_get_ver_ioctl(struct drm_device *dev, void *data, in exynos_g2d_get_ver_ioctl() 24 static inline int exynos_g2d_set_cmdlist_ioctl(struct drm_device *dev, in exynos_g2d_set_cmdlist_ioctl() 31 static inline int exynos_g2d_exec_ioctl(struct drm_device *dev, void *data, in exynos_g2d_exec_ioctl() 37 int g2d_open(struct drm_device *drm_dev, struct drm_file *file) in g2d_open() 42 void g2d_close(struct drm_device *drm_dev, struct drm_file *file) in g2d_close()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gem.h | 49 struct drm_device *dev, 52 struct drm_device *dev, 55 int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data, 57 int amdgpu_gem_info_ioctl(struct drm_device *dev, void *data, 59 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data, 61 int amdgpu_gem_mmap_ioctl(struct drm_device *dev, void *data, 63 int amdgpu_gem_wait_idle_ioctl(struct drm_device *dev, void *data, 66 int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data, 68 int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data, 71 int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
|
/linux/drivers/gpu/drm/r128/ |
A D | r128_drv.h | 161 extern void r128_freelist_reset(struct drm_device *dev); 166 extern int r128_do_cleanup_cce(struct drm_device *dev); 168 extern int r128_enable_vblank(struct drm_device *dev, unsigned int pipe); 169 extern void r128_disable_vblank(struct drm_device *dev, unsigned int pipe); 170 extern u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe); 172 extern void r128_driver_irq_preinstall(struct drm_device *dev); 173 extern int r128_driver_irq_postinstall(struct drm_device *dev); 174 extern void r128_driver_irq_uninstall(struct drm_device *dev); 175 extern void r128_driver_lastclose(struct drm_device *dev); 176 extern int r128_driver_load(struct drm_device *dev, unsigned long flags); [all …]
|
/linux/drivers/gpu/drm/tegra/ |
A D | uapi.h | 15 struct drm_device; 38 int tegra_drm_ioctl_channel_open(struct drm_device *drm, void *data, 40 int tegra_drm_ioctl_channel_close(struct drm_device *drm, void *data, 42 int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data, 44 int tegra_drm_ioctl_channel_unmap(struct drm_device *drm, void *data, 46 int tegra_drm_ioctl_channel_submit(struct drm_device *drm, void *data, 48 int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data, 50 int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data, 52 int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data,
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_drv.h | 132 struct drm_device *dev; 139 struct drm_device *dev; 296 bool msm_use_mmu(struct drm_device *dev); 298 int msm_ioctl_gem_submit(struct drm_device *dev, void *data, 305 void msm_gem_shrinker_init(struct drm_device *dev); 306 void msm_gem_shrinker_cleanup(struct drm_device *dev); 329 struct drm_fb_helper *msm_fbdev_init(struct drm_device *dev); 330 void msm_fbdev_free(struct drm_device *dev); 362 struct drm_device *dev, in msm_dsi_modeset_init() 409 struct drm_device *dev, in msm_dp_modeset_init() [all …]
|