| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_legacy.h | 38 struct drm_device; 50 void drm_legacy_ctxbitmap_init(struct drm_device *dev); 51 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev); 52 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file); 54 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {} in drm_legacy_ctxbitmap_init() 55 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {} in drm_legacy_ctxbitmap_cleanup() 56 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {} in drm_legacy_ctxbitmap_flush() 59 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle); 62 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f); 63 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f); [all …]
|
| D | drm_crtc_internal.h | 45 struct drm_device; 69 int drm_crtc_register_all(struct drm_device *dev); 70 void drm_crtc_unregister_all(struct drm_device *dev); 76 int drm_mode_getcrtc(struct drm_device *dev, 78 int drm_mode_setcrtc(struct drm_device *dev, 83 int drm_modeset_register_all(struct drm_device *dev); 84 void drm_modeset_unregister_all(struct drm_device *dev); 90 int drm_mode_getresources(struct drm_device *dev, 95 int drm_mode_create_dumb(struct drm_device *dev, 98 int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle, [all …]
|
| D | drm_internal.h | 46 void drm_lastclose(struct drm_device *dev); 49 int drm_irq_by_busid(struct drm_device *dev, void *data, 51 void drm_pci_agp_destroy(struct drm_device *dev); 52 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master); 55 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, 57 int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data, 70 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe); 71 void drm_vblank_cleanup(struct drm_device *dev); 74 int drm_wait_vblank_ioctl(struct drm_device *dev, void *data, 76 int drm_legacy_modeset_ctl_ioctl(struct drm_device *dev, void *data, [all …]
|
| /Linux-v5.4/include/drm/ |
| D | drm_drv.h | 180 int (*load) (struct drm_device *, unsigned long flags); 200 int (*open) (struct drm_device *, struct drm_file *); 214 void (*postclose) (struct drm_device *, struct drm_file *); 242 void (*lastclose) (struct drm_device *); 259 void (*unload) (struct drm_device *); 269 void (*release) (struct drm_device *); 292 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe); 308 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe); 319 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe); 371 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe, [all …]
|
| D | drm_agpsupport.h | 13 struct drm_device; 35 struct drm_agp_head *drm_agp_init(struct drm_device *dev); 36 void drm_legacy_agp_clear(struct drm_device *dev); 37 int drm_agp_acquire(struct drm_device *dev); 38 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, 40 int drm_agp_release(struct drm_device *dev); 41 int drm_agp_release_ioctl(struct drm_device *dev, void *data, 43 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode); 44 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, 46 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info); [all …]
|
| 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, 63 int drm_atomic_helper_wait_for_fences(struct drm_device *dev, 67 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, 70 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev, 74 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, [all …]
|
| D | drm_property.h | 182 struct drm_device *dev; 211 struct drm_device *dev; 243 struct drm_property *drm_property_create(struct drm_device *dev, 246 struct drm_property *drm_property_create_enum(struct drm_device *dev, 250 struct drm_property *drm_property_create_bitmask(struct drm_device *dev, 255 struct drm_property *drm_property_create_range(struct drm_device *dev, 258 struct drm_property *drm_property_create_signed_range(struct drm_device *dev, 261 struct drm_property *drm_property_create_object(struct drm_device *dev, 264 struct drm_property *drm_property_create_bool(struct drm_device *dev, 268 void drm_property_destroy(struct drm_device *dev, struct drm_property *property); [all …]
|
| D | drm_legacy.h | 40 struct drm_device; 159 int drm_legacy_addmap(struct drm_device *d, resource_size_t offset, 162 struct drm_local_map *drm_legacy_findmap(struct drm_device *dev, unsigned int token); 163 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map); 164 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map); 165 struct drm_local_map *drm_legacy_getsarea(struct drm_device *dev); 168 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req); 169 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req); 192 void __drm_legacy_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah); 195 void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev); [all …]
|
| /Linux-v5.4/drivers/gpu/drm/i915/gem/ |
| 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_execbuffer_ioctl(struct drm_device *dev, void *data, 19 int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data, 21 int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data, 23 int i915_gem_get_caching_ioctl(struct drm_device *dev, void *data, 25 int i915_gem_get_tiling_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, [all …]
|
| /Linux-v5.4/drivers/gpu/drm/gma500/ |
| D | psb_irq.h | 15 struct drm_device; 17 bool sysirq_init(struct drm_device *dev); 18 void sysirq_uninit(struct drm_device *dev); 20 void psb_irq_preinstall(struct drm_device *dev); 21 int psb_irq_postinstall(struct drm_device *dev); 22 void psb_irq_uninstall(struct drm_device *dev); 25 int psb_irq_enable_dpst(struct drm_device *dev); 26 int psb_irq_disable_dpst(struct drm_device *dev); 27 void psb_irq_turn_on_dpst(struct drm_device *dev); 28 void psb_irq_turn_off_dpst(struct drm_device *dev); [all …]
|
| D | psb_intel_drv.h | 86 size_t(*bo_offset) (struct drm_device *dev, void *bo); 102 struct drm_device *drm_dev; 196 struct psb_intel_i2c_chan *psb_intel_i2c_create(struct drm_device *dev, 203 extern void psb_intel_crtc_init(struct drm_device *dev, int pipe, 205 extern void psb_intel_crt_init(struct drm_device *dev); 206 extern bool psb_intel_sdvo_init(struct drm_device *dev, int output_device); 207 extern void psb_intel_dvo_init(struct drm_device *dev); 208 extern void psb_intel_tv_init(struct drm_device *dev); 209 extern void psb_intel_lvds_init(struct drm_device *dev, 211 extern void psb_intel_lvds_set_brightness(struct drm_device *dev, int level); [all …]
|
| 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()
|
| D | psb_drv.h | 430 struct drm_device *dev; 631 int (*chip_setup)(struct drm_device *dev); 632 void (*chip_teardown)(struct drm_device *dev); 634 void (*errata)(struct drm_device *dev); 637 int (*output_init)(struct drm_device *dev); 638 int (*hotplug)(struct drm_device *dev); 639 void (*hotplug_enable)(struct drm_device *dev, bool on); 641 void (*init_pm)(struct drm_device *dev); 642 int (*save_regs)(struct drm_device *dev); 643 int (*restore_regs)(struct drm_device *dev); [all …]
|
| /Linux-v5.4/drivers/gpu/drm/nouveau/ |
| D | nouveau_display.h | 28 int nouveau_framebuffer_new(struct drm_device *, 34 void (*dtor)(struct drm_device *); 35 int (*init)(struct drm_device *, bool resume, bool runtime); 36 void (*fini)(struct drm_device *, bool suspend); 53 nouveau_display(struct drm_device *dev) in nouveau_display() 58 int nouveau_display_create(struct drm_device *dev); 59 void nouveau_display_destroy(struct drm_device *dev); 60 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime); 61 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime); 62 int nouveau_display_suspend(struct drm_device *dev, bool runtime); [all …]
|
| 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, 159 int (*)(struct drm_device *, void *, int idx, u8 *outp)); 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); [all …]
|
| 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-v5.4/drivers/gpu/drm/via/ |
| D | via_drv.h | 189 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 190 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv); 191 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv); 192 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 193 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 194 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv); 195 extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv); 196 extern int via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv); 197 extern int via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv); 199 extern int via_driver_load(struct drm_device *dev, unsigned long chipset); [all …]
|
| /Linux-v5.4/drivers/gpu/drm/udl/ |
| D | udl_drv.h | 56 struct drm_device drm; 98 int udl_modeset_init(struct drm_device *dev); 99 void udl_modeset_restore(struct drm_device *dev); 100 void udl_modeset_cleanup(struct drm_device *dev); 101 int udl_connector_init(struct drm_device *dev, struct drm_encoder *encoder); 103 struct drm_encoder *udl_encoder_init(struct drm_device *dev); 105 struct urb *udl_get_urb(struct drm_device *dev); 107 int udl_submit_urb(struct drm_device *dev, struct urb *urb, size_t len); 111 void udl_fini(struct drm_device *dev); 113 int udl_fbdev_init(struct drm_device *dev); [all …]
|
| /Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
| D | hw.h | 37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value); 38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index); 39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value); 40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index); 41 void NVSetOwner(struct drm_device *, int owner); 42 void NVBlankScreen(struct drm_device *, int head, bool blank); 43 int nouveau_hw_get_pllvals(struct drm_device *, enum nvbios_pll_type plltype, 46 int nouveau_hw_get_clock(struct drm_device *, enum nvbios_pll_type plltype); 47 void nouveau_hw_save_vga_fonts(struct drm_device *, bool save); 48 void nouveau_hw_save_state(struct drm_device *, int head, [all …]
|
| /Linux-v5.4/drivers/gpu/drm/vc4/ |
| D | vc4_drv.h | 20 struct drm_device; 72 struct drm_device *dev; 231 to_vc4_dev(struct drm_device *dev) in to_vc4_dev() 291 struct drm_device *dev; 708 struct drm_gem_object *vc4_create_object(struct drm_device *dev, size_t size); 710 struct vc4_bo *vc4_bo_create(struct drm_device *dev, size_t size, 713 struct drm_device *dev, 716 int vc4_create_bo_ioctl(struct drm_device *dev, void *data, 718 int vc4_create_shader_bo_ioctl(struct drm_device *dev, void *data, 720 int vc4_mmap_bo_ioctl(struct drm_device *dev, void *data, [all …]
|
| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| 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-v5.4/drivers/gpu/drm/exynos/ |
| 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-v5.4/drivers/gpu/drm/msm/ |
| D | msm_drv.h | 130 struct drm_device *dev; 138 struct drm_device *dev; 231 struct drm_atomic_state *msm_atomic_state_alloc(struct drm_device *dev); 257 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu); 258 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu); 260 bool msm_use_mmu(struct drm_device *dev); 263 int msm_ioctl_gem_submit(struct drm_device *dev, void *data, 266 void msm_gem_shrinker_init(struct drm_device *dev); 267 void msm_gem_shrinker_cleanup(struct drm_device *dev); 284 int msm_gem_dumb_create(struct drm_file *file, struct drm_device *dev, [all …]
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_gem.h | 54 struct drm_device *dev, 57 struct drm_device *dev, 60 int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data, 62 int amdgpu_gem_info_ioctl(struct drm_device *dev, void *data, 64 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data, 66 int amdgpu_gem_mmap_ioctl(struct drm_device *dev, void *data, 68 int amdgpu_gem_wait_idle_ioctl(struct drm_device *dev, void *data, 70 int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data, 72 int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data, 75 int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | radeon_drv.c | 113 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); 114 void radeon_driver_unload_kms(struct drm_device *dev); 115 void radeon_driver_lastclose_kms(struct drm_device *dev); 116 int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); 117 void radeon_driver_postclose_kms(struct drm_device *dev, 119 int radeon_suspend_kms(struct drm_device *dev, bool suspend, 121 int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon); 122 u32 radeon_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe); 123 int radeon_enable_vblank_kms(struct drm_device *dev, unsigned int pipe); 124 void radeon_disable_vblank_kms(struct drm_device *dev, unsigned int pipe); [all …]
|