Lines Matching refs:smc501_writel
283 smc501_writel(value, fbi->regs + palette + offset); in sm501fb_setup_gamma()
497 smc501_writel(par->screen.sm_addr | SM501_ADDR_FLIP, in sm501fb_set_par_common()
541 smc501_writel(reg, fbi->regs + (par->head == HEAD_CRT ? in sm501fb_set_par_geometry()
549 smc501_writel(reg, base + SM501_OFF_DC_H_TOT); in sm501fb_set_par_geometry()
556 smc501_writel(reg, base + SM501_OFF_DC_H_SYNC); in sm501fb_set_par_geometry()
563 smc501_writel(reg, base + SM501_OFF_DC_V_TOT); in sm501fb_set_par_geometry()
569 smc501_writel(reg, base + SM501_OFF_DC_V_SYNC); in sm501fb_set_par_geometry()
592 smc501_writel(reg, fbi->regs + SM501_DC_CRT_CONTROL); in sm501fb_pan_crt()
596 smc501_writel(reg | SM501_ADDR_FLIP, fbi->regs + SM501_DC_CRT_FB_ADDR); in sm501fb_pan_crt()
615 smc501_writel(reg, fbi->regs + SM501_DC_PANEL_FB_WIDTH); in sm501fb_pan_pnl()
618 smc501_writel(reg, fbi->regs + SM501_DC_PANEL_FB_HEIGHT); in sm501fb_pan_pnl()
706 smc501_writel(control, fbi->regs + SM501_DC_CRT_CONTROL); in sm501fb_set_par_crt()
724 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
729 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
741 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
752 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
764 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
775 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
781 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
786 smc501_writel(control, ctrl_reg); in sm501fb_panel_power()
855 smc501_writel(0x0, fbi->regs + SM501_DC_PANEL_PANNING_CONTROL); in sm501fb_set_par_pnl()
859 smc501_writel(0x00, fbi->regs + SM501_DC_PANEL_TL_LOC); in sm501fb_set_par_pnl()
864 smc501_writel(reg, fbi->regs + SM501_DC_PANEL_BR_LOC); in sm501fb_set_par_pnl()
877 smc501_writel(control, fbi->regs + SM501_DC_PANEL_CONTROL); in sm501fb_set_par_pnl()
946 smc501_writel(val, base + (regno * 4)); in sm501fb_setcolreg()
1027 smc501_writel(ctrl, fbi->regs + SM501_DC_CRT_CONTROL); in sm501fb_blank_crt()
1067 smc501_writel(hwc_addr | SM501_HWC_EN, in sm501fb_cursor()
1070 smc501_writel(hwc_addr & ~SM501_HWC_EN, in sm501fb_cursor()
1085 smc501_writel(x | (y << 16), base + SM501_OFF_HWC_LOC); in sm501fb_cursor()
1105 smc501_writel(bg, base + SM501_OFF_HWC_COLOR_1_2); in sm501fb_cursor()
1106 smc501_writel(fg, base + SM501_OFF_HWC_COLOR_3); in sm501fb_cursor()
1127 smc501_writel(0x0, dst + op); in sm501fb_cursor()
1209 smc501_writel(ctrl, info->regs + SM501_DC_CRT_CONTROL); in sm501fb_crtsrc_store()
1346 smc501_writel(par->screen.sm_addr, fbi->regs2d + SM501_2D_SOURCE_BASE); in sm501fb_copyarea()
1347 smc501_writel(par->screen.sm_addr, in sm501fb_copyarea()
1351 smc501_writel((info->var.xres << 16) | info->var.xres, in sm501fb_copyarea()
1355 smc501_writel((info->var.xres_virtual << 16) | info->var.xres_virtual, in sm501fb_copyarea()
1361 smc501_writel(0, fbi->regs2d + SM501_2D_STRETCH); in sm501fb_copyarea()
1364 smc501_writel(0x00100000, fbi->regs2d + SM501_2D_STRETCH); in sm501fb_copyarea()
1367 smc501_writel(0x00200000, fbi->regs2d + SM501_2D_STRETCH); in sm501fb_copyarea()
1372 smc501_writel(0xffffffff, fbi->regs2d + SM501_2D_COLOR_COMPARE_MASK); in sm501fb_copyarea()
1375 smc501_writel(0xffffffff, fbi->regs2d + SM501_2D_MASK); in sm501fb_copyarea()
1378 smc501_writel((sx << 16) | sy, fbi->regs2d + SM501_2D_SOURCE); in sm501fb_copyarea()
1379 smc501_writel((dx << 16) | dy, fbi->regs2d + SM501_2D_DESTINATION); in sm501fb_copyarea()
1382 smc501_writel((width << 16) | height, fbi->regs2d + SM501_2D_DIMENSION); in sm501fb_copyarea()
1385 smc501_writel(0x800000cc | rtl, fbi->regs2d + SM501_2D_CONTROL); in sm501fb_copyarea()
1407 smc501_writel(par->screen.sm_addr, fbi->regs2d + SM501_2D_SOURCE_BASE); in sm501fb_fillrect()
1408 smc501_writel(par->screen.sm_addr, in sm501fb_fillrect()
1412 smc501_writel((info->var.xres << 16) | info->var.xres, in sm501fb_fillrect()
1416 smc501_writel((info->var.xres_virtual << 16) | info->var.xres_virtual, in sm501fb_fillrect()
1422 smc501_writel(0, fbi->regs2d + SM501_2D_STRETCH); in sm501fb_fillrect()
1425 smc501_writel(0x00100000, fbi->regs2d + SM501_2D_STRETCH); in sm501fb_fillrect()
1428 smc501_writel(0x00200000, fbi->regs2d + SM501_2D_STRETCH); in sm501fb_fillrect()
1433 smc501_writel(0xffffffff, fbi->regs2d + SM501_2D_COLOR_COMPARE_MASK); in sm501fb_fillrect()
1436 smc501_writel(0xffffffff, fbi->regs2d + SM501_2D_MASK); in sm501fb_fillrect()
1439 smc501_writel(rect->color, fbi->regs2d + SM501_2D_FOREGROUND); in sm501fb_fillrect()
1442 smc501_writel((rect->dx << 16) | rect->dy, in sm501fb_fillrect()
1446 smc501_writel((width << 16) | height, fbi->regs2d + SM501_2D_DIMENSION); in sm501fb_fillrect()
1449 smc501_writel(0x800100cc, fbi->regs2d + SM501_2D_CONTROL); in sm501fb_fillrect()
1507 smc501_writel(par->cursor.sm_addr, in sm501_init_cursor()
1510 smc501_writel(0x00, par->cursor_regs + SM501_OFF_HWC_LOC); in sm501_init_cursor()
1511 smc501_writel(0x00, par->cursor_regs + SM501_OFF_HWC_COLOR_1_2); in sm501_init_cursor()
1512 smc501_writel(0x00, par->cursor_regs + SM501_OFF_HWC_COLOR_3); in sm501_init_cursor()
1620 smc501_writel(0, info->regs + SM501_DC_PANEL_PALETTE + (k * 4)); in sm501fb_start()
1693 smc501_writel(ctrl, info->regs + SM501_DC_CRT_CONTROL); in sm501fb_init_fb()
1718 smc501_writel(ctrl, info->regs + SM501_DC_CRT_CONTROL); in sm501fb_init_fb()
2197 smc501_writel(crt_ctrl, info->regs + SM501_DC_CRT_CONTROL); in sm501fb_resume()