Searched refs:bochs (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/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() 32 static int bochsfb_create_object(struct bochs_device *bochs, in bochsfb_create_object() argument 36 struct drm_device *dev = bochs->dev; in bochsfb_create_object() 53 struct bochs_device *bochs = in bochsfb_create() local 73 ret = bochsfb_create_object(bochs, &mode_cmd, &gobj); in bochsfb_create() 107 info->par = &bochs->fb.helper; in bochsfb_create() 109 ret = bochs_framebuffer_init(bochs->dev, &bochs->fb.gfb, &mode_cmd, gobj); in bochsfb_create() 113 bochs->fb.size = size; in bochsfb_create() 116 fb = &bochs->fb.gfb.base; in bochsfb_create() [all …]
|
D | bochs_kms.c | 36 struct bochs_device *bochs = in bochs_crtc_mode_set_base() local 71 bochs_hw_setbase(bochs, x, y, gpu_addr); in bochs_crtc_mode_set_base() 80 struct bochs_device *bochs = in bochs_crtc_mode_set() local 83 bochs_hw_setmode(bochs, mode); in bochs_crtc_mode_set() 102 struct bochs_device *bochs = in bochs_crtc_page_flip() local 110 spin_lock_irqsave(&bochs->dev->event_lock, irqflags); in bochs_crtc_page_flip() 112 spin_unlock_irqrestore(&bochs->dev->event_lock, irqflags); in bochs_crtc_page_flip() 134 struct bochs_device *bochs = dev->dev_private; in bochs_crtc_init() local 135 struct drm_crtc *crtc = &bochs->crtc; in bochs_crtc_init() 172 struct bochs_device *bochs = dev->dev_private; in bochs_encoder_init() local [all …]
|
D | bochs_drv.c | 28 struct bochs_device *bochs = dev->dev_private; in bochs_unload() local 30 bochs_fbdev_fini(bochs); in bochs_unload() 31 bochs_kms_fini(bochs); in bochs_unload() 32 bochs_mm_fini(bochs); in bochs_unload() 34 kfree(bochs); in bochs_unload() 40 struct bochs_device *bochs; in bochs_load() local 43 bochs = kzalloc(sizeof(*bochs), GFP_KERNEL); in bochs_load() 44 if (bochs == NULL) in bochs_load() 46 dev->dev_private = bochs; in bochs_load() 47 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 | 132 void bochs_hw_setmode(struct bochs_device *bochs, 134 void bochs_hw_setbase(struct bochs_device *bochs, 138 int bochs_mm_init(struct bochs_device *bochs); 139 void bochs_mm_fini(struct bochs_device *bochs); 161 int bochs_kms_init(struct bochs_device *bochs); 162 void bochs_kms_fini(struct bochs_device *bochs); 165 int bochs_fbdev_init(struct bochs_device *bochs); 166 void bochs_fbdev_fini(struct bochs_device *bochs);
|
D | Makefile | 1 bochs-drm-y := bochs_drv.o bochs_mm.o bochs_kms.o bochs_fbdev.o bochs_hw.o 3 obj-$(CONFIG_DRM_BOCHS) += bochs-drm.o
|
D | Kconfig | 2 tristate "DRM Support for bochs dispi vga interface (qemu stdvga)" 8 If M is selected the module will be called bochs-drm.
|
/Linux-v4.19/samples/ |
D | Kconfig | 144 Emulate enough of qemu stdvga to make bochs-drm.ko happy. 145 That is basically the vram memory bar and the bochs dispi
|
/Linux-v4.19/drivers/gpu/drm/ |
D | Makefile | 88 obj-$(CONFIG_DRM_BOCHS) += bochs/
|
D | Kconfig | 270 source "drivers/gpu/drm/bochs/Kconfig"
|
/Linux-v4.19/ |
D | MAINTAINERS | 4625 F: drivers/gpu/drm/bochs/
|