Lines Matching refs:bochs_device
82 struct bochs_device { struct
107 static struct bochs_device *to_bochs_device(const struct drm_device *dev) in to_bochs_device() argument
109 return container_of(dev, struct bochs_device, dev); in to_bochs_device()
114 static __always_inline bool bochs_uses_mmio(struct bochs_device *bochs) in bochs_uses_mmio()
119 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb()
133 static u8 bochs_vga_readb(struct bochs_device *bochs, u16 ioport) in bochs_vga_readb()
147 static u16 bochs_dispi_read(struct bochs_device *bochs, u16 reg) in bochs_dispi_read()
162 static void bochs_dispi_write(struct bochs_device *bochs, u16 reg, u16 val) in bochs_dispi_write()
174 static void bochs_hw_set_big_endian(struct bochs_device *bochs) in bochs_hw_set_big_endian()
182 static void bochs_hw_set_little_endian(struct bochs_device *bochs) in bochs_hw_set_little_endian()
198 struct bochs_device *bochs = data; in bochs_get_edid_block()
216 struct bochs_device *bochs = to_bochs_device(dev); in bochs_hw_read_edid()
229 static int bochs_hw_init(struct bochs_device *bochs) in bochs_hw_init()
314 static void bochs_hw_blank(struct bochs_device *bochs, bool blank) in bochs_hw_blank()
325 static void bochs_hw_setmode(struct bochs_device *bochs, struct drm_display_mode *mode) in bochs_hw_setmode()
359 static void bochs_hw_setformat(struct bochs_device *bochs, const struct drm_format_info *format) in bochs_hw_setformat()
389 static void bochs_hw_setbase(struct bochs_device *bochs, int x, int y, int stride, u64 addr) in bochs_hw_setbase()
448 struct bochs_device *bochs = to_bochs_device(dev); in bochs_primary_plane_helper_atomic_update()
479 struct bochs_device *bochs = to_bochs_device(plane->dev); in bochs_primary_plane_helper_get_scanout_buffer()
509 struct bochs_device *bochs = to_bochs_device(crtc->dev); in bochs_crtc_helper_mode_set_nofb()
529 struct bochs_device *bochs = to_bochs_device(crtc->dev); in bochs_crtc_helper_atomic_enable()
538 struct bochs_device *bochs = to_bochs_device(crtc->dev); in bochs_crtc_helper_atomic_disable()
601 struct bochs_device *bochs = to_bochs_device(dev); in bochs_mode_config_mode_valid()
624 static int bochs_kms_init(struct bochs_device *bochs) in bochs_kms_init()
692 static int bochs_load(struct bochs_device *bochs) in bochs_load()
749 struct bochs_device *bochs; in bochs_pci_probe()
757 bochs = devm_drm_dev_alloc(&pdev->dev, &bochs_driver, struct bochs_device, dev); in bochs_pci_probe()