Lines Matching refs:lpmode
58 u8 lpmode; member
187 static void set_lpmode(struct emif_data *emif, u8 lpmode) in set_lpmode() argument
219 (lpmode == EMIF_LP_MODE_PWR_DN)) { in set_lpmode()
223 lpmode = EMIF_LP_MODE_SELF_REFRESH; in set_lpmode()
228 temp |= (lpmode << LP_MODE_SHIFT); in set_lpmode()
260 if (emif->lpmode == EMIF_LP_MODE_SELF_REFRESH) in do_freq_update()
271 if (emif->lpmode == EMIF_LP_MODE_SELF_REFRESH) in do_freq_update()
373 u32 lpmode = EMIF_LP_MODE_SELF_REFRESH; in get_pwr_mgmt_ctrl() local
383 lpmode = cust_cfgs->lpmode; in get_pwr_mgmt_ctrl()
405 switch (lpmode) { in get_pwr_mgmt_ctrl()
429 if (lpmode != EMIF_LP_MODE_DISABLE && timeout > mask >> shift) { in get_pwr_mgmt_ctrl()
431 lpmode, in get_pwr_mgmt_ctrl()
450 pwr_mgmt_ctrl |= lpmode << LP_MODE_SHIFT; in get_pwr_mgmt_ctrl()
730 emif->lpmode = (pwr_mgmt_ctrl & LP_MODE_MASK) >> LP_MODE_SHIFT; in emif_onetime_settings()
823 (cust_cfgs->lpmode != EMIF_LP_MODE_DISABLE)) in is_custom_config_valid()
843 const __be32 *lpmode, *poll_intvl; in of_get_custom_configs() local
845 lpmode = of_get_property(np_emif, "low-power-mode", &len); in of_get_custom_configs()
848 if (lpmode || poll_intvl) in of_get_custom_configs()
855 if (lpmode) { in of_get_custom_configs()
857 cust_cfgs->lpmode = be32_to_cpup(lpmode); in of_get_custom_configs()