Lines Matching refs:lpmode
59 u8 lpmode;
212 static void set_lpmode(struct emif_data *emif, u8 lpmode)
244 (lpmode == EMIF_LP_MODE_PWR_DN)) {
248 lpmode = EMIF_LP_MODE_SELF_REFRESH;
253 temp |= (lpmode << LP_MODE_SHIFT);
285 if (emif->lpmode == EMIF_LP_MODE_SELF_REFRESH)
296 if (emif->lpmode == EMIF_LP_MODE_SELF_REFRESH)
706 u32 lpmode = EMIF_LP_MODE_SELF_REFRESH;
716 lpmode = cust_cfgs->lpmode;
738 switch (lpmode) {
762 if (lpmode != EMIF_LP_MODE_DISABLE && timeout > mask >> shift) {
763 pr_err("TIMEOUT Overflow - lpmode=%d perf=%d pwr=%d freq=%d\n",
764 lpmode,
783 pwr_mgmt_ctrl |= lpmode << LP_MODE_SHIFT;
1108 emif->lpmode = (pwr_mgmt_ctrl & LP_MODE_MASK) >> LP_MODE_SHIFT;
1201 (cust_cfgs->lpmode != EMIF_LP_MODE_DISABLE))
1221 const __be32 *lpmode, *poll_intvl;
1223 lpmode = of_get_property(np_emif, "low-power-mode", &len);
1226 if (lpmode || poll_intvl)
1233 if (lpmode) {
1235 cust_cfgs->lpmode = be32_to_cpup(lpmode);
1799 if (emif->lpmode == EMIF_LP_MODE_SELF_REFRESH)
1844 if (emif->lpmode == EMIF_LP_MODE_SELF_REFRESH)