Home
last modified time | relevance | path

Searched refs:bochs (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/bochs/
H A Dbochs_hw.c14 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument
19 if (bochs->mmio) { in bochs_vga_writeb()
21 writeb(val, bochs->mmio + offset); in bochs_vga_writeb()
27 static u16 bochs_dispi_read(struct bochs_device *bochs, u16 reg) in bochs_dispi_read() argument
31 if (bochs->mmio) { in bochs_dispi_read()
33 ret = readw(bochs->mmio + offset); in bochs_dispi_read()
41 static void bochs_dispi_write(struct bochs_device *bochs, u16 reg, u16 val) in bochs_dispi_write() argument
43 if (bochs->mmio) { in bochs_dispi_write()
45 writew(val, bochs->mmio + offset); in bochs_dispi_write()
52 static void bochs_hw_set_big_endian(struct bochs_device *bochs) in bochs_hw_set_big_endian() argument
[all …]
H A Dbochs_kms.c28 static void bochs_plane_update(struct bochs_device *bochs, in bochs_plane_update() argument
34 if (!state->fb || !bochs->stride) in bochs_plane_update()
42 bochs_hw_setbase(bochs, in bochs_plane_update()
47 bochs_hw_setformat(bochs, state->fb->format); in bochs_plane_update()
54 struct bochs_device *bochs = pipe->crtc.dev->dev_private; in bochs_pipe_enable() local
56 bochs_hw_setmode(bochs, &crtc_state->mode); in bochs_pipe_enable()
57 bochs_plane_update(bochs, plane_state); in bochs_pipe_enable()
63 struct bochs_device *bochs = pipe->crtc.dev->dev_private; in bochs_pipe_update() local
65 bochs_plane_update(bochs, pipe->plane.state); in bochs_pipe_update()
77 struct bochs_device *bochs = in bochs_connector_get_modes() local
[all …]
H A Dbochs_mm.c9 int bochs_mm_init(struct bochs_device *bochs) in bochs_mm_init() argument
13 vmm = drm_vram_helper_alloc_mm(bochs->dev, bochs->fb_base, in bochs_mm_init()
14 bochs->fb_size); in bochs_mm_init()
18 void bochs_mm_fini(struct bochs_device *bochs) in bochs_mm_fini() argument
20 if (!bochs->dev->vram_mm) in bochs_mm_fini()
23 drm_vram_helper_release_mm(bochs->dev); in bochs_mm_fini()
H A Dbochs_drv.c23 struct bochs_device *bochs = dev->dev_private; in bochs_unload() local
25 bochs_mm_fini(bochs); in bochs_unload()
30 struct bochs_device *bochs; in bochs_load() local
33 bochs = drmm_kzalloc(dev, sizeof(*bochs), GFP_KERNEL); in bochs_load()
34 if (bochs == NULL) in bochs_load()
36 dev->dev_private = bochs; in bochs_load()
37 bochs->dev = dev; in bochs_load()
43 ret = bochs_mm_init(bochs); in bochs_load()
47 ret = bochs_kms_init(bochs); in bochs_load()
H A Dbochs.h81 void bochs_hw_setmode(struct bochs_device *bochs,
83 void bochs_hw_setformat(struct bochs_device *bochs,
85 void bochs_hw_setbase(struct bochs_device *bochs,
87 int bochs_hw_load_edid(struct bochs_device *bochs);
90 int bochs_mm_init(struct bochs_device *bochs);
91 void bochs_mm_fini(struct bochs_device *bochs);
94 int bochs_kms_init(struct bochs_device *bochs);
H A DMakefile2 bochs-drm-y := bochs_drv.o bochs_mm.o bochs_kms.o bochs_hw.o
4 obj-$(CONFIG_DRM_BOCHS) += bochs-drm.o
H A DKconfig3 tristate "DRM Support for bochs dispi vga interface (qemu stdvga)"
11 If M is selected the module will be called bochs-drm.
/OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/linux/
H A Dlinux-yocto-rt_5.10.bb41 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
H A Dlinux-yocto-rt_5.15.bb41 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
H A Dlinux-yocto_5.10.bb50 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
H A Dlinux-yocto_5.15.bb59 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
H A Dlinux-yocto-dev.bb58 KERNEL_FEATURES:append:qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
/OK3568_Linux_fs/yocto/poky/meta/conf/machine/include/riscv/
H A Dqemuriscv.inc38 QB_GRAPHICS = "-device bochs-display"
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/
H A Dvideo-Remove-trailing-whitespaces.patch16 grub-core/video/bochs.c | 2 +-
36 diff --git a/grub-core/video/bochs.c b/grub-core/video/bochs.c
38 --- a/grub-core/video/bochs.c
39 +++ b/grub-core/video/bochs.c
/OK3568_Linux_fs/kernel/samples/
H A DKconfig180 Emulate enough of qemu stdvga to make bochs-drm.ko happy.
181 That is basically the vram memory bar and the bochs dispi
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A DMakefile100 obj-$(CONFIG_DRM_BOCHS) += bochs/
H A DKconfig355 source "drivers/gpu/drm/bochs/Kconfig"
/OK3568_Linux_fs/kernel/
H A DMAINTAINERS5479 F: drivers/gpu/drm/bochs/