Searched refs:bochs (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/bochs/ |
D | bochs_hw.c | 12 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument 17 if (bochs->mmio) { in bochs_vga_writeb() 19 writeb(val, bochs->mmio + offset); in bochs_vga_writeb() 25 static u16 bochs_dispi_read(struct bochs_device *bochs, u16 reg) in bochs_dispi_read() argument 29 if (bochs->mmio) { in bochs_dispi_read() 31 ret = readw(bochs->mmio + offset); in bochs_dispi_read() 39 static void bochs_dispi_write(struct bochs_device *bochs, u16 reg, u16 val) in bochs_dispi_write() argument 41 if (bochs->mmio) { in bochs_dispi_write() 43 writew(val, bochs->mmio + offset); in bochs_dispi_write() 52 struct bochs_device *bochs = dev->dev_private; in bochs_hw_init() local [all …]
|
D | bochs_fbdev.c | 16 struct bochs_device *bochs = in bochsfb_mmap() local 18 struct bochs_bo *bo = gem_to_bochs_bo(bochs->fb.gfb.obj); in bochsfb_mmap() 36 static int bochsfb_create_object(struct bochs_device *bochs, in bochsfb_create_object() argument 40 struct drm_device *dev = bochs->dev; in bochsfb_create_object() 57 struct bochs_device *bochs = in bochsfb_create() local 77 ret = bochsfb_create_object(bochs, &mode_cmd, &gobj); in bochsfb_create() 111 info->par = &bochs->fb.helper; in bochsfb_create() 113 ret = bochs_framebuffer_init(bochs->dev, &bochs->fb.gfb, &mode_cmd, gobj); in bochsfb_create() 119 bochs->fb.size = size; in bochsfb_create() 122 fb = &bochs->fb.gfb.base; in bochsfb_create() [all …]
|
D | bochs_kms.c | 43 struct bochs_device *bochs = in bochs_crtc_mode_set_base() local 78 bochs_hw_setbase(bochs, x, y, gpu_addr); in bochs_crtc_mode_set_base() 87 struct bochs_device *bochs = in bochs_crtc_mode_set() local 90 bochs_hw_setmode(bochs, mode); in bochs_crtc_mode_set() 113 struct bochs_device *bochs = in bochs_crtc_page_flip() local 121 spin_lock_irqsave(&bochs->dev->event_lock, irqflags); in bochs_crtc_page_flip() 122 drm_send_vblank_event(bochs->dev, -1, event); in bochs_crtc_page_flip() 123 spin_unlock_irqrestore(&bochs->dev->event_lock, irqflags); in bochs_crtc_page_flip() 147 struct bochs_device *bochs = dev->dev_private; in bochs_crtc_init() local 148 struct drm_crtc *crtc = &bochs->crtc; in bochs_crtc_init() [all …]
|
D | bochs_drv.c | 23 struct bochs_device *bochs = dev->dev_private; in bochs_unload() local 25 bochs_fbdev_fini(bochs); in bochs_unload() 26 bochs_kms_fini(bochs); in bochs_unload() 27 bochs_mm_fini(bochs); in bochs_unload() 29 kfree(bochs); in bochs_unload() 36 struct bochs_device *bochs; in bochs_load() local 39 bochs = kzalloc(sizeof(*bochs), GFP_KERNEL); in bochs_load() 40 if (bochs == NULL) in bochs_load() 42 dev->dev_private = bochs; in bochs_load() 43 bochs->dev = dev; in bochs_load() [all …]
|
D | bochs_mm.c | 29 static int bochs_ttm_global_init(struct bochs_device *bochs) in bochs_ttm_global_init() argument 34 global_ref = &bochs->ttm.mem_global_ref; in bochs_ttm_global_init() 46 bochs->ttm.bo_global_ref.mem_glob = in bochs_ttm_global_init() 47 bochs->ttm.mem_global_ref.object; in bochs_ttm_global_init() 48 global_ref = &bochs->ttm.bo_global_ref.ref; in bochs_ttm_global_init() 56 drm_global_item_unref(&bochs->ttm.mem_global_ref); in bochs_ttm_global_init() 63 static void bochs_ttm_global_release(struct bochs_device *bochs) in bochs_ttm_global_release() argument 65 if (bochs->ttm.mem_global_ref.release == NULL) in bochs_ttm_global_release() 68 drm_global_item_unref(&bochs->ttm.bo_global_ref.ref); in bochs_ttm_global_release() 69 drm_global_item_unref(&bochs->ttm.mem_global_ref); in bochs_ttm_global_release() [all …]
|
D | bochs.h | 131 void bochs_hw_setmode(struct bochs_device *bochs, 133 void bochs_hw_setbase(struct bochs_device *bochs, 137 int bochs_mm_init(struct bochs_device *bochs); 138 void bochs_mm_fini(struct bochs_device *bochs); 160 int bochs_kms_init(struct bochs_device *bochs); 161 void bochs_kms_fini(struct bochs_device *bochs); 164 int bochs_fbdev_init(struct bochs_device *bochs); 165 void bochs_fbdev_fini(struct bochs_device *bochs);
|
D | Makefile | 2 bochs-drm-y := bochs_drv.o bochs_mm.o bochs_kms.o bochs_fbdev.o bochs_hw.o 4 obj-$(CONFIG_DRM_BOCHS) += bochs-drm.o
|
D | Kconfig | 2 tristate "DRM Support for bochs dispi vga interface (qemu stdvga)" 12 If M is selected the module will be called bochs-drm.
|
/drivers/gpu/drm/ |
D | Makefile | 68 obj-$(CONFIG_DRM_BOCHS) += bochs/
|
D | Kconfig | 248 source "drivers/gpu/drm/bochs/Kconfig"
|