Lines Matching refs:dc_regs

318 	__u32 __iomem *dc_regs;  member
702 write_reg_le32(par->dc_regs, HES, init->hes); in set_imstt_regvals()
703 write_reg_le32(par->dc_regs, HEB, init->heb); in set_imstt_regvals()
704 write_reg_le32(par->dc_regs, HSB, init->hsb); in set_imstt_regvals()
705 write_reg_le32(par->dc_regs, HT, init->ht); in set_imstt_regvals()
706 write_reg_le32(par->dc_regs, VES, init->ves); in set_imstt_regvals()
707 write_reg_le32(par->dc_regs, VEB, init->veb); in set_imstt_regvals()
708 write_reg_le32(par->dc_regs, VSB, init->vsb); in set_imstt_regvals()
709 write_reg_le32(par->dc_regs, VT, init->vt); in set_imstt_regvals()
710 write_reg_le32(par->dc_regs, VIL, init->vil); in set_imstt_regvals()
711 write_reg_le32(par->dc_regs, HCIV, 1); in set_imstt_regvals()
712 write_reg_le32(par->dc_regs, VCIV, 1); in set_imstt_regvals()
713 write_reg_le32(par->dc_regs, TCDR, 4); in set_imstt_regvals()
714 write_reg_le32(par->dc_regs, RRCIV, 1); in set_imstt_regvals()
715 write_reg_le32(par->dc_regs, RRSC, 0x980); in set_imstt_regvals()
716 write_reg_le32(par->dc_regs, RRCR, 0x11); in set_imstt_regvals()
719 write_reg_le32(par->dc_regs, HRIR, 0x0100); in set_imstt_regvals()
720 write_reg_le32(par->dc_regs, CMR, 0x00ff); in set_imstt_regvals()
721 write_reg_le32(par->dc_regs, SRGCTL, 0x0073); in set_imstt_regvals()
723 write_reg_le32(par->dc_regs, HRIR, 0x0200); in set_imstt_regvals()
724 write_reg_le32(par->dc_regs, CMR, 0x01ff); in set_imstt_regvals()
725 write_reg_le32(par->dc_regs, SRGCTL, 0x0003); in set_imstt_regvals()
740 write_reg_le32(par->dc_regs, SCR, scr); in set_imstt_regvals()
741 write_reg_le32(par->dc_regs, SPR, pitch); in set_imstt_regvals()
742 write_reg_le32(par->dc_regs, STGCTL, ctl); in set_imstt_regvals()
751 write_reg_le32(par->dc_regs, SSR, off); in set_offset()
940 ctrl = read_reg_le32(par->dc_regs, STGCTL); in imsttfb_blank()
984 write_reg_le32(par->dc_regs, STGCTL, ctrl); in imsttfb_blank()
1009 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x80); in imsttfb_fillrect()
1010 write_reg_le32(par->dc_regs, DSA, dy + dx); in imsttfb_fillrect()
1011 write_reg_le32(par->dc_regs, CNT, (height << 16) | width); in imsttfb_fillrect()
1012 write_reg_le32(par->dc_regs, DP_OCTL, line_pitch); in imsttfb_fillrect()
1013 write_reg_le32(par->dc_regs, BI, 0xffffffff); in imsttfb_fillrect()
1014 write_reg_le32(par->dc_regs, MBC, 0xffffffff); in imsttfb_fillrect()
1015 write_reg_le32(par->dc_regs, CLR, bgc); in imsttfb_fillrect()
1016 write_reg_le32(par->dc_regs, BLTCTL, 0x840); /* 0x200000 */ in imsttfb_fillrect()
1017 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x80); in imsttfb_fillrect()
1018 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x40); in imsttfb_fillrect()
1020 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x80); in imsttfb_fillrect()
1021 write_reg_le32(par->dc_regs, DSA, dy + dx); in imsttfb_fillrect()
1022 write_reg_le32(par->dc_regs, S1SA, dy + dx); in imsttfb_fillrect()
1023 write_reg_le32(par->dc_regs, CNT, (height << 16) | width); in imsttfb_fillrect()
1024 write_reg_le32(par->dc_regs, DP_OCTL, line_pitch); in imsttfb_fillrect()
1025 write_reg_le32(par->dc_regs, SP, line_pitch); in imsttfb_fillrect()
1026 write_reg_le32(par->dc_regs, BLTCTL, 0x40005); in imsttfb_fillrect()
1027 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x80); in imsttfb_fillrect()
1028 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x40); in imsttfb_fillrect()
1075 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x80); in imsttfb_copyarea()
1076 write_reg_le32(par->dc_regs, S1SA, fb_offset_old); in imsttfb_copyarea()
1077 write_reg_le32(par->dc_regs, SP, sp); in imsttfb_copyarea()
1078 write_reg_le32(par->dc_regs, DSA, fb_offset_new); in imsttfb_copyarea()
1079 write_reg_le32(par->dc_regs, CNT, cnt); in imsttfb_copyarea()
1080 write_reg_le32(par->dc_regs, DP_OCTL, dp_octl); in imsttfb_copyarea()
1081 write_reg_le32(par->dc_regs, BLTCTL, bltctl); in imsttfb_copyarea()
1082 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x80); in imsttfb_copyarea()
1083 while(read_reg_le32(par->dc_regs, SSTATUS) & 0x40); in imsttfb_copyarea()
1278 write_reg_le32(par->dc_regs, reg[0], reg[1]); in imsttfb_ioctl()
1283 reg[1] = read_reg_le32(par->dc_regs, reg[0]); in imsttfb_ioctl()
1355 tmp = read_reg_le32(par->dc_regs, PRC); in init_imstt()
1367 tmp = read_reg_le32(par->dc_regs, STGCTL); in init_imstt()
1368 write_reg_le32(par->dc_regs, STGCTL, tmp & ~0x1); in init_imstt()
1369 write_reg_le32(par->dc_regs, SSR, 0); in init_imstt()
1462 tmp = (read_reg_le32(par->dc_regs, SSTATUS) & 0x0f00) >> 8; in init_imstt()
1524 par->dc_regs = ioremap(addr + 0x800000, 0x1000); in imsttfb_probe()
1525 if (!par->dc_regs) in imsttfb_probe()
1538 if (par->dc_regs) in imsttfb_probe()
1539 iounmap(par->dc_regs); in imsttfb_probe()
1555 iounmap(par->dc_regs); in imsttfb_remove()