Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/bochs/
Dbochs_hw.c13 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument
18 if (bochs->mmio) { in bochs_vga_writeb()
20 writeb(val, bochs->mmio + offset); in bochs_vga_writeb()
26 static u16 bochs_dispi_read(struct bochs_device *bochs, u16 reg) in bochs_dispi_read() argument
30 if (bochs->mmio) { in bochs_dispi_read()
32 ret = readw(bochs->mmio + offset); in bochs_dispi_read()
40 static void bochs_dispi_write(struct bochs_device *bochs, u16 reg, u16 val) in bochs_dispi_write() argument
42 if (bochs->mmio) { in bochs_dispi_write()
44 writew(val, bochs->mmio + offset); in bochs_dispi_write()
51 static void bochs_hw_set_big_endian(struct bochs_device *bochs) in bochs_hw_set_big_endian() argument
[all …]
Dbochs_kms.c29 static void bochs_plane_update(struct bochs_device *bochs, in bochs_plane_update() argument
34 if (!state->fb || !bochs->stride) in bochs_plane_update()
38 bochs_hw_setbase(bochs, in bochs_plane_update()
43 bochs_hw_setformat(bochs, state->fb->format); in bochs_plane_update()
50 struct bochs_device *bochs = pipe->crtc.dev->dev_private; in bochs_pipe_enable() local
52 bochs_hw_setmode(bochs, &crtc_state->mode); in bochs_pipe_enable()
53 bochs_plane_update(bochs, plane_state); in bochs_pipe_enable()
59 struct bochs_device *bochs = pipe->crtc.dev->dev_private; in bochs_pipe_update() local
62 bochs_plane_update(bochs, pipe->plane.state); in bochs_pipe_update()
103 struct bochs_device *bochs = in bochs_connector_get_modes() local
[all …]
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()
19 void bochs_mm_fini(struct bochs_device *bochs) in bochs_mm_fini() argument
21 if (!bochs->dev->vram_mm) in bochs_mm_fini()
24 drm_vram_helper_release_mm(bochs->dev); in bochs_mm_fini()
Dbochs_drv.c22 struct bochs_device *bochs = dev->dev_private; in bochs_unload() local
24 bochs_kms_fini(bochs); in bochs_unload()
25 bochs_mm_fini(bochs); in bochs_unload()
27 kfree(bochs); in bochs_unload()
33 struct bochs_device *bochs; in bochs_load() local
36 bochs = kzalloc(sizeof(*bochs), GFP_KERNEL); in bochs_load()
37 if (bochs == NULL) in bochs_load()
39 dev->dev_private = bochs; in bochs_load()
40 bochs->dev = dev; in bochs_load()
46 ret = bochs_mm_init(bochs); in bochs_load()
[all …]
Dbochs.h82 void bochs_hw_setmode(struct bochs_device *bochs,
84 void bochs_hw_setformat(struct bochs_device *bochs,
86 void bochs_hw_setbase(struct bochs_device *bochs,
88 int bochs_hw_load_edid(struct bochs_device *bochs);
91 int bochs_mm_init(struct bochs_device *bochs);
92 void bochs_mm_fini(struct bochs_device *bochs);
95 int bochs_kms_init(struct bochs_device *bochs);
96 void bochs_kms_fini(struct bochs_device *bochs);
DMakefile2 bochs-drm-y := bochs_drv.o bochs_mm.o bochs_kms.o bochs_hw.o
4 obj-$(CONFIG_DRM_BOCHS) += bochs-drm.o
DKconfig3 tristate "DRM Support for bochs dispi vga interface (qemu stdvga)"
9 If M is selected the module will be called bochs-drm.
/Linux-v5.4/samples/
DKconfig151 Emulate enough of qemu stdvga to make bochs-drm.ko happy.
152 That is basically the vram memory bar and the bochs dispi
/Linux-v5.4/drivers/gpu/drm/
DMakefile95 obj-$(CONFIG_DRM_BOCHS) += bochs/
DKconfig303 source "drivers/gpu/drm/bochs/Kconfig"
/Linux-v5.4/
DMAINTAINERS5133 F: drivers/gpu/drm/bochs/