remapped_regs 65 drivers/video/fbdev/w100fb.c static void *remapped_regs; remapped_regs 115 drivers/video/fbdev/w100fb.c param = readl(remapped_regs + regs); remapped_regs 129 drivers/video/fbdev/w100fb.c writel(param, remapped_regs + regs); remapped_regs 269 drivers/video/fbdev/w100fb.c status.val = readl(remapped_regs + mmRBBM_STATUS); remapped_regs 284 drivers/video/fbdev/w100fb.c status.val = readl(remapped_regs + mmRBBM_STATUS); remapped_regs 302 drivers/video/fbdev/w100fb.c writel(W100_FB_BASE, remapped_regs + mmDST_OFFSET); remapped_regs 303 drivers/video/fbdev/w100fb.c writel(par->xres, remapped_regs + mmDST_PITCH); remapped_regs 304 drivers/video/fbdev/w100fb.c writel(W100_FB_BASE, remapped_regs + mmSRC_OFFSET); remapped_regs 305 drivers/video/fbdev/w100fb.c writel(par->xres, remapped_regs + mmSRC_PITCH); remapped_regs 308 drivers/video/fbdev/w100fb.c writel(0, remapped_regs + mmSC_TOP_LEFT); remapped_regs 309 drivers/video/fbdev/w100fb.c writel((par->yres << 16) | par->xres, remapped_regs + mmSC_BOTTOM_RIGHT); remapped_regs 310 drivers/video/fbdev/w100fb.c writel(0x1fff1fff, remapped_regs + mmSRC_SC_BOTTOM_RIGHT); remapped_regs 320 drivers/video/fbdev/w100fb.c writel(dp_cntl.val, remapped_regs + mmDP_CNTL); remapped_regs 337 drivers/video/fbdev/w100fb.c writel(gmc.val, remapped_regs + mmDP_GUI_MASTER_CNTL); remapped_regs 346 drivers/video/fbdev/w100fb.c writel(dp_datatype.val, remapped_regs + mmDP_DATATYPE); remapped_regs 352 drivers/video/fbdev/w100fb.c writel(dp_mix.val, remapped_regs + mmDP_MIX); remapped_regs 368 drivers/video/fbdev/w100fb.c gmc.val = readl(remapped_regs + mmDP_GUI_MASTER_CNTL); remapped_regs 372 drivers/video/fbdev/w100fb.c writel(gmc.val, remapped_regs + mmDP_GUI_MASTER_CNTL); remapped_regs 373 drivers/video/fbdev/w100fb.c writel(rect->color, remapped_regs + mmDP_BRUSH_FRGD_CLR); remapped_regs 376 drivers/video/fbdev/w100fb.c writel((rect->dy << 16) | (rect->dx & 0xffff), remapped_regs + mmDST_Y_X); remapped_regs 378 drivers/video/fbdev/w100fb.c remapped_regs + mmDST_WIDTH_HEIGHT); remapped_regs 396 drivers/video/fbdev/w100fb.c gmc.val = readl(remapped_regs + mmDP_GUI_MASTER_CNTL); remapped_regs 400 drivers/video/fbdev/w100fb.c writel(gmc.val, remapped_regs + mmDP_GUI_MASTER_CNTL); remapped_regs 403 drivers/video/fbdev/w100fb.c writel((sy << 16) | (sx & 0xffff), remapped_regs + mmSRC_Y_X); remapped_regs 404 drivers/video/fbdev/w100fb.c writel((dy << 16) | (dx & 0xffff), remapped_regs + mmDST_Y_X); remapped_regs 405 drivers/video/fbdev/w100fb.c writel((w << 16) | (h & 0xffff), remapped_regs + mmDST_WIDTH_HEIGHT); remapped_regs 658 drivers/video/fbdev/w100fb.c remapped_regs = ioremap_nocache(mem->start+W100_REG_BASE, W100_REG_LEN); remapped_regs 659 drivers/video/fbdev/w100fb.c if (remapped_regs == NULL) remapped_regs 664 drivers/video/fbdev/w100fb.c chip_id = readl(remapped_regs + mmCHIP_ID); remapped_regs 775 drivers/video/fbdev/w100fb.c if (remapped_regs != NULL) remapped_regs 776 drivers/video/fbdev/w100fb.c iounmap(remapped_regs); remapped_regs 798 drivers/video/fbdev/w100fb.c iounmap(remapped_regs); remapped_regs 827 drivers/video/fbdev/w100fb.c writel((u32) (disp_db_buf_wr_cntl.val), remapped_regs + mmDISP_DB_BUF_CNTL); remapped_regs 838 drivers/video/fbdev/w100fb.c writel((u32) (disp_db_buf_wr_cntl.val), remapped_regs + mmDISP_DB_BUF_CNTL); remapped_regs 846 drivers/video/fbdev/w100fb.c value = readl(remapped_regs + mmGPIO_DATA); remapped_regs 848 drivers/video/fbdev/w100fb.c value = readl(remapped_regs + mmGPIO_DATA2); remapped_regs 856 drivers/video/fbdev/w100fb.c writel(value, remapped_regs + mmGPIO_DATA); remapped_regs 858 drivers/video/fbdev/w100fb.c writel(value, remapped_regs + mmGPIO_DATA2); remapped_regs 884 drivers/video/fbdev/w100fb.c writel(0x31, remapped_regs + mmSCRATCH_UMSK); remapped_regs 886 drivers/video/fbdev/w100fb.c readl(remapped_regs + mmSCRATCH_UMSK); remapped_regs 887 drivers/video/fbdev/w100fb.c writel(0x30, remapped_regs + mmSCRATCH_UMSK); remapped_regs 891 drivers/video/fbdev/w100fb.c writel((u32)(cif_io.val), remapped_regs + mmCIF_IO); remapped_regs 893 drivers/video/fbdev/w100fb.c cif_write_dbg.val = readl(remapped_regs + mmCIF_WRITE_DBG); remapped_regs 897 drivers/video/fbdev/w100fb.c writel((u32) (cif_write_dbg.val), remapped_regs + mmCIF_WRITE_DBG); remapped_regs 899 drivers/video/fbdev/w100fb.c cif_read_dbg.val = readl(remapped_regs + mmCIF_READ_DBG); remapped_regs 901 drivers/video/fbdev/w100fb.c writel((u32) (cif_read_dbg.val), remapped_regs + mmCIF_READ_DBG); remapped_regs 903 drivers/video/fbdev/w100fb.c cif_cntl.val = readl(remapped_regs + mmCIF_CNTL); remapped_regs 909 drivers/video/fbdev/w100fb.c writel((u32) (cif_cntl.val), remapped_regs + mmCIF_CNTL); remapped_regs 931 drivers/video/fbdev/w100fb.c writel((u32) (cfgreg_base.val), remapped_regs + mmCFGREG_BASE); remapped_regs 935 drivers/video/fbdev/w100fb.c writel((u32) (wrap_start_dir.val), remapped_regs + mmWRAP_START_DIR); remapped_regs 939 drivers/video/fbdev/w100fb.c writel((u32) (wrap_top_dir.val), remapped_regs + mmWRAP_TOP_DIR); remapped_regs 941 drivers/video/fbdev/w100fb.c writel((u32) 0x2440, remapped_regs + mmRBBM_CNTL); remapped_regs 944 drivers/video/fbdev/w100fb.c temp32 = readl(remapped_regs + mmDISP_DEBUG2); remapped_regs 947 drivers/video/fbdev/w100fb.c writel(temp32, remapped_regs + mmDISP_DEBUG2); remapped_regs 951 drivers/video/fbdev/w100fb.c writel(gpio->init_data1, remapped_regs + mmGPIO_DATA); remapped_regs 952 drivers/video/fbdev/w100fb.c writel(gpio->init_data2, remapped_regs + mmGPIO_DATA2); remapped_regs 953 drivers/video/fbdev/w100fb.c writel(gpio->gpio_dir1, remapped_regs + mmGPIO_CNTL1); remapped_regs 954 drivers/video/fbdev/w100fb.c writel(gpio->gpio_oe1, remapped_regs + mmGPIO_CNTL2); remapped_regs 955 drivers/video/fbdev/w100fb.c writel(gpio->gpio_dir2, remapped_regs + mmGPIO_CNTL3); remapped_regs 956 drivers/video/fbdev/w100fb.c writel(gpio->gpio_oe2, remapped_regs + mmGPIO_CNTL4); remapped_regs 1041 drivers/video/fbdev/w100fb.c writel((u32) (clk_test_cntl.val), remapped_regs + mmCLK_TEST_CNTL); remapped_regs 1044 drivers/video/fbdev/w100fb.c writel((u32) (clk_test_cntl.val), remapped_regs + mmCLK_TEST_CNTL); remapped_regs 1048 drivers/video/fbdev/w100fb.c writel((u32) (clk_test_cntl.val), remapped_regs + mmCLK_TEST_CNTL); remapped_regs 1054 drivers/video/fbdev/w100fb.c clk_test_cntl.val = readl(remapped_regs + mmCLK_TEST_CNTL); remapped_regs 1056 drivers/video/fbdev/w100fb.c writel((u32) (clk_test_cntl.val), remapped_regs + mmCLK_TEST_CNTL); remapped_regs 1083 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL); remapped_regs 1089 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL); remapped_regs 1129 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL); remapped_regs 1135 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL); remapped_regs 1139 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL); remapped_regs 1157 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL); remapped_regs 1162 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.sclk_cntl.val), remapped_regs + mmSCLK_CNTL); remapped_regs 1168 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_ref_fb_div.val), remapped_regs + mmPLL_REF_FB_DIV); remapped_regs 1171 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL); remapped_regs 1179 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL); remapped_regs 1208 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.clk_pin_cntl.val), remapped_regs + mmCLK_PIN_CNTL); remapped_regs 1228 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.sclk_cntl.val), remapped_regs + mmSCLK_CNTL); remapped_regs 1233 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pclk_cntl.val), remapped_regs + mmPCLK_CNTL); remapped_regs 1240 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_ref_fb_div.val), remapped_regs + mmPLL_REF_FB_DIV); remapped_regs 1260 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL); remapped_regs 1271 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL); remapped_regs 1290 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.sclk_cntl.val), remapped_regs + mmSCLK_CNTL); remapped_regs 1309 drivers/video/fbdev/w100fb.c writel(active_h_disp.val, remapped_regs + mmACTIVE_H_DISP); remapped_regs 1314 drivers/video/fbdev/w100fb.c writel(active_v_disp.val, remapped_regs + mmACTIVE_V_DISP); remapped_regs 1319 drivers/video/fbdev/w100fb.c writel(graphic_h_disp.val, remapped_regs + mmGRAPHIC_H_DISP); remapped_regs 1324 drivers/video/fbdev/w100fb.c writel(graphic_v_disp.val, remapped_regs + mmGRAPHIC_V_DISP); remapped_regs 1329 drivers/video/fbdev/w100fb.c writel(crtc_total.val, remapped_regs + mmCRTC_TOTAL); remapped_regs 1331 drivers/video/fbdev/w100fb.c writel(mode->crtc_ss, remapped_regs + mmCRTC_SS); remapped_regs 1332 drivers/video/fbdev/w100fb.c writel(mode->crtc_ls, remapped_regs + mmCRTC_LS); remapped_regs 1333 drivers/video/fbdev/w100fb.c writel(mode->crtc_gs, remapped_regs + mmCRTC_GS); remapped_regs 1334 drivers/video/fbdev/w100fb.c writel(mode->crtc_vpos_gs, remapped_regs + mmCRTC_VPOS_GS); remapped_regs 1335 drivers/video/fbdev/w100fb.c writel(mode->crtc_rev, remapped_regs + mmCRTC_REV); remapped_regs 1336 drivers/video/fbdev/w100fb.c writel(mode->crtc_dclk, remapped_regs + mmCRTC_DCLK); remapped_regs 1337 drivers/video/fbdev/w100fb.c writel(mode->crtc_gclk, remapped_regs + mmCRTC_GCLK); remapped_regs 1338 drivers/video/fbdev/w100fb.c writel(mode->crtc_goe, remapped_regs + mmCRTC_GOE); remapped_regs 1339 drivers/video/fbdev/w100fb.c writel(mode->crtc_ps1_active, remapped_regs + mmCRTC_PS1_ACTIVE); remapped_regs 1341 drivers/video/fbdev/w100fb.c writel(regs->lcd_format, remapped_regs + mmLCD_FORMAT); remapped_regs 1342 drivers/video/fbdev/w100fb.c writel(regs->lcdd_cntl1, remapped_regs + mmLCDD_CNTL1); remapped_regs 1343 drivers/video/fbdev/w100fb.c writel(regs->lcdd_cntl2, remapped_regs + mmLCDD_CNTL2); remapped_regs 1344 drivers/video/fbdev/w100fb.c writel(regs->genlcd_cntl1, remapped_regs + mmGENLCD_CNTL1); remapped_regs 1345 drivers/video/fbdev/w100fb.c writel(regs->genlcd_cntl2, remapped_regs + mmGENLCD_CNTL2); remapped_regs 1346 drivers/video/fbdev/w100fb.c writel(regs->genlcd_cntl3, remapped_regs + mmGENLCD_CNTL3); remapped_regs 1348 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmCRTC_FRAME); remapped_regs 1349 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmCRTC_FRAME_VPOS); remapped_regs 1350 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmCRTC_DEFAULT_COUNT); remapped_regs 1351 drivers/video/fbdev/w100fb.c writel(0x0000FF00, remapped_regs + mmLCD_BACKGROUND_COLOR); remapped_regs 1354 drivers/video/fbdev/w100fb.c temp32 = readl(remapped_regs + mmDISP_DEBUG2); remapped_regs 1356 drivers/video/fbdev/w100fb.c writel(temp32, remapped_regs + mmDISP_DEBUG2); remapped_regs 1373 drivers/video/fbdev/w100fb.c writel((u32) (intmem_location.val), remapped_regs + mmMC_FB_LOCATION); remapped_regs 1379 drivers/video/fbdev/w100fb.c writel((u32) (extmem_location.val), remapped_regs + mmMC_EXT_MEM_LOCATION); remapped_regs 1384 drivers/video/fbdev/w100fb.c writel((u32) (intmem_location.val), remapped_regs + mmMC_FB_LOCATION); remapped_regs 1389 drivers/video/fbdev/w100fb.c writel((u32) (extmem_location.val), remapped_regs + mmMC_EXT_MEM_LOCATION); remapped_regs 1391 drivers/video/fbdev/w100fb.c writel(0x00007800, remapped_regs + mmMC_BIST_CTRL); remapped_regs 1392 drivers/video/fbdev/w100fb.c writel(mem->ext_cntl, remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1393 drivers/video/fbdev/w100fb.c writel(0x00200021, remapped_regs + mmMEM_SDRAM_MODE_REG); remapped_regs 1395 drivers/video/fbdev/w100fb.c writel(0x80200021, remapped_regs + mmMEM_SDRAM_MODE_REG); remapped_regs 1397 drivers/video/fbdev/w100fb.c writel(mem->sdram_mode_reg, remapped_regs + mmMEM_SDRAM_MODE_REG); remapped_regs 1399 drivers/video/fbdev/w100fb.c writel(mem->ext_timing_cntl, remapped_regs + mmMEM_EXT_TIMING_CNTL); remapped_regs 1400 drivers/video/fbdev/w100fb.c writel(mem->io_cntl, remapped_regs + mmMEM_IO_CNTL); remapped_regs 1402 drivers/video/fbdev/w100fb.c writel(bm_mem->ext_mem_bw, remapped_regs + mmBM_EXT_MEM_BANDWIDTH); remapped_regs 1403 drivers/video/fbdev/w100fb.c writel(bm_mem->offset, remapped_regs + mmBM_OFFSET); remapped_regs 1404 drivers/video/fbdev/w100fb.c writel(bm_mem->ext_timing_ctl, remapped_regs + mmBM_MEM_EXT_TIMING_CNTL); remapped_regs 1405 drivers/video/fbdev/w100fb.c writel(bm_mem->ext_cntl, remapped_regs + mmBM_MEM_EXT_CNTL); remapped_regs 1406 drivers/video/fbdev/w100fb.c writel(bm_mem->mode_reg, remapped_regs + mmBM_MEM_MODE_REG); remapped_regs 1407 drivers/video/fbdev/w100fb.c writel(bm_mem->io_cntl, remapped_regs + mmBM_MEM_IO_CNTL); remapped_regs 1408 drivers/video/fbdev/w100fb.c writel(bm_mem->config, remapped_regs + mmBM_CONFIG); remapped_regs 1493 drivers/video/fbdev/w100fb.c writel((u32) (w100_pwr_state.pclk_cntl.val), remapped_regs + mmPCLK_CNTL); remapped_regs 1495 drivers/video/fbdev/w100fb.c writel(graphic_ctrl.val, remapped_regs + mmGRAPHIC_CTRL); remapped_regs 1496 drivers/video/fbdev/w100fb.c writel(W100_FB_BASE + ((offset * BITS_PER_PIXEL/8)&~0x03UL), remapped_regs + mmGRAPHIC_OFFSET); remapped_regs 1497 drivers/video/fbdev/w100fb.c writel((par->xres*BITS_PER_PIXEL/8), remapped_regs + mmGRAPHIC_PITCH); remapped_regs 1518 drivers/video/fbdev/w100fb.c crtc_ss.val = readl(remapped_regs + mmCRTC_SS); remapped_regs 1529 drivers/video/fbdev/w100fb.c writel(0x7FFF8000, remapped_regs + mmMC_EXT_MEM_LOCATION); remapped_regs 1530 drivers/video/fbdev/w100fb.c writel(0x00FF0000, remapped_regs + mmMC_PERF_MON_CNTL); remapped_regs 1532 drivers/video/fbdev/w100fb.c val = readl(remapped_regs + mmMEM_EXT_TIMING_CNTL); remapped_regs 1535 drivers/video/fbdev/w100fb.c writel(val, remapped_regs + mmMEM_EXT_TIMING_CNTL); remapped_regs 1537 drivers/video/fbdev/w100fb.c val = readl(remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1540 drivers/video/fbdev/w100fb.c writel(val, remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1546 drivers/video/fbdev/w100fb.c val = readl(remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1548 drivers/video/fbdev/w100fb.c writel(val, remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1551 drivers/video/fbdev/w100fb.c val = readl(remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1553 drivers/video/fbdev/w100fb.c writel(val, remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1555 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmSCLK_CNTL); remapped_regs 1556 drivers/video/fbdev/w100fb.c writel(0x000000BF, remapped_regs + mmCLK_PIN_CNTL); remapped_regs 1557 drivers/video/fbdev/w100fb.c writel(0x00000015, remapped_regs + mmPWRMGT_CNTL); remapped_regs 1561 drivers/video/fbdev/w100fb.c val = readl(remapped_regs + mmPLL_CNTL); remapped_regs 1563 drivers/video/fbdev/w100fb.c writel(val, remapped_regs + mmPLL_CNTL); remapped_regs 1565 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmLCDD_CNTL1); remapped_regs 1566 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmLCDD_CNTL2); remapped_regs 1567 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmGENLCD_CNTL1); remapped_regs 1568 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmGENLCD_CNTL2); remapped_regs 1569 drivers/video/fbdev/w100fb.c writel(0x00000000, remapped_regs + mmGENLCD_CNTL3); remapped_regs 1571 drivers/video/fbdev/w100fb.c val = readl(remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1574 drivers/video/fbdev/w100fb.c writel(val, remapped_regs + mmMEM_EXT_CNTL); remapped_regs 1576 drivers/video/fbdev/w100fb.c writel(0x0000001d, remapped_regs + mmPWRMGT_CNTL); remapped_regs 1585 drivers/video/fbdev/w100fb.c tmp = readl(remapped_regs + mmACTIVE_V_DISP); remapped_regs 1588 drivers/video/fbdev/w100fb.c writel((tmp >> 16) & 0x3ff, remapped_regs + mmDISP_INT_CNTL); remapped_regs 1591 drivers/video/fbdev/w100fb.c tmp = readl(remapped_regs + mmGEN_INT_CNTL); remapped_regs 1594 drivers/video/fbdev/w100fb.c writel(tmp, remapped_regs + mmGEN_INT_CNTL); remapped_regs 1597 drivers/video/fbdev/w100fb.c writel(0x00000002, remapped_regs + mmGEN_INT_STATUS); remapped_regs 1600 drivers/video/fbdev/w100fb.c writel((tmp | 0x00000002), remapped_regs + mmGEN_INT_CNTL); remapped_regs 1603 drivers/video/fbdev/w100fb.c writel(0x00000002, remapped_regs + mmGEN_INT_STATUS); remapped_regs 1606 drivers/video/fbdev/w100fb.c if (readl(remapped_regs + mmGEN_INT_STATUS) & 0x00000002) remapped_regs 1613 drivers/video/fbdev/w100fb.c writel(tmp, remapped_regs + mmGEN_INT_CNTL); remapped_regs 1616 drivers/video/fbdev/w100fb.c writel(0x00000002, remapped_regs + mmGEN_INT_STATUS);