Home
last modified time | relevance | path

Searched refs:drm_device (Results 1 – 25 of 46) sorted by relevance

12

/linux-4.19.296/include/drm/
Ddrm_drv.h88 int (*load) (struct drm_device *, unsigned long flags);
108 int (*open) (struct drm_device *, struct drm_file *);
122 void (*postclose) (struct drm_device *, struct drm_file *);
150 void (*lastclose) (struct drm_device *);
167 void (*unload) (struct drm_device *);
177 void (*release) (struct drm_device *);
200 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe);
216 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe);
227 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe);
279 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe,
[all …]
Ddrm_agpsupport.h13 struct drm_device;
34 struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
40 struct drm_agp_head *drm_agp_init(struct drm_device *dev);
41 void drm_legacy_agp_clear(struct drm_device *dev);
42 int drm_agp_acquire(struct drm_device *dev);
43 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,
45 int drm_agp_release(struct drm_device *dev);
46 int drm_agp_release_ioctl(struct drm_device *dev, void *data,
48 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode);
49 int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
[all …]
Ddrm_atomic_helper.h39 int drm_atomic_helper_check_modeset(struct drm_device *dev,
47 int drm_atomic_helper_check_planes(struct drm_device *dev,
49 int drm_atomic_helper_check(struct drm_device *dev,
53 int drm_atomic_helper_commit(struct drm_device *dev,
56 int drm_atomic_helper_async_check(struct drm_device *dev,
58 void drm_atomic_helper_async_commit(struct drm_device *dev,
61 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
65 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev,
68 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev,
72 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev,
[all …]
Ddrm_property.h179 struct drm_device *dev;
208 struct drm_device *dev;
240 struct drm_property *drm_property_create(struct drm_device *dev,
243 struct drm_property *drm_property_create_enum(struct drm_device *dev,
247 struct drm_property *drm_property_create_bitmask(struct drm_device *dev,
252 struct drm_property *drm_property_create_range(struct drm_device *dev,
255 struct drm_property *drm_property_create_signed_range(struct drm_device *dev,
258 struct drm_property *drm_property_create_object(struct drm_device *dev,
261 struct drm_property *drm_property_create_bool(struct drm_device *dev,
265 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
[all …]
Ddrm_legacy.h156 int drm_legacy_addmap(struct drm_device *d, resource_size_t offset,
159 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map);
160 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map);
161 void drm_legacy_master_rmmaps(struct drm_device *dev,
163 struct drm_local_map *drm_legacy_getsarea(struct drm_device *dev);
166 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req);
167 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req);
190 void __drm_legacy_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah);
193 void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev);
194 void drm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev);
[all …]
Ddrm_crtc_helper.h46 void drm_helper_disable_unused_functions(struct drm_device *dev);
58 void drm_helper_resume_force_mode(struct drm_device *dev);
73 void drm_kms_helper_poll_init(struct drm_device *dev);
74 void drm_kms_helper_poll_fini(struct drm_device *dev);
75 bool drm_helper_hpd_irq_event(struct drm_device *dev);
76 void drm_kms_helper_hotplug_event(struct drm_device *dev);
78 void drm_kms_helper_poll_disable(struct drm_device *dev);
79 void drm_kms_helper_poll_enable(struct drm_device *dev);
Ddrm_modeset_helper.h28 void drm_helper_move_panel_connectors_to_head(struct drm_device *);
30 void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
34 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
37 int drm_mode_config_helper_suspend(struct drm_device *dev);
38 int drm_mode_config_helper_resume(struct drm_device *dev);
Ddrm_mode_config.h35 struct drm_device;
71 struct drm_framebuffer *(*fb_create)(struct drm_device *dev,
103 void (*output_poll_changed)(struct drm_device *dev);
113 enum drm_mode_status (*mode_valid)(struct drm_device *dev,
190 int (*atomic_check)(struct drm_device *dev,
272 int (*atomic_commit)(struct drm_device *dev,
291 struct drm_atomic_state *(*atomic_state_alloc)(struct drm_device *dev);
855 void drm_mode_config_init(struct drm_device *dev);
856 void drm_mode_config_reset(struct drm_device *dev);
857 void drm_mode_config_cleanup(struct drm_device *dev);
Ddrm_client.h9 struct drm_device;
64 struct drm_device *dev;
90 int drm_client_init(struct drm_device *dev, struct drm_client_dev *client,
95 void drm_client_dev_unregister(struct drm_device *dev);
96 void drm_client_dev_hotplug(struct drm_device *dev);
97 void drm_client_dev_restore(struct drm_device *dev);
Ddrm_prime.h61 struct drm_device;
67 struct dma_buf *drm_gem_prime_export(struct drm_device *dev,
70 int drm_gem_prime_handle_to_fd(struct drm_device *dev,
73 struct drm_gem_object *drm_gem_prime_import(struct drm_device *dev,
76 struct drm_gem_object *drm_gem_prime_import_dev(struct drm_device *dev,
80 int drm_gem_prime_fd_to_handle(struct drm_device *dev,
82 struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev,
Ddrm_connector.h36 struct drm_device;
858 struct drm_device *dev;
1159 int drm_connector_init(struct drm_device *dev,
1189 static inline struct drm_connector *drm_connector_lookup(struct drm_device *dev, in drm_connector_lookup()
1272 int drm_mode_create_dvi_i_properties(struct drm_device *dev);
1273 int drm_mode_create_tv_properties(struct drm_device *dev,
1276 int drm_mode_create_scaling_mode_property(struct drm_device *dev);
1282 int drm_mode_create_aspect_ratio_property(struct drm_device *dev);
1283 int drm_mode_create_content_type_property(struct drm_device *dev);
1287 int drm_mode_create_suggested_offset_properties(struct drm_device *dev);
[all …]
Ddrm_vblank.h35 struct drm_device;
94 struct drm_device *dev;
198 int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs);
209 bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe);
213 void drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe);
219 void drm_vblank_restore(struct drm_device *dev, unsigned int pipe);
222 bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
Ddrm_lease.h19 struct drm_device;
34 int drm_mode_create_lease_ioctl(struct drm_device *dev,
37 int drm_mode_list_lessees_ioctl(struct drm_device *dev,
40 int drm_mode_get_lease_ioctl(struct drm_device *dev,
43 int drm_mode_revoke_lease_ioctl(struct drm_device *dev,
Ddrm_file.h42 struct drm_device;
73 struct drm_device *dev;
374 int drm_event_reserve_init_locked(struct drm_device *dev,
378 int drm_event_reserve_init(struct drm_device *dev,
382 void drm_event_cancel_free(struct drm_device *dev,
384 void drm_send_event_locked(struct drm_device *dev, struct drm_pending_event *e);
385 void drm_send_event(struct drm_device *dev, struct drm_pending_event *e);
Ddrm_fb_helper.h173 struct drm_device *dev;
275 void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper,
277 int drm_fb_helper_init(struct drm_device *dev,
345 int drm_fb_helper_fbdev_setup(struct drm_device *dev,
350 void drm_fb_helper_fbdev_teardown(struct drm_device *dev);
352 void drm_fb_helper_lastclose(struct drm_device *dev);
353 void drm_fb_helper_output_poll_changed(struct drm_device *dev);
357 int drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp);
359 static inline void drm_fb_helper_prepare(struct drm_device *dev, in drm_fb_helper_prepare()
365 static inline int drm_fb_helper_init(struct drm_device *dev, in drm_fb_helper_init()
[all …]
Ddrm_modeset_lock.h122 struct drm_device;
126 void drm_modeset_lock_all(struct drm_device *dev);
127 void drm_modeset_unlock_all(struct drm_device *dev);
128 void drm_warn_on_modeset_not_all_locked(struct drm_device *dev);
130 int drm_modeset_lock_all_ctx(struct drm_device *dev,
Ddrm_modes.h462 struct drm_display_mode *drm_mode_create(struct drm_device *dev);
463 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode);
466 int drm_mode_convert_umode(struct drm_device *dev,
478 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev,
482 struct drm_display_mode *drm_gtf_mode(struct drm_device *dev,
485 struct drm_display_mode *drm_gtf_mode_complex(struct drm_device *dev,
510 struct drm_display_mode *drm_mode_duplicate(struct drm_device *dev,
523 enum drm_mode_status drm_mode_validate_driver(struct drm_device *dev,
530 void drm_mode_prune_invalid(struct drm_device *dev,
541 drm_mode_create_from_cmdline_mode(struct drm_device *dev,
Ddrm_fb_cma_helper.h13 struct drm_device;
19 int drm_fb_cma_fbdev_init(struct drm_device *dev, unsigned int preferred_bpp,
21 void drm_fb_cma_fbdev_fini(struct drm_device *dev);
23 struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev,
Ddrm_gem_framebuffer_helper.h4 struct drm_device;
22 drm_gem_fb_create_with_funcs(struct drm_device *dev, struct drm_file *file,
26 drm_gem_fb_create(struct drm_device *dev, struct drm_file *file,
35 drm_gem_fbdev_fb_create(struct drm_device *dev,
Ddrm_irq.h27 struct drm_device;
29 int drm_irq_install(struct drm_device *dev, int irq);
30 int drm_irq_uninstall(struct drm_device *dev);
Ddrm_of.h13 struct drm_device;
20 uint32_t drm_of_crtc_port_mask(struct drm_device *dev,
22 uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
39 static inline uint32_t drm_of_crtc_port_mask(struct drm_device *dev, in drm_of_crtc_port_mask()
45 static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, in drm_of_find_possible_crtcs()
Ddrm_ioctl.h40 struct drm_device;
54 typedef int drm_ioctl_t(struct drm_device *dev, void *data,
178 int drm_noop(struct drm_device *dev, void *data,
180 int drm_invalid_op(struct drm_device *dev, void *data,
Ddrm_gem.h77 struct drm_device *dev;
179 int drm_gem_object_init(struct drm_device *dev,
181 void drm_gem_private_object_init(struct drm_device *dev,
290 int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
293 struct drm_device *dev,
Ddrm_gem_cma_helper.h68 struct drm_device *drm,
73 struct drm_device *drm,
80 struct drm_gem_cma_object *drm_gem_cma_create(struct drm_device *drm,
98 drm_gem_cma_prime_import_sg_table(struct drm_device *dev,
Ddrm_pci.h38 struct drm_device;
42 struct drm_dma_handle *drm_pci_alloc(struct drm_device *dev, size_t size,
44 void drm_pci_free(struct drm_device *dev, struct drm_dma_handle * dmah);

12