| /linux/drivers/gpu/drm/ |
| H A D | drm_crtc_internal.h | 51 struct drm_device; 79 int drm_crtc_register_all(struct drm_device *dev); 80 void drm_crtc_unregister_all(struct drm_device *dev); 86 drm_create_scaling_filter_prop(struct drm_device *dev, 89 int drm_mode_getcrtc(struct drm_device *dev, 91 int drm_mode_setcrtc(struct drm_device *dev, 96 int drm_modeset_register_all(struct drm_device *dev); 97 void drm_modeset_unregister_all(struct drm_device *dev); 98 void drm_mode_config_validate(struct drm_device *dev); 104 int drm_mode_getresources(struct drm_device *dev, [all …]
|
| H A D | drm_internal.h | 53 void drm_client_debugfs_init(struct drm_device *dev); 55 static inline void drm_client_debugfs_init(struct drm_device *dev) in drm_client_debugfs_init() 61 void drm_client_sysrq_register(struct drm_device *dev); 62 void drm_client_sysrq_unregister(struct drm_device *dev); 64 static inline void drm_client_sysrq_register(struct drm_device *dev) in drm_client_sysrq_register() 66 static inline void drm_client_sysrq_unregister(struct drm_device *dev) in drm_client_sysrq_unregister() 72 bool drm_dev_needs_global_mutex(struct drm_device *dev); 79 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master); 83 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid() 92 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | vlv_sideband.h | 14 struct drm_device; 16 static inline void vlv_bunit_get(struct drm_device *drm) in vlv_bunit_get() 21 static inline u32 vlv_bunit_read(struct drm_device *drm, u32 reg) in vlv_bunit_read() 26 static inline void vlv_bunit_write(struct drm_device *drm, u32 reg, u32 val) in vlv_bunit_write() 31 static inline void vlv_bunit_put(struct drm_device *drm) in vlv_bunit_put() 36 static inline void vlv_cck_get(struct drm_device *drm) in vlv_cck_get() 41 static inline u32 vlv_cck_read(struct drm_device *drm, u32 reg) in vlv_cck_read() 46 static inline void vlv_cck_write(struct drm_device *drm, u32 reg, u32 val) in vlv_cck_write() 51 static inline void vlv_cck_put(struct drm_device *drm) in vlv_cck_put() 56 static inline void vlv_ccu_get(struct drm_device *drm) in vlv_ccu_get() [all …]
|
| H A D | vlv_clock.h | 7 struct drm_device; 10 int vlv_clock_get_hpll_vco(struct drm_device *drm); 11 int vlv_clock_get_hrawclk(struct drm_device *drm); 12 int vlv_clock_get_czclk(struct drm_device *drm); 13 int vlv_clock_get_cdclk(struct drm_device *drm); 14 int vlv_clock_get_gpll(struct drm_device *drm); 16 static inline int vlv_clock_get_hpll_vco(struct drm_device *drm) in vlv_clock_get_hpll_vco() 20 static inline int vlv_clock_get_hrawclk(struct drm_device *drm) in vlv_clock_get_hrawclk() 24 static inline int vlv_clock_get_czclk(struct drm_device *drm) in vlv_clock_get_czclk() 28 static inline int vlv_clock_get_cdclk(struct drm_device *drm) in vlv_clock_get_cdclk() [all …]
|
| /linux/include/drm/ |
| H A D | drm_drv.h | 198 int (*load) (struct drm_device *, unsigned long flags); 218 int (*open) (struct drm_device *, struct drm_file *); 232 void (*postclose) (struct drm_device *, struct drm_file *); 249 void (*unload) (struct drm_device *); 261 void (*release) (struct drm_device *); 268 void (*master_set)(struct drm_device *dev, struct drm_file *file_priv, 275 void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv); 291 struct drm_gem_object *(*gem_create_object)(struct drm_device *dev, 299 int (*prime_handle_to_fd)(struct drm_device *dev, struct drm_file *file_priv, 306 int (*prime_fd_to_handle)(struct drm_device *dev, struct drm_file *file_priv, [all …]
|
| H A D | drm_atomic_helper.h | 50 int drm_atomic_helper_check_modeset(struct drm_device *dev, 60 int drm_atomic_helper_check_planes(struct drm_device *dev, 63 void drm_atomic_helper_commit_encoder_bridge_disable(struct drm_device *dev, 65 void drm_atomic_helper_commit_crtc_disable(struct drm_device *dev, 67 void drm_atomic_helper_commit_encoder_bridge_post_disable(struct drm_device *dev, 69 int drm_atomic_helper_check(struct drm_device *dev, 73 int drm_atomic_helper_commit(struct drm_device *dev, 76 int drm_atomic_helper_async_check(struct drm_device *dev, 78 void drm_atomic_helper_async_commit(struct drm_device *dev, 81 int drm_atomic_helper_wait_for_fences(struct drm_device *dev, [all …]
|
| H A D | drm_client_event.h | 8 struct drm_device; 11 void drm_client_dev_unregister(struct drm_device *dev); 12 void drm_client_dev_hotplug(struct drm_device *dev); 13 void drm_client_dev_restore(struct drm_device *dev, bool force); 14 void drm_client_dev_suspend(struct drm_device *dev); 15 void drm_client_dev_resume(struct drm_device *dev); 17 static inline void drm_client_dev_unregister(struct drm_device *dev) in drm_client_dev_unregister() 19 static inline void drm_client_dev_hotplug(struct drm_device *dev) in drm_client_dev_hotplug() 21 static inline void drm_client_dev_restore(struct drm_device *dev, bool force) in drm_client_dev_restore() 23 static inline void drm_client_dev_suspend(struct drm_device *dev) in drm_client_dev_suspend() [all …]
|
| H A D | drm_managed.h | 10 struct drm_device; 13 typedef void (*drmres_release_t)(struct drm_device *dev, void *res); 28 int __must_check __drmm_add_action(struct drm_device *dev, 44 int __must_check __drmm_add_action_or_reset(struct drm_device *dev, 48 void drmm_release_action(struct drm_device *dev, 52 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 64 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 80 static inline void *drmm_kmalloc_array(struct drm_device *dev, in drmm_kmalloc_array() 102 static inline void *drmm_kcalloc(struct drm_device *dev, in drmm_kcalloc() 108 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp); [all …]
|
| H A D | drm_probe_helper.h | 10 struct drm_device; 20 void drmm_kms_helper_poll_init(struct drm_device *dev); 21 void drm_kms_helper_poll_init(struct drm_device *dev); 22 void drm_kms_helper_poll_fini(struct drm_device *dev); 23 bool drm_helper_hpd_irq_event(struct drm_device *dev); 25 void drm_kms_helper_hotplug_event(struct drm_device *dev); 28 void drm_kms_helper_poll_disable(struct drm_device *dev); 29 void drm_kms_helper_poll_enable(struct drm_device *dev); 30 void drm_kms_helper_poll_reschedule(struct drm_device *dev);
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ioctls.h | 9 struct drm_device; 12 int i915_gem_busy_ioctl(struct drm_device *dev, void *data, 14 int i915_gem_create_ioctl(struct drm_device *dev, void *data, 16 int i915_gem_create_ext_ioctl(struct drm_device *dev, void *data, 18 int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data, 20 int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data, 22 int i915_gem_get_caching_ioctl(struct drm_device *dev, void *data, 24 int i915_gem_get_tiling_ioctl(struct drm_device *dev, void *data, 26 int i915_gem_madvise_ioctl(struct drm_device *dev, void *data, 28 int i915_gem_mmap_ioctl(struct drm_device *dev, void *data, [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A 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 …]
|
| H A D | disp.h | 94 nv04_display(struct drm_device *dev) in nv04_display() 100 int nv04_display_create(struct drm_device *); 105 int nv04_crtc_create(struct drm_device *, int index); 116 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent); 117 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent, 119 void nv04_dfp_disable(struct drm_device *dev, int head); 123 int nv04_tv_identify(struct drm_device *dev, int i2c_index); 130 void nouveau_overlay_init(struct drm_device *dev); 133 nv_two_heads(struct drm_device *dev) in nv_two_heads() 146 nv_gf4_disp_arch(struct drm_device *dev) in nv_gf4_disp_arch() [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bios.h | 49 int bit_table(struct drm_device *, u8 id, struct bit_entry *); 78 struct drm_device *dev; 157 void *olddcb_table(struct drm_device *); 158 void *olddcb_outp(struct drm_device *, u8 idx); 159 int olddcb_outp_foreach(struct drm_device *, void *data, 160 int (*)(struct drm_device *, void *, int idx, u8 *outp)); 161 u8 *olddcb_conntab(struct drm_device *); 162 u8 *olddcb_conn(struct drm_device *, u8 idx); 164 int nouveau_bios_init(struct drm_device *); 165 void nouveau_bios_takedown(struct drm_device *dev); [all …]
|
| H A D | nouveau_display.h | 14 nouveau_framebuffer_new(struct drm_device *dev, 22 void (*dtor)(struct drm_device *); 23 int (*init)(struct drm_device *, bool resume, bool runtime); 24 void (*fini)(struct drm_device *, bool suspend, bool runtime); 43 nouveau_display(struct drm_device *dev) in nouveau_display() 48 int nouveau_display_create(struct drm_device *dev); 49 void nouveau_display_destroy(struct drm_device *dev); 50 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime); 52 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime); 53 int nouveau_display_suspend(struct drm_device *dev, bool runtime); [all …]
|
| H 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/gma500/ |
| H 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()
|
| H A D | psb_intel_drv.h | 66 size_t(*bo_offset) (struct drm_device *dev, void *bo); 86 struct drm_device *drm_dev; 180 struct gma_i2c_chan *gma_i2c_create(struct drm_device *dev, const u32 reg, 186 extern void psb_intel_crtc_init(struct drm_device *dev, int pipe, 188 extern bool psb_intel_sdvo_init(struct drm_device *dev, int output_device); 189 extern void psb_intel_lvds_init(struct drm_device *dev, 191 extern void psb_intel_lvds_set_brightness(struct drm_device *dev, int level); 192 extern void oaktrail_lvds_init(struct drm_device *dev, 194 struct gma_i2c_chan *oaktrail_lvds_i2c_init(struct drm_device *dev); 206 extern struct drm_display_mode *psb_intel_crtc_mode_get(struct drm_device *dev, [all …]
|
| H A D | psb_drv.h | 378 struct drm_device dev; 539 static inline struct drm_psb_private *to_drm_psb_private(struct drm_device *dev) in to_drm_psb_private() 560 int (*chip_setup)(struct drm_device *dev); 561 void (*chip_teardown)(struct drm_device *dev); 563 void (*errata)(struct drm_device *dev); 566 int (*output_init)(struct drm_device *dev); 567 int (*hotplug)(struct drm_device *dev); 568 void (*hotplug_enable)(struct drm_device *dev, bool on); 570 void (*init_pm)(struct drm_device *dev); 571 int (*save_regs)(struct drm_device *dev); [all …]
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_drv.h | 28 struct drm_device; 92 struct drm_device base; 284 struct drm_device *dev; 493 struct drm_encoder *vc4_find_encoder_by_type(struct drm_device *drm, in vc4_find_encoder_by_type() 904 struct drm_gem_object *vc4_create_object(struct drm_device *dev, size_t size); 905 struct vc4_bo *vc4_bo_create(struct drm_device *dev, size_t size, 908 struct drm_device *dev, 910 int vc4_create_bo_ioctl(struct drm_device *dev, void *data, 912 int vc4_create_shader_bo_ioctl(struct drm_device *dev, void *data, 914 int vc4_mmap_bo_ioctl(struct drm_device *dev, void *data, [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H 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 static inline int g2d_open(struct drm_device *drm_dev, struct drm_file *file) in g2d_open() 42 static inline void g2d_close(struct drm_device *drm_dev, struct drm_file *file) in g2d_close()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gem.h | 50 struct drm_device *dev, 53 struct drm_device *dev, 56 int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data, 58 int amdgpu_gem_info_ioctl(struct drm_device *dev, void *data, 60 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data, 62 int amdgpu_gem_mmap_ioctl(struct drm_device *dev, void *data, 64 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, 70 int amdgpu_gem_list_handles_ioctl(struct drm_device *dev, void *data, [all …]
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_drv.h | 75 struct drm_device *dev; 78 int (*kms_init)(struct drm_device *dev); 223 int msm_atomic_check(struct drm_device *dev, struct drm_atomic_state *state); 224 struct drm_atomic_state *msm_atomic_state_alloc(struct drm_device *dev); 229 int msm_register_mmu(struct drm_device *dev, struct msm_mmu *mmu); 230 void msm_unregister_mmu(struct drm_device *dev, struct msm_mmu *mmu); 232 struct drm_gpuvm *msm_kms_init_vm(struct drm_device *dev, struct device *mdss_dev); 233 bool msm_use_mmu(struct drm_device *dev); 235 int msm_ioctl_gem_submit(struct drm_device *dev, void *data, 237 int msm_ioctl_vm_bind(struct drm_device *dev, void *data, [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | uapi.h | 15 struct drm_device; 37 int tegra_drm_ioctl_channel_open(struct drm_device *drm, void *data, 39 int tegra_drm_ioctl_channel_close(struct drm_device *drm, void *data, 41 int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data, 43 int tegra_drm_ioctl_channel_unmap(struct drm_device *drm, void *data, 45 int tegra_drm_ioctl_channel_submit(struct drm_device *drm, void *data, 47 int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data, 49 int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data, 51 int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data,
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_gem.h | 18 struct drm_device; 32 void omap_gem_init(struct drm_device *dev); 33 void omap_gem_deinit(struct drm_device *dev); 36 int omap_gem_resume(struct drm_device *dev); 45 struct drm_gem_object *omap_gem_new(struct drm_device *dev, 47 struct drm_gem_object *omap_gem_new_dmabuf(struct drm_device *dev, size_t size, 49 int omap_gem_new_handle(struct drm_device *dev, struct drm_file *file, 54 int omap_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev, 56 int omap_gem_dumb_create(struct drm_file *file, struct drm_device *dev, 65 struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev,
|
| /linux/include/drm/clients/ |
| H A D | drm_client_setup.h | 8 struct drm_device; 12 void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format); 13 void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc); 14 void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color_mode); 16 static inline void drm_client_setup(struct drm_device *dev, in drm_client_setup() 19 static inline void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc) in drm_client_setup_with_fourcc() 21 static inline void drm_client_setup_with_color_mode(struct drm_device *dev, in drm_client_setup_with_color_mode()
|