Lines Matching defs:drm_device_t
156 typedef struct drm_device drm_device_t;
303 #define DRM_DEVICE drm_device_t *dev = dev1
305 drm_device_t *dev1, intptr_t data, drm_file_t *fpriv, int mode
402 * This structure, in drm_device_t, is always initialized while the device
680 int drm_ioremap(drm_device_t *, drm_local_map_t *);
686 void drm_pci_free(drm_device_t *, drm_dma_handle_t *);
687 void *drm_pci_alloc(drm_device_t *, size_t, size_t, dma_addr_t, int);
692 int drm_context_switch(drm_device_t *, int, int);
693 int drm_context_switch_complete(drm_device_t *, int);
694 int drm_ctxbitmap_init(drm_device_t *);
695 void drm_ctxbitmap_cleanup(drm_device_t *);
696 void drm_ctxbitmap_free(drm_device_t *, int);
697 int drm_ctxbitmap_next(drm_device_t *);
701 int drm_lock_transfer(drm_device_t *,
703 int drm_lock_free(drm_device_t *,
707 unsigned long drm_get_resource_start(drm_device_t *, unsigned int);
708 unsigned long drm_get_resource_len(drm_device_t *, unsigned int);
709 int drm_initmap(drm_device_t *, unsigned long, unsigned long,
711 void drm_rmmap(drm_device_t *, drm_local_map_t *);
712 int drm_addmap(drm_device_t *, unsigned long, unsigned long,
717 int drm_dma_setup(drm_device_t *);
718 void drm_dma_takedown(drm_device_t *);
719 void drm_free_buffer(drm_device_t *, drm_buf_t *);
720 void drm_reclaim_buffers(drm_device_t *, drm_file_t *);
724 int drm_irq_install(drm_device_t *);
725 int drm_irq_uninstall(drm_device_t *);
727 void drm_driver_irq_preinstall(drm_device_t *);
728 void drm_driver_irq_postinstall(drm_device_t *);
729 void drm_driver_irq_uninstall(drm_device_t *);
730 int drm_vblank_wait(drm_device_t *, unsigned int *);
731 void drm_vbl_send_signals(drm_device_t *);
732 void drm_locked_tasklet(drm_device_t *, void(*func)(drm_device_t *));
735 int drm_device_is_agp(drm_device_t *);
736 int drm_device_is_pcie(drm_device_t *);
737 drm_agp_head_t *drm_agp_init(drm_device_t *);
738 void drm_agp_fini(drm_device_t *);
739 int drm_agp_do_release(drm_device_t *);
742 int drm_agp_bind_memory(unsigned int, uint32_t, drm_device_t *);
743 int drm_agp_unbind_memory(unsigned long, drm_device_t *);
746 int drm_init_kstats(drm_device_t *);
747 void drm_fini_kstats(drm_device_t *);
750 void drm_sg_cleanup(drm_device_t *, drm_sg_mem_t *);
753 int drm_ati_pcigart_init(drm_device_t *, drm_ati_pcigart_info *);
754 int drm_ati_pcigart_cleanup(drm_device_t *, drm_ati_pcigart_info *);
789 int drm_remove_magic(drm_device_t *, drm_magic_t);
790 drm_file_t *drm_find_file(drm_device_t *, drm_magic_t);
860 extern void *drm_supp_register(dev_info_t *, drm_device_t *);
863 extern int drm_open(drm_device_t *, drm_cminor_t *, int, int, cred_t *);
864 extern int drm_close(drm_device_t *, int, int, int, cred_t *);
865 extern int drm_attach(drm_device_t *);
866 extern int drm_detach(drm_device_t *);
867 extern int drm_probe(drm_device_t *, const drm_pci_id_list_t *);
869 extern int drm_pci_init(drm_device_t *);
870 extern void drm_pci_end(drm_device_t *);
871 extern int pci_get_info(drm_device_t *, int *, int *, int *);
872 extern int pci_get_irq(drm_device_t *);
873 extern int pci_get_vendor(drm_device_t *);
874 extern int pci_get_device(drm_device_t *);
876 extern drm_drawable_info_t *drm_get_drawable_info(drm_device_t *,
880 extern drm_file_t *drm_find_file_by_proc(drm_device_t *, cred_t *);
881 extern drm_cminor_t *drm_find_file_by_minor(drm_device_t *, int);
882 extern int drm_open_helper(drm_device_t *, drm_cminor_t *, int, int,