Home
last modified time | relevance | path

Searched refs:cust_cfgs (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/memory/
Demif.c757 struct emif_custom_configs *cust_cfgs = emif->plat_data->custom_configs; in get_pwr_mgmt_ctrl() local
759 if (cust_cfgs && (cust_cfgs->mask & EMIF_CUSTOM_CONFIG_LPMODE)) { in get_pwr_mgmt_ctrl()
760 lpmode = cust_cfgs->lpmode; in get_pwr_mgmt_ctrl()
761 timeout_perf = cust_cfgs->lpmode_timeout_performance; in get_pwr_mgmt_ctrl()
762 timeout_pwr = cust_cfgs->lpmode_timeout_power; in get_pwr_mgmt_ctrl()
763 freq_threshold = cust_cfgs->lpmode_freq_threshold; in get_pwr_mgmt_ctrl()
1240 static int is_custom_config_valid(struct emif_custom_configs *cust_cfgs, in is_custom_config_valid() argument
1245 if ((cust_cfgs->mask & EMIF_CUSTOM_CONFIG_LPMODE) && in is_custom_config_valid()
1246 (cust_cfgs->lpmode != EMIF_LP_MODE_DISABLE)) in is_custom_config_valid()
1247 valid = cust_cfgs->lpmode_freq_threshold && in is_custom_config_valid()
[all …]