bochs_device
static struct bochs_device *to_bochs_device(const struct drm_device *dev)
return container_of(dev, struct bochs_device, dev);
static __always_inline bool bochs_uses_mmio(struct bochs_device *bochs)
static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val)
static u8 bochs_vga_readb(struct bochs_device *bochs, u16 ioport)
static u16 bochs_dispi_read(struct bochs_device *bochs, u16 reg)
static void bochs_dispi_write(struct bochs_device *bochs, u16 reg, u16 val)
static void bochs_hw_set_big_endian(struct bochs_device *bochs)
static void bochs_hw_set_little_endian(struct bochs_device *bochs)
struct bochs_device *bochs = data;
struct bochs_device *bochs = to_bochs_device(dev);
static int bochs_hw_init(struct bochs_device *bochs)
static void bochs_hw_blank(struct bochs_device *bochs, bool blank)
static void bochs_hw_setmode(struct bochs_device *bochs, struct drm_display_mode *mode)
static void bochs_hw_setformat(struct bochs_device *bochs, const struct drm_format_info *format)
static void bochs_hw_setbase(struct bochs_device *bochs, int x, int y, int stride, u64 addr)
struct bochs_device *bochs = to_bochs_device(dev);
struct bochs_device *bochs = to_bochs_device(plane->dev);
struct bochs_device *bochs = to_bochs_device(crtc->dev);
struct bochs_device *bochs = to_bochs_device(crtc->dev);
struct bochs_device *bochs = to_bochs_device(crtc->dev);
struct bochs_device *bochs = to_bochs_device(dev);
static int bochs_kms_init(struct bochs_device *bochs)
static int bochs_load(struct bochs_device *bochs)
struct bochs_device *bochs;
bochs = devm_drm_dev_alloc(&pdev->dev, &bochs_driver, struct bochs_device, dev);