Home
last modified time | relevance | path

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

12345678910>>...22

/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_legacy.h40 struct drm_device;
52 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
53 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
54 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
56 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {} in drm_legacy_ctxbitmap_init()
57 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {} in drm_legacy_ctxbitmap_cleanup()
58 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {} in drm_legacy_ctxbitmap_flush()
61 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
64 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f);
65 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f);
[all …]
H A Ddrm_crtc_internal.h47 struct drm_device;
71 int drm_crtc_register_all(struct drm_device *dev);
72 void drm_crtc_unregister_all(struct drm_device *dev);
78 int drm_mode_getcrtc(struct drm_device *dev,
80 int drm_mode_setcrtc(struct drm_device *dev,
85 int drm_modeset_register_all(struct drm_device *dev);
86 void drm_modeset_unregister_all(struct drm_device *dev);
92 int drm_mode_getresources(struct drm_device *dev,
97 int drm_mode_create_dumb(struct drm_device *dev,
100 int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
[all …]
H A Ddrm_internal.h49 void drm_lastclose(struct drm_device *dev);
54 int drm_irq_by_busid(struct drm_device *dev, void *data,
56 void drm_pci_agp_destroy(struct drm_device *dev);
57 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master);
61 static inline int drm_irq_by_busid(struct drm_device *dev, void *data, in drm_irq_by_busid()
67 static inline void drm_pci_agp_destroy(struct drm_device *dev) in drm_pci_agp_destroy()
71 static inline int drm_pci_set_busid(struct drm_device *dev, in drm_pci_set_busid()
80 int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data,
82 int drm_prime_fd_to_handle_ioctl(struct drm_device *dev, void *data,
101 void drm_vblank_disable_and_save(struct drm_device *dev, unsigned int pipe);
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_agpsupport.h19 struct drm_device;
26 (*agph_init)(struct drm_device *);
27 void (*agph_clear)(struct drm_device *);
28 int (*agph_acquire)(struct drm_device *);
29 int (*agph_release)(struct drm_device *);
30 int (*agph_enable)(struct drm_device *, struct drm_agp_mode);
31 int (*agph_info)(struct drm_device *, struct drm_agp_info *);
32 int (*agph_alloc)(struct drm_device *, struct drm_agp_buffer *);
33 int (*agph_free)(struct drm_device *, struct drm_agp_buffer *);
34 int (*agph_bind)(struct drm_device *, struct drm_agp_binding *);
[all …]
H A Ddrm_drv.h183 int (*load) (struct drm_device *, unsigned long flags);
203 int (*open) (struct drm_device *, struct drm_file *);
217 void (*postclose) (struct drm_device *, struct drm_file *);
245 void (*lastclose) (struct drm_device *);
262 void (*unload) (struct drm_device *);
272 void (*release) (struct drm_device *);
295 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe);
311 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe);
322 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe);
374 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe,
[all …]
H A Ddrm_atomic_helper.h43 int drm_atomic_helper_check_modeset(struct drm_device *dev,
51 int drm_atomic_helper_check_planes(struct drm_device *dev,
53 int drm_atomic_helper_check(struct drm_device *dev,
57 int drm_atomic_helper_commit(struct drm_device *dev,
60 int drm_atomic_helper_async_check(struct drm_device *dev,
62 void drm_atomic_helper_async_commit(struct drm_device *dev,
65 int drm_atomic_helper_wait_for_fences(struct drm_device *dev,
69 void drm_atomic_helper_wait_for_vblanks(struct drm_device *dev,
72 void drm_atomic_helper_wait_for_flip_done(struct drm_device *dev,
76 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev,
[all …]
H A Ddrm_property.h184 struct drm_device *dev;
213 struct drm_device *dev;
245 struct drm_property *drm_property_create(struct drm_device *dev,
248 struct drm_property *drm_property_create_enum(struct drm_device *dev,
252 struct drm_property *drm_property_create_bitmask(struct drm_device *dev,
257 struct drm_property *drm_property_create_range(struct drm_device *dev,
260 struct drm_property *drm_property_create_signed_range(struct drm_device *dev,
263 struct drm_property *drm_property_create_object(struct drm_device *dev,
266 struct drm_property *drm_property_create_bool(struct drm_device *dev,
270 void drm_property_destroy(struct drm_device *dev, struct drm_property *property);
[all …]
H A Ddrm_legacy.h42 struct drm_device;
217 int drm_legacy_addmap(struct drm_device *d, resource_size_t offset,
220 struct drm_local_map *drm_legacy_findmap(struct drm_device *dev, unsigned int token);
221 void drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map);
222 int drm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map);
223 struct drm_local_map *drm_legacy_getsarea(struct drm_device *dev);
225 int drm_legacy_mmap_object(struct drm_device *, off_t, size_t, int,
227 paddr_t drm_legacy_mmap_paddr(struct drm_device *, off_t, int);
232 int drm_legacy_addbufs_agp(struct drm_device *d, struct drm_buf_desc *req);
233 int drm_legacy_addbufs_pci(struct drm_device *d, struct drm_buf_desc *req);
[all …]
H A Ddrm_pci.h40 struct drm_device;
46 struct drm_dma_handle *drm_pci_alloc(struct drm_device *dev, size_t size,
48 void drm_pci_free(struct drm_device *dev, struct drm_dma_handle * dmah);
56 static inline struct drm_dma_handle *drm_pci_alloc(struct drm_device *dev, in drm_pci_alloc()
62 static inline void drm_pci_free(struct drm_device *dev, in drm_pci_free()
77 int drm_pci_request_irq(struct drm_device *, int);
78 void drm_pci_free_irq(struct drm_device *);
79 int drm_pci_attach(struct drm_device *, struct pci_dev *);
80 void drm_pci_detach(struct drm_device *);
/netbsd-src/sys/external/bsd/drm/dist/bsd-core/
H A DdrmP.h39 struct drm_device;
309 extern struct drm_device *drm_units[];
462 int (*func)(struct drm_device *dev, void *data,
544 struct drm_device *dev;
704 int (*load)(struct drm_device *, unsigned long flags);
705 int (*firstopen)(struct drm_device *);
706 int (*open)(struct drm_device *, struct drm_file *);
707 void (*preclose)(struct drm_device *, struct drm_file *file_priv);
708 void (*postclose)(struct drm_device *, struct drm_file *);
709 void (*lastclose)(struct drm_device *);
[all …]
H A Ddrm_agpsupport.c49 drm_device_find_capability(struct drm_device *dev, int cap) in drm_device_find_capability()
91 int drm_device_is_agp(struct drm_device *dev) in drm_device_is_agp()
107 int drm_device_is_pcie(struct drm_device *dev) in drm_device_is_pcie()
112 int drm_agp_info(struct drm_device * dev, struct drm_agp_info *info) in drm_agp_info()
134 int drm_agp_info_ioctl(struct drm_device *dev, void *data, in drm_agp_info_ioctl()
148 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, in drm_agp_acquire_ioctl()
155 int drm_agp_acquire(struct drm_device *dev) in drm_agp_acquire()
170 int drm_agp_release_ioctl(struct drm_device *dev, void *data, in drm_agp_release_ioctl()
177 int drm_agp_release(struct drm_device * dev) in drm_agp_release()
186 int drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode) in drm_agp_enable()
[all …]
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Di915_drv.h106 struct drm_device *dev;
403 extern void i915_kernel_lost_context(struct drm_device * dev);
404 extern int i915_driver_load(struct drm_device *, unsigned long flags);
405 extern int i915_driver_unload(struct drm_device *);
406 extern int i915_driver_open(struct drm_device *dev, struct drm_file *file_priv);
407 extern void i915_driver_lastclose(struct drm_device * dev);
408 extern void i915_driver_preclose(struct drm_device *dev,
410 extern void i915_driver_postclose(struct drm_device *dev,
412 extern int i915_driver_device_is_agp(struct drm_device * dev);
415 extern int i915_emit_box(struct drm_device *dev,
[all …]
H A Dr128_drv.h138 extern int r128_cce_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
139 extern int r128_cce_start(struct drm_device *dev, void *data, struct drm_file *file_priv);
140 extern int r128_cce_stop(struct drm_device *dev, void *data, struct drm_file *file_priv);
141 extern int r128_cce_reset(struct drm_device *dev, void *data, struct drm_file *file_priv);
142 extern int r128_cce_idle(struct drm_device *dev, void *data, struct drm_file *file_priv);
143 extern int r128_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv);
144 extern int r128_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv);
145 extern int r128_cce_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv);
147 extern void r128_freelist_reset(struct drm_device * dev);
152 extern int r128_do_cleanup_cce(struct drm_device * dev);
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_ioctls.h12 struct drm_device;
15 int i915_gem_busy_ioctl(struct drm_device *dev, void *data,
17 int i915_gem_create_ioctl(struct drm_device *dev, void *data,
19 int i915_gem_execbuffer_ioctl(struct drm_device *dev, void *data,
21 int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data,
23 int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data,
25 int i915_gem_get_caching_ioctl(struct drm_device *dev, void *data,
27 int i915_gem_get_tiling_ioctl(struct drm_device *dev, void *data,
29 int i915_gem_madvise_ioctl(struct drm_device *dev, void *data,
31 int i915_gem_mmap_ioctl(struct drm_device *dev, void *data,
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/via/
H A Dvia_drv.h205 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
206 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv);
207 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv);
208 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
209 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
210 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv);
211 extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv);
212 extern int via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv);
213 extern int via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv);
215 extern int via_driver_load(struct drm_device *dev, unsigned long chipset);
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_display.h30 int nouveau_framebuffer_new(struct drm_device *,
36 void (*dtor)(struct drm_device *);
37 int (*init)(struct drm_device *, bool resume, bool runtime);
38 void (*fini)(struct drm_device *, bool suspend);
55 nouveau_display(struct drm_device *dev) in nouveau_display()
60 int nouveau_display_create(struct drm_device *dev);
61 void nouveau_display_destroy(struct drm_device *dev);
62 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime);
63 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime);
64 int nouveau_display_suspend(struct drm_device *dev, bool runtime);
[all …]
H A Dnouveau_bios.h51 int bit_table(struct drm_device *, u8 id, struct bit_entry *);
79 struct drm_device *dev;
158 void *olddcb_table(struct drm_device *);
159 void *olddcb_outp(struct drm_device *, u8 idx);
160 int olddcb_outp_foreach(struct drm_device *, void *data,
161 int (*)(struct drm_device *, void *, int idx, u8 *outp));
162 u8 *olddcb_conntab(struct drm_device *);
163 u8 *olddcb_conn(struct drm_device *, u8 idx);
165 int nouveau_bios_init(struct drm_device *);
166 void nouveau_bios_takedown(struct drm_device *dev);
[all …]
H A Dnouveau_led.h35 struct drm_device *dev;
43 nouveau_led(struct drm_device *dev) in nouveau_led()
50 int nouveau_led_init(struct drm_device *dev);
51 void nouveau_led_suspend(struct drm_device *dev);
52 void nouveau_led_resume(struct drm_device *dev);
53 void nouveau_led_fini(struct drm_device *dev);
55 static inline int nouveau_led_init(struct drm_device *dev) { return 0; }; in nouveau_led_init()
56 static inline void nouveau_led_suspend(struct drm_device *dev) { }; in nouveau_led_suspend()
57 static inline void nouveau_led_resume(struct drm_device *dev) { }; in nouveau_led_resume()
58 static inline void nouveau_led_fini(struct drm_device *dev) { }; in nouveau_led_fini()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dhw.h39 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
40 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
41 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
42 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
43 void NVSetOwner(struct drm_device *, int owner);
44 void NVBlankScreen(struct drm_device *, int head, bool blank);
45 int nouveau_hw_get_pllvals(struct drm_device *, enum nvbios_pll_type plltype,
48 int nouveau_hw_get_clock(struct drm_device *, enum nvbios_pll_type plltype);
49 void nouveau_hw_save_vga_fonts(struct drm_device *, bool save);
50 void nouveau_hw_save_state(struct drm_device *, int head,
[all …]
H A Ddisp.h91 nv04_display(struct drm_device *dev) in nv04_display()
97 int nv04_display_create(struct drm_device *);
100 int nv04_crtc_create(struct drm_device *, int index);
111 int nv04_dfp_get_bound_head(struct drm_device *dev, struct dcb_output *dcbent);
112 void nv04_dfp_bind_head(struct drm_device *dev, struct dcb_output *dcbent,
114 void nv04_dfp_disable(struct drm_device *dev, int head);
118 int nv04_tv_identify(struct drm_device *dev, int i2c_index);
125 void nouveau_overlay_init(struct drm_device *dev);
128 nv_two_heads(struct drm_device *dev) in nv_two_heads()
141 nv_gf4_disp_arch(struct drm_device *dev) in nv_gf4_disp_arch()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_fbdev.h13 struct drm_device;
17 int intel_fbdev_init(struct drm_device *dev);
18 void intel_fbdev_initial_config_async(struct drm_device *dev);
21 void intel_fbdev_set_suspend(struct drm_device *dev, int state, bool synchronous);
22 void intel_fbdev_output_poll_changed(struct drm_device *dev);
23 void intel_fbdev_restore_mode(struct drm_device *dev);
25 static inline int intel_fbdev_init(struct drm_device *dev) in intel_fbdev_init()
30 static inline void intel_fbdev_initial_config_async(struct drm_device *dev) in intel_fbdev_initial_config_async()
42 static inline void intel_fbdev_set_suspend(struct drm_device *dev, int state, bool synchronous) in intel_fbdev_set_suspend()
46 static inline void intel_fbdev_output_poll_changed(struct drm_device *dev) in intel_fbdev_output_poll_changed()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_drv.c118 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
119 void radeon_driver_unload_kms(struct drm_device *dev);
120 void radeon_driver_lastclose_kms(struct drm_device *dev);
121 int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv);
122 void radeon_driver_postclose_kms(struct drm_device *dev,
124 int radeon_suspend_kms(struct drm_device *dev, bool suspend,
126 int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon);
127 u32 radeon_get_vblank_counter_kms(struct drm_device *dev, unsigned int pipe);
128 int radeon_enable_vblank_kms(struct drm_device *dev, unsigned int pipe);
129 void radeon_disable_vblank_kms(struct drm_device *dev, unsigned int pipe);
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/r128/
H A Dr128_drv.h150 extern int r128_cce_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
151 extern int r128_cce_start(struct drm_device *dev, void *data, struct drm_file *file_priv);
152 extern int r128_cce_stop(struct drm_device *dev, void *data, struct drm_file *file_priv);
153 extern int r128_cce_reset(struct drm_device *dev, void *data, struct drm_file *file_priv);
154 extern int r128_cce_idle(struct drm_device *dev, void *data, struct drm_file *file_priv);
155 extern int r128_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv);
156 extern int r128_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv);
157 extern int r128_cce_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv);
159 extern int r128_cce_stipple(struct drm_device *dev, void *data, struct drm_file *file_priv);
160 extern int r128_cce_depth(struct drm_device *dev, void *data, struct drm_file *file_priv);
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_gem.h56 struct drm_device *dev,
59 struct drm_device *dev,
62 int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data,
64 int amdgpu_gem_info_ioctl(struct drm_device *dev, void *data,
66 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data,
68 int amdgpu_gem_mmap_ioctl(struct drm_device *dev, void *data,
70 int amdgpu_gem_wait_idle_ioctl(struct drm_device *dev, void *data,
73 int amdgpu_gem_va_ioctl(struct drm_device *dev, void *data,
75 int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
78 int amdgpu_gem_metadata_ioctl(struct drm_device *dev, void *data,
/netbsd-src/sys/external/bsd/drm2/dist/drm/ast/
H A Dast_drv.h107 struct drm_device *dev;
142 int ast_driver_load(struct drm_device *dev, unsigned long flags);
143 void ast_driver_unload(struct drm_device *dev);
229 struct drm_device *dev;
297 extern int ast_mode_init(struct drm_device *dev);
298 extern void ast_mode_fini(struct drm_device *dev);
307 void ast_enable_vga(struct drm_device *dev);
308 void ast_enable_mmio(struct drm_device *dev);
309 bool ast_is_vga_enabled(struct drm_device *dev);
310 void ast_post_gpu(struct drm_device *dev);
[all …]

12345678910>>...22