| /dragonfly/sys/dev/drm/include/drm/ |
| HD | drm_drv.h | 91 int (*load) (struct drm_device *, unsigned long flags); 111 int (*open) (struct drm_device *, struct drm_file *); 125 void (*postclose) (struct drm_device *, struct drm_file *); 153 void (*lastclose) (struct drm_device *); 170 void (*unload) (struct drm_device *); 180 void (*release) (struct drm_device *); 203 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe); 219 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe); 230 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe); 282 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe, [all …]
|
| HD | drm_agpsupport.h | 17 struct drm_device; 41 struct agp_memory *drm_agp_bind_pages(struct drm_device *dev, 47 struct drm_agp_head *drm_agp_init(struct drm_device *dev); 48 void drm_legacy_agp_clear(struct drm_device *dev); 49 int drm_agp_acquire(struct drm_device *dev); 50 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, 52 int drm_agp_release(struct drm_device *dev); 53 int drm_agp_release_ioctl(struct drm_device *dev, void *data, 55 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode); 56 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, [all …]
|
| HD | drm_atomic_helper.h | 39 int drm_atomic_helper_check_modeset(struct drm_device *dev, 41 int drm_atomic_helper_check_planes(struct drm_device *dev, 43 int drm_atomic_helper_check(struct drm_device *dev, 47 int drm_atomic_helper_commit(struct drm_device *dev, 50 int drm_atomic_helper_async_check(struct drm_device *dev, 52 void drm_atomic_helper_async_commit(struct drm_device *dev, 55 int drm_atomic_helper_wait_for_fences(struct drm_device *dev, 59 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, 62 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev, 66 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, [all …]
|
| HD | drm_property.h | 179 struct drm_device *dev; 208 struct drm_device *dev; 240 struct drm_property *drm_property_create(struct drm_device *dev, int flags, 242 struct drm_property *drm_property_create_enum(struct drm_device *dev, int flags, 246 struct drm_property *drm_property_create_bitmask(struct drm_device *dev, 251 struct drm_property *drm_property_create_range(struct drm_device *dev, int flags, 254 struct drm_property *drm_property_create_signed_range(struct drm_device *dev, 257 struct drm_property *drm_property_create_object(struct drm_device *dev, 259 struct drm_property *drm_property_create_bool(struct drm_device *dev, int flags, 263 void drm_property_destroy(struct drm_device *dev, struct drm_property *property); [all …]
|
| HD | drm_legacy.h | 156 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); 165 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req); 166 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req); 188 void __drm_legacy_pci_free(struct drm_device *dev, drm_dma_handle_t * dmah); 191 void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev); 192 void drm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev); [all …]
|
| HD | drm_crtc_helper.h | 46 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);
|
| HD | drm_connector.h | 36 struct drm_device; 734 struct drm_device *dev; 933 int drm_connector_init(struct drm_device *dev, 954 static inline struct drm_connector *drm_connector_lookup(struct drm_device *dev, in drm_connector_lookup() 1018 int drm_mode_create_dvi_i_properties(struct drm_device *dev); 1019 int drm_mode_create_tv_properties(struct drm_device *dev, 1022 int drm_mode_create_scaling_mode_property(struct drm_device *dev); 1025 int drm_mode_create_aspect_ratio_property(struct drm_device *dev); 1026 int drm_mode_create_suggested_offset_properties(struct drm_device *dev); 1050 struct drm_device *dev; [all …]
|
| HD | drm_prime.h | 58 struct drm_device; 64 struct dma_buf *drm_gem_prime_export(struct drm_device *dev, 67 int drm_gem_prime_handle_to_fd(struct drm_device *dev, 70 struct drm_gem_object *drm_gem_prime_import(struct drm_device *dev, 73 struct drm_gem_object *drm_gem_prime_import_dev(struct drm_device *dev, 77 int drm_gem_prime_fd_to_handle(struct drm_device *dev, 79 struct dma_buf *drm_gem_dmabuf_export(struct drm_device *dev,
|
| HD | drm_mode_config.h | 35 struct drm_device; 70 struct drm_framebuffer *(*fb_create)(struct drm_device *dev, 102 void (*output_poll_changed)(struct drm_device *dev); 178 int (*atomic_check)(struct drm_device *dev, 260 int (*atomic_commit)(struct drm_device *dev, 276 struct drm_atomic_state *(*atomic_state_alloc)(struct drm_device *dev); 782 void drm_mode_config_init(struct drm_device *dev); 783 void drm_mode_config_reset(struct drm_device *dev); 784 void drm_mode_config_cleanup(struct drm_device *dev);
|
| HD | drm_file.h | 43 struct drm_device; 71 struct drm_device *dev; 323 struct drm_device *dev; 380 int drm_event_reserve_init_locked(struct drm_device *dev, 384 int drm_event_reserve_init(struct drm_device *dev, 388 void drm_event_cancel_free(struct drm_device *dev, 390 void drm_send_event_locked(struct drm_device *dev, struct drm_pending_event *e); 391 void drm_send_event(struct drm_device *dev, struct drm_pending_event *e);
|
| HD | drm_vblank.h | 35 struct drm_device; 78 struct drm_device *dev; 162 int drm_vblank_init(struct drm_device *dev, unsigned int num_crtcs); 173 bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe); 177 void drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe); 184 bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
|
| HD | drm_pci.h | 38 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); 65 int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask); 66 int drm_pcie_get_max_link_width(struct drm_device *dev, u32 *mlw);
|
| /dragonfly/sys/dev/drm/ |
| HD | drm_legacy.h | 35 struct drm_device; 45 void drm_legacy_ctxbitmap_init(struct drm_device *dev); 46 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev); 47 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle); 48 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file); 50 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f); 51 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f); 52 int drm_legacy_getctx(struct drm_device *d, void *v, struct drm_file *f); 53 int drm_legacy_switchctx(struct drm_device *d, void *v, struct drm_file *f); 54 int drm_legacy_newctx(struct drm_device *d, void *v, struct drm_file *f); [all …]
|
| HD | drm_crtc_internal.h | 43 int drm_crtc_register_all(struct drm_device *dev); 44 void drm_crtc_unregister_all(struct drm_device *dev); 49 int drm_mode_getcrtc(struct drm_device *dev, 51 int drm_mode_setcrtc(struct drm_device *dev, 56 int drm_modeset_register_all(struct drm_device *dev); 57 void drm_modeset_unregister_all(struct drm_device *dev); 60 int drm_mode_getresources(struct drm_device *dev, 66 int drm_mode_create_dumb_ioctl(struct drm_device *dev, 68 int drm_mode_mmap_dumb_ioctl(struct drm_device *dev, 70 int drm_mode_destroy_dumb_ioctl(struct drm_device *dev, [all …]
|
| HD | drm_internal.h | 29 void drm_lastclose(struct drm_device *dev); 32 int drm_irq_by_busid(struct drm_device *dev, void *data, 34 void drm_pci_agp_destroy(struct drm_device *dev); 35 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master); 36 int drm_getpciinfo(struct drm_device *dev, void *data, 40 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, 42 int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data, 60 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe); 61 void drm_vblank_cleanup(struct drm_device *dev); 64 int drm_wait_vblank_ioctl(struct drm_device *dev, void *data, [all …]
|
| HD | drm_agpsupport.c | 53 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) in drm_agp_info() 76 int drm_agp_info_ioctl(struct drm_device *dev, void *data, in drm_agp_info_ioctl() 99 int drm_agp_acquire(struct drm_device *dev) in drm_agp_acquire() 127 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_agp_acquire_ioctl() 141 int drm_agp_release(struct drm_device *dev) in drm_agp_release() 151 int drm_agp_release_ioctl(struct drm_device *dev, void *data, in drm_agp_release_ioctl() 167 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode) in drm_agp_enable() 179 int drm_agp_enable_ioctl(struct drm_device *dev, void *data, in drm_agp_enable_ioctl() 212 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_alloc() 255 int drm_agp_alloc_ioctl(struct drm_device *dev, void *data, in drm_agp_alloc_ioctl() [all …]
|
| HD | drm_context.c | 54 void drm_legacy_ctxbitmap_free(struct drm_device * dev, int ctx_handle) in drm_legacy_ctxbitmap_free() 74 static int drm_legacy_ctxbitmap_next(struct drm_device * dev) in drm_legacy_ctxbitmap_next() 92 void drm_legacy_ctxbitmap_init(struct drm_device * dev) in drm_legacy_ctxbitmap_init() 109 void drm_legacy_ctxbitmap_cleanup(struct drm_device * dev) in drm_legacy_ctxbitmap_cleanup() 129 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) in drm_legacy_ctxbitmap_flush() 172 int drm_legacy_getsareactx(struct drm_device *dev, void *data, in drm_legacy_getsareactx() 220 int drm_legacy_setsareactx(struct drm_device *dev, void *data, in drm_legacy_setsareactx() 270 static int drm_context_switch(struct drm_device * dev, int old, int new) in drm_context_switch() 298 static int drm_context_switch_complete(struct drm_device *dev, in drm_context_switch_complete() 324 int drm_legacy_resctx(struct drm_device *dev, void *data, in drm_legacy_resctx() [all …]
|
| HD | drm_gem.c | 130 drm_gem_init(struct drm_device *dev) in drm_gem_init() 165 drm_gem_destroy(struct drm_device *dev) in drm_gem_destroy() 189 int drm_gem_object_init(struct drm_device *dev, in drm_gem_object_init() 215 void drm_gem_private_object_init(struct drm_device *dev, in drm_gem_private_object_init() 257 struct drm_device *dev = obj->dev; in drm_gem_object_handle_free() 278 struct drm_device *dev = obj->dev; in drm_gem_object_handle_put_unlocked() 311 struct drm_device *dev = obj->dev; in drm_gem_object_release_handle() 381 int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev, in drm_gem_dumb_map_offset() 419 struct drm_device *dev, in drm_gem_dumb_destroy() 445 struct drm_device *dev = obj->dev; in drm_gem_handle_create_tail() [all …]
|
| HD | drm_pci.c | 46 drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align) in drm_pci_alloc() 92 void __drm_legacy_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in __drm_legacy_pci_free() 119 void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) in drm_pci_free() 129 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain() 147 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid() 161 static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_pci_irq_by_busid() 187 int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid() 207 drm_getpciinfo(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getpciinfo() 243 struct drm_device *dev; in drm_get_pci_dev() 343 int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *mask) in drm_pcie_get_speed_cap_mask() [all …]
|
| HD | drm_vblank.c | 80 drm_get_last_vbltimestamp(struct drm_device *dev, unsigned int pipe, 92 static void store_vblank(struct drm_device *dev, unsigned int pipe, in store_vblank() 112 static u32 drm_vblank_no_hw_counter(struct drm_device *dev, unsigned int pipe) in drm_vblank_no_hw_counter() 118 static u32 __get_vblank_counter(struct drm_device *dev, unsigned int pipe) in __get_vblank_counter() 142 static void drm_reset_vblank_timestamp(struct drm_device *dev, unsigned int pipe) in drm_reset_vblank_timestamp() 189 static void drm_update_vblank_count(struct drm_device *dev, unsigned int pipe, in drm_update_vblank_count() 274 static u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe) in drm_vblank_count() 297 struct drm_device *dev = crtc->dev; in drm_crtc_accurate_vblank_count() 316 static void __disable_vblank(struct drm_device *dev, unsigned int pipe) in __disable_vblank() 336 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe) in drm_vblank_disable_and_save() [all …]
|
| HD | drm_auth.c | 58 int drm_getmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getmagic() 78 int drm_authmagic(struct drm_device *dev, void *data, in drm_authmagic() 97 struct drm_master *drm_master_create(struct drm_device *dev) in drm_master_create() 122 static int drm_set_master(struct drm_device *dev, struct drm_file *fpriv, in drm_set_master() 138 static int drm_new_set_master(struct drm_device *dev, struct drm_file *fpriv) in drm_new_set_master() 179 int drm_setmaster_ioctl(struct drm_device *dev, void *data, in drm_setmaster_ioctl() 226 static void drm_drop_master(struct drm_device *dev, in drm_drop_master() 234 int drm_dropmaster_ioctl(struct drm_device *dev, void *data, in drm_dropmaster_ioctl() 262 struct drm_device *dev = file_priv->minor->dev; in drm_master_open() 279 struct drm_device *dev = file_priv->minor->dev; in drm_master_release() [all …]
|
| HD | drm_drv.c | 200 static struct drm_minor **drm_minor_get_slot(struct drm_device *dev, in drm_minor_get_slot() 215 static int drm_minor_alloc(struct drm_device *dev, unsigned int type) in drm_minor_alloc() 261 static void drm_minor_free(struct drm_device *dev, unsigned int type) in drm_minor_free() 283 static int drm_minor_register(struct drm_device *dev, unsigned int type) in drm_minor_register() 322 static void drm_minor_unregister(struct drm_device *dev, unsigned int type) in drm_minor_unregister() 429 void drm_put_dev(struct drm_device *dev) 443 static void drm_device_set_unplugged(struct drm_device *dev) 458 void drm_dev_unplug(struct drm_device *dev) 573 int drm_dev_init(struct drm_device *dev, in drm_dev_init() 695 void drm_dev_fini(struct drm_device *dev) in drm_dev_fini() [all …]
|
| /dragonfly/sys/dev/drm/radeon/ |
| HD | radeon_drv.c | 106 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); 107 void radeon_driver_unload_kms(struct drm_device *dev); 108 void radeon_driver_lastclose_kms(struct drm_device *dev); 109 int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); 110 void radeon_driver_postclose_kms(struct drm_device *dev, 112 int radeon_suspend_kms(struct drm_device *dev, bool suspend, 114 int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon); 115 u32 radeon_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe); 116 int radeon_enable_vblank_kms(struct drm_device *dev, unsigned int pipe); 117 void radeon_disable_vblank_kms(struct drm_device *dev, unsigned int pipe); [all …]
|
| HD | radeon_kms.h | 6 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); 7 void radeon_driver_unload_kms(struct drm_device *dev); 9 void radeon_driver_lastclose_kms(struct drm_device *dev); 10 int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv); 11 void radeon_driver_postclose_kms(struct drm_device *dev, 13 void radeon_driver_preclose_kms(struct drm_device *dev,
|
| HD | radeon_mode.h | 202 struct drm_device *dev; 701 radeon_add_atom_connector(struct drm_device *dev, 711 radeon_add_legacy_connector(struct drm_device *dev, 719 radeon_get_encoder_enum(struct drm_device *dev, uint32_t supported_device, 721 extern void radeon_link_encoder_connector(struct drm_device *dev); 796 extern struct radeon_i2c_chan *radeon_i2c_create(struct drm_device *dev, 837 extern void radeon_setup_encoder_clones(struct drm_device *dev); 839 struct drm_encoder *radeon_encoder_legacy_lvds_add(struct drm_device *dev, int bios_index); 840 struct drm_encoder *radeon_encoder_legacy_primary_dac_add(struct drm_device *dev, int bios_index, i… 841 struct drm_encoder *radeon_encoder_legacy_tv_dac_add(struct drm_device *dev, int bios_index, int wi… [all …]
|