Lines Matching refs:cmap_base
306 void __iomem *cmap_base; member
462 void __iomem *cmap_base; in ofdrm_mach64_cmap_ioremap() local
467 cmap_base = devm_ioremap(dev->dev, address, 0x1000); in ofdrm_mach64_cmap_ioremap()
468 if (!cmap_base) in ofdrm_mach64_cmap_ioremap()
471 return cmap_base; in ofdrm_mach64_cmap_ioremap()
477 void __iomem *addr = odev->cmap_base + 0xcc0; in ofdrm_mach64_cmap_write()
478 void __iomem *data = odev->cmap_base + 0xcc0 + 1; in ofdrm_mach64_cmap_write()
496 void __iomem *addr = odev->cmap_base + 0xb0; in ofdrm_rage128_cmap_write()
497 void __iomem *data = odev->cmap_base + 0xb4; in ofdrm_rage128_cmap_write()
514 void __iomem *dac_ctl = odev->cmap_base + 0x58; in ofdrm_rage_m3a_cmap_write()
515 void __iomem *addr = odev->cmap_base + 0xb0; in ofdrm_rage_m3a_cmap_write()
516 void __iomem *data = odev->cmap_base + 0xb4; in ofdrm_rage_m3a_cmap_write()
540 void __iomem *dac_ctl = odev->cmap_base + 0x58; in ofdrm_rage_m3b_cmap_write()
541 void __iomem *addr = odev->cmap_base + 0xb0; in ofdrm_rage_m3b_cmap_write()
542 void __iomem *data = odev->cmap_base + 0xb4; in ofdrm_rage_m3b_cmap_write()
573 void __iomem *data = ((unsigned int __iomem *)odev->cmap_base) + index; in ofdrm_gxt2000_cmap_write()
584 void __iomem *cmap_base; in ofdrm_avivo_cmap_ioremap() local
587 cmap_base = get_cmap_address_of(odev, of_parent, 0, 0, 0x10000); in ofdrm_avivo_cmap_ioremap()
590 return cmap_base; in ofdrm_avivo_cmap_ioremap()
596 void __iomem *lutsel = odev->cmap_base + AVIVO_DC_LUT_RW_SELECT; in ofdrm_avivo_cmap_write()
597 void __iomem *addr = odev->cmap_base + AVIVO_DC_LUT_RW_INDEX; in ofdrm_avivo_cmap_write()
598 void __iomem *data = odev->cmap_base + AVIVO_DC_LUT_30_COLOR; in ofdrm_avivo_cmap_write()
624 void __iomem *cmap_base; in ofdrm_qemu_cmap_ioremap() local
630 cmap_base = devm_ioremap(dev->dev, address + 0x3c8, 2); in ofdrm_qemu_cmap_ioremap()
631 if (!cmap_base) in ofdrm_qemu_cmap_ioremap()
634 return cmap_base; in ofdrm_qemu_cmap_ioremap()
640 void __iomem *addr = odev->cmap_base; in ofdrm_qemu_cmap_write()
641 void __iomem *data = odev->cmap_base + 1; in ofdrm_qemu_cmap_write()
1240 void __iomem *cmap_base = odev->funcs->cmap_ioremap(odev, of_node, fb_base); in ofdrm_device_create() local
1242 if (IS_ERR(cmap_base)) { in ofdrm_device_create()
1244 drm_warn(dev, "could not find colormap: error %ld\n", PTR_ERR(cmap_base)); in ofdrm_device_create()
1246 odev->cmap_base = cmap_base; in ofdrm_device_create()
1306 if (odev->cmap_base) { in ofdrm_device_create()