w100_pwr_state    972 drivers/video/fbdev/w100fb.c static struct power_state w100_pwr_state;
w100_pwr_state   1068 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pwdn = 0x0;     /* power down */
w100_pwr_state   1069 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_reset = 0x0;    /* not reset */
w100_pwr_state   1070 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_tcpoff = 0x1;   /* Hi-Z */
w100_pwr_state   1071 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pvg = 0x0;      /* VCO gain = 0 */
w100_pwr_state   1072 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_vcofr = 0x0;    /* VCO frequency range control = off */
w100_pwr_state   1073 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_ioffset = 0x0;  /* current offset inside VCO = 0 */
w100_pwr_state   1074 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_ring_off = 0x0;
w100_pwr_state   1082 drivers/video/fbdev/w100fb.c 		w100_pwr_state.pll_cntl.f.pll_dactal = 0xd;
w100_pwr_state   1083 drivers/video/fbdev/w100fb.c 		writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL);
w100_pwr_state   1088 drivers/video/fbdev/w100fb.c 			w100_pwr_state.pll_cntl.f.pll_dactal = 0x7;
w100_pwr_state   1089 drivers/video/fbdev/w100fb.c 			writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL);
w100_pwr_state   1095 drivers/video/fbdev/w100fb.c 			if ((w100_pwr_state.pll_cntl.f.pll_vcofr == 0x0) &&
w100_pwr_state   1096 drivers/video/fbdev/w100fb.c 				((w100_pwr_state.pll_cntl.f.pll_pvg == 0x7) ||
w100_pwr_state   1097 drivers/video/fbdev/w100fb.c 				(w100_pwr_state.pll_cntl.f.pll_ioffset == 0x0))) {
w100_pwr_state   1099 drivers/video/fbdev/w100fb.c 				w100_pwr_state.pll_cntl.f.pll_vcofr = 0x1;
w100_pwr_state   1100 drivers/video/fbdev/w100fb.c 				w100_pwr_state.pll_cntl.f.pll_pvg = 0x0;
w100_pwr_state   1101 drivers/video/fbdev/w100fb.c 				w100_pwr_state.pll_cntl.f.pll_ioffset = 0x0;
w100_pwr_state   1105 drivers/video/fbdev/w100fb.c 		if ((w100_pwr_state.pll_cntl.f.pll_ioffset) < 0x3) {
w100_pwr_state   1106 drivers/video/fbdev/w100fb.c 			w100_pwr_state.pll_cntl.f.pll_ioffset += 0x1;
w100_pwr_state   1107 drivers/video/fbdev/w100fb.c 		} else if ((w100_pwr_state.pll_cntl.f.pll_pvg) < 0x7) {
w100_pwr_state   1108 drivers/video/fbdev/w100fb.c 			w100_pwr_state.pll_cntl.f.pll_ioffset = 0x0;
w100_pwr_state   1109 drivers/video/fbdev/w100fb.c 			w100_pwr_state.pll_cntl.f.pll_pvg += 0x1;
w100_pwr_state   1128 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_dactal = 0xa;
w100_pwr_state   1129 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL);
w100_pwr_state   1134 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_tcpoff = 0x0;  /* normal */
w100_pwr_state   1135 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL);
w100_pwr_state   1138 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_dactal = 0x0;
w100_pwr_state   1139 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL);
w100_pwr_state   1153 drivers/video/fbdev/w100fb.c 	if (w100_pwr_state.auto_mode == 1)  /* auto mode */
w100_pwr_state   1155 drivers/video/fbdev/w100fb.c 		w100_pwr_state.pwrmgt_cntl.f.pwm_fast_noml_hw_en = 0x0;  /* disable fast to normal */
w100_pwr_state   1156 drivers/video/fbdev/w100fb.c 		w100_pwr_state.pwrmgt_cntl.f.pwm_noml_fast_hw_en = 0x0;  /* disable normal to fast */
w100_pwr_state   1157 drivers/video/fbdev/w100fb.c 		writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL);
w100_pwr_state   1161 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_src_sel = CLK_SRC_XTAL;
w100_pwr_state   1162 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.sclk_cntl.val), remapped_regs + mmSCLK_CNTL);
w100_pwr_state   1164 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_ref_div = pll->M;
w100_pwr_state   1165 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_fb_div_int = pll->N_int;
w100_pwr_state   1166 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_fb_div_frac = pll->N_fac;
w100_pwr_state   1167 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_lock_time = pll->lock_time;
w100_pwr_state   1168 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pll_ref_fb_div.val), remapped_regs + mmPLL_REF_FB_DIV);
w100_pwr_state   1170 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_mode_req = 0;
w100_pwr_state   1171 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL);
w100_pwr_state   1175 drivers/video/fbdev/w100fb.c 	if (w100_pwr_state.auto_mode == 1)  /* auto mode */
w100_pwr_state   1177 drivers/video/fbdev/w100fb.c 		w100_pwr_state.pwrmgt_cntl.f.pwm_fast_noml_hw_en = 0x1;  /* reenable fast to normal */
w100_pwr_state   1178 drivers/video/fbdev/w100fb.c 		w100_pwr_state.pwrmgt_cntl.f.pwm_noml_fast_hw_en = 0x1;  /* reenable normal to fast  */
w100_pwr_state   1179 drivers/video/fbdev/w100fb.c 		writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL);
w100_pwr_state   1202 drivers/video/fbdev/w100fb.c 	w100_pwr_state.clk_pin_cntl.f.osc_en = 0x1;
w100_pwr_state   1203 drivers/video/fbdev/w100fb.c 	w100_pwr_state.clk_pin_cntl.f.osc_gain = 0x1f;
w100_pwr_state   1204 drivers/video/fbdev/w100fb.c 	w100_pwr_state.clk_pin_cntl.f.dont_use_xtalin = 0x0;
w100_pwr_state   1205 drivers/video/fbdev/w100fb.c 	w100_pwr_state.clk_pin_cntl.f.xtalin_pm_en = 0x0;
w100_pwr_state   1206 drivers/video/fbdev/w100fb.c 	w100_pwr_state.clk_pin_cntl.f.xtalin_dbl_en = par->mach->xtal_dbl ? 1 : 0;
w100_pwr_state   1207 drivers/video/fbdev/w100fb.c 	w100_pwr_state.clk_pin_cntl.f.cg_debug = 0x0;
w100_pwr_state   1208 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.clk_pin_cntl.val), remapped_regs + mmCLK_PIN_CNTL);
w100_pwr_state   1210 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_src_sel = CLK_SRC_XTAL;
w100_pwr_state   1211 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_post_div_fast = 0x0;  /* Pfast = 1 */
w100_pwr_state   1212 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_clkon_hys = 0x3;
w100_pwr_state   1213 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_post_div_slow = 0x0;  /* Pslow = 1 */
w100_pwr_state   1214 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.disp_cg_ok2switch_en = 0x0;
w100_pwr_state   1215 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_reg = 0x0;    /* Dynamic */
w100_pwr_state   1216 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_disp = 0x0;   /* Dynamic */
w100_pwr_state   1217 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_mc = 0x0;     /* Dynamic */
w100_pwr_state   1218 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_extmc = 0x0;  /* Dynamic */
w100_pwr_state   1219 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_cp = 0x0;     /* Dynamic */
w100_pwr_state   1220 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_e2 = 0x0;     /* Dynamic */
w100_pwr_state   1221 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_e3 = 0x0;     /* Dynamic */
w100_pwr_state   1222 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_idct = 0x0;   /* Dynamic */
w100_pwr_state   1223 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_force_bist = 0x0;   /* Dynamic */
w100_pwr_state   1224 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.busy_extend_cp = 0x0;
w100_pwr_state   1225 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.busy_extend_e2 = 0x0;
w100_pwr_state   1226 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.busy_extend_e3 = 0x0;
w100_pwr_state   1227 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.busy_extend_idct = 0x0;
w100_pwr_state   1228 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.sclk_cntl.val), remapped_regs + mmSCLK_CNTL);
w100_pwr_state   1230 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pclk_cntl.f.pclk_src_sel = CLK_SRC_XTAL;
w100_pwr_state   1231 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pclk_cntl.f.pclk_post_div = 0x1;    /* P = 2 */
w100_pwr_state   1232 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pclk_cntl.f.pclk_force_disp = 0x0;  /* Dynamic */
w100_pwr_state   1233 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pclk_cntl.val), remapped_regs + mmPCLK_CNTL);
w100_pwr_state   1235 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_ref_div = 0x0;     /* M = 1 */
w100_pwr_state   1236 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_fb_div_int = 0x0;  /* N = 1.0 */
w100_pwr_state   1237 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_fb_div_frac = 0x0;
w100_pwr_state   1238 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_reset_time = 0x5;
w100_pwr_state   1239 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_ref_fb_div.f.pll_lock_time = 0xff;
w100_pwr_state   1240 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pll_ref_fb_div.val), remapped_regs + mmPLL_REF_FB_DIV);
w100_pwr_state   1242 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pwdn = 0x1;
w100_pwr_state   1243 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_reset = 0x1;
w100_pwr_state   1244 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pm_en = 0x0;
w100_pwr_state   1245 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_mode = 0x0;  /* uses VCO clock */
w100_pwr_state   1246 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_refclk_sel = 0x0;
w100_pwr_state   1247 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_fbclk_sel = 0x0;
w100_pwr_state   1248 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_tcpoff = 0x0;
w100_pwr_state   1249 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pcp = 0x4;
w100_pwr_state   1250 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pvg = 0x0;
w100_pwr_state   1251 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_vcofr = 0x0;
w100_pwr_state   1252 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_ioffset = 0x0;
w100_pwr_state   1253 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pecc_mode = 0x0;
w100_pwr_state   1254 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_pecc_scon = 0x0;
w100_pwr_state   1255 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_dactal = 0x0;  /* Hi-Z */
w100_pwr_state   1256 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_cp_clip = 0x3;
w100_pwr_state   1257 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_conf = 0x2;
w100_pwr_state   1258 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_mbctrl = 0x2;
w100_pwr_state   1259 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pll_cntl.f.pll_ring_off = 0x0;
w100_pwr_state   1260 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pll_cntl.val), remapped_regs + mmPLL_CNTL);
w100_pwr_state   1262 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_enable = 0x0;
w100_pwr_state   1263 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_mode_req = 0x1;  /* normal mode (0, 1, 3) */
w100_pwr_state   1264 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_wakeup_cond = 0x0;
w100_pwr_state   1265 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_fast_noml_hw_en = 0x0;
w100_pwr_state   1266 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_noml_fast_hw_en = 0x0;
w100_pwr_state   1267 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_fast_noml_cond = 0x1;  /* PM4,ENG */
w100_pwr_state   1268 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_noml_fast_cond = 0x1;  /* PM4,ENG */
w100_pwr_state   1269 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_idle_timer = 0xFF;
w100_pwr_state   1270 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pwrmgt_cntl.f.pwm_busy_timer = 0xFF;
w100_pwr_state   1271 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pwrmgt_cntl.val), remapped_regs + mmPWRMGT_CNTL);
w100_pwr_state   1273 drivers/video/fbdev/w100fb.c 	w100_pwr_state.auto_mode = 0;  /* manual mode */
w100_pwr_state   1287 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_src_sel = mode->sysclk_src;
w100_pwr_state   1288 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_post_div_fast = mode->sysclk_divider;
w100_pwr_state   1289 drivers/video/fbdev/w100fb.c 	w100_pwr_state.sclk_cntl.f.sclk_post_div_slow = mode->sysclk_divider;
w100_pwr_state   1290 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.sclk_cntl.val), remapped_regs + mmSCLK_CNTL);
w100_pwr_state   1491 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pclk_cntl.f.pclk_src_sel = par->mode->pixclk_src;
w100_pwr_state   1492 drivers/video/fbdev/w100fb.c 	w100_pwr_state.pclk_cntl.f.pclk_post_div = divider;
w100_pwr_state   1493 drivers/video/fbdev/w100fb.c 	writel((u32) (w100_pwr_state.pclk_cntl.val), remapped_regs + mmPCLK_CNTL);
w100_pwr_state   1516 drivers/video/fbdev/w100fb.c 	hsync /= (w100_pwr_state.pclk_cntl.f.pclk_post_div + 1);