Lines Matching refs:ofdrm_device
283 struct ofdrm_device;
286 void __iomem *(*cmap_ioremap)(struct ofdrm_device *odev,
289 void (*cmap_write)(struct ofdrm_device *odev, unsigned char index,
293 struct ofdrm_device { struct
316 static struct ofdrm_device *ofdrm_device_of_dev(struct drm_device *dev) in ofdrm_device_of_dev() argument
318 return container_of(dev, struct ofdrm_device, dev); in ofdrm_device_of_dev()
356 static int ofdrm_device_init_pci(struct ofdrm_device *odev) in ofdrm_device_init_pci()
388 static int ofdrm_device_init_pci(struct ofdrm_device *odev) in ofdrm_device_init_pci()
398 static struct resource *ofdrm_find_fb_resource(struct ofdrm_device *odev, in ofdrm_find_fb_resource()
424 static void __iomem *get_cmap_address_of(struct ofdrm_device *odev, struct device_node *of_node, in get_cmap_address_of()
456 static void __iomem *ofdrm_mach64_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_mach64_cmap_ioremap()
474 static void ofdrm_mach64_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_mach64_cmap_write()
486 static void __iomem *ofdrm_rage128_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_rage128_cmap_ioremap()
493 static void ofdrm_rage128_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_rage128_cmap_write()
504 static void __iomem *ofdrm_rage_m3a_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_rage_m3a_cmap_ioremap()
511 static void ofdrm_rage_m3a_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_rage_m3a_cmap_write()
530 static void __iomem *ofdrm_rage_m3b_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_rage_m3b_cmap_ioremap()
537 static void ofdrm_rage_m3b_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_rage_m3b_cmap_write()
556 static void __iomem *ofdrm_radeon_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_radeon_cmap_ioremap()
563 static void __iomem *ofdrm_gxt2000_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_gxt2000_cmap_ioremap()
570 static void ofdrm_gxt2000_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_gxt2000_cmap_write()
579 static void __iomem *ofdrm_avivo_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_avivo_cmap_ioremap()
593 static void ofdrm_avivo_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_avivo_cmap_write()
612 static void __iomem *ofdrm_qemu_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_qemu_cmap_ioremap()
637 static void ofdrm_qemu_cmap_write(struct ofdrm_device *odev, unsigned char index, in ofdrm_qemu_cmap_write()
649 static void ofdrm_device_set_gamma_linear(struct ofdrm_device *odev, in ofdrm_device_set_gamma_linear()
687 static void ofdrm_device_set_gamma(struct ofdrm_device *odev, in ofdrm_device_set_gamma()
792 struct ofdrm_device *odev = ofdrm_device_of_dev(dev); in ofdrm_primary_plane_helper_atomic_update()
832 struct ofdrm_device *odev = ofdrm_device_of_dev(dev); in ofdrm_primary_plane_helper_atomic_disable()
879 struct ofdrm_device *odev = ofdrm_device_of_dev(crtc->dev); in ofdrm_crtc_helper_mode_valid()
914 struct ofdrm_device *odev = ofdrm_device_of_dev(crtc->dev); in ofdrm_crtc_helper_atomic_flush()
992 struct ofdrm_device *odev = ofdrm_device_of_dev(connector->dev); in ofdrm_connector_helper_get_modes()
1077 static struct ofdrm_device *ofdrm_device_create(struct drm_driver *drv, in ofdrm_device_create()
1081 struct ofdrm_device *odev; in ofdrm_device_create()
1099 odev = devm_drm_dev_alloc(&pdev->dev, drv, struct ofdrm_device, dev); in ofdrm_device_create()
1349 struct ofdrm_device *odev; in ofdrm_probe()