cust_cfgs         755 drivers/memory/emif.c 	struct emif_custom_configs *cust_cfgs = emif->plat_data->custom_configs;
cust_cfgs         757 drivers/memory/emif.c 	if (cust_cfgs && (cust_cfgs->mask & EMIF_CUSTOM_CONFIG_LPMODE)) {
cust_cfgs         758 drivers/memory/emif.c 		lpmode		= cust_cfgs->lpmode;
cust_cfgs         759 drivers/memory/emif.c 		timeout_perf	= cust_cfgs->lpmode_timeout_performance;
cust_cfgs         760 drivers/memory/emif.c 		timeout_pwr	= cust_cfgs->lpmode_timeout_power;
cust_cfgs         761 drivers/memory/emif.c 		freq_threshold  = cust_cfgs->lpmode_freq_threshold;
cust_cfgs        1238 drivers/memory/emif.c static int is_custom_config_valid(struct emif_custom_configs *cust_cfgs,
cust_cfgs        1243 drivers/memory/emif.c 	if ((cust_cfgs->mask & EMIF_CUSTOM_CONFIG_LPMODE) &&
cust_cfgs        1244 drivers/memory/emif.c 		(cust_cfgs->lpmode != EMIF_LP_MODE_DISABLE))
cust_cfgs        1245 drivers/memory/emif.c 		valid = cust_cfgs->lpmode_freq_threshold &&
cust_cfgs        1246 drivers/memory/emif.c 			cust_cfgs->lpmode_timeout_performance &&
cust_cfgs        1247 drivers/memory/emif.c 			cust_cfgs->lpmode_timeout_power;
cust_cfgs        1249 drivers/memory/emif.c 	if (cust_cfgs->mask & EMIF_CUSTOM_CONFIG_TEMP_ALERT_POLL_INTERVAL)
cust_cfgs        1250 drivers/memory/emif.c 		valid = valid && cust_cfgs->temp_alert_poll_interval_ms;
cust_cfgs        1262 drivers/memory/emif.c 	struct emif_custom_configs	*cust_cfgs = NULL;
cust_cfgs        1270 drivers/memory/emif.c 		cust_cfgs = devm_kzalloc(emif->dev, sizeof(*cust_cfgs),
cust_cfgs        1273 drivers/memory/emif.c 	if (!cust_cfgs)
cust_cfgs        1277 drivers/memory/emif.c 		cust_cfgs->mask |= EMIF_CUSTOM_CONFIG_LPMODE;
cust_cfgs        1278 drivers/memory/emif.c 		cust_cfgs->lpmode = be32_to_cpup(lpmode);
cust_cfgs        1281 drivers/memory/emif.c 				&cust_cfgs->lpmode_timeout_performance);
cust_cfgs        1284 drivers/memory/emif.c 				&cust_cfgs->lpmode_timeout_power);
cust_cfgs        1287 drivers/memory/emif.c 				&cust_cfgs->lpmode_freq_threshold);
cust_cfgs        1291 drivers/memory/emif.c 		cust_cfgs->mask |=
cust_cfgs        1293 drivers/memory/emif.c 		cust_cfgs->temp_alert_poll_interval_ms =
cust_cfgs        1298 drivers/memory/emif.c 		cust_cfgs->mask |= EMIF_CUSTOM_CONFIG_EXTENDED_TEMP_PART;
cust_cfgs        1300 drivers/memory/emif.c 	if (!is_custom_config_valid(cust_cfgs, emif->dev)) {
cust_cfgs        1301 drivers/memory/emif.c 		devm_kfree(emif->dev, cust_cfgs);
cust_cfgs        1305 drivers/memory/emif.c 	emif->plat_data->custom_configs = cust_cfgs;
cust_cfgs        1430 drivers/memory/emif.c 	struct emif_custom_configs	*cust_cfgs;
cust_cfgs        1486 drivers/memory/emif.c 	cust_cfgs = pd->custom_configs;
cust_cfgs        1487 drivers/memory/emif.c 	if (cust_cfgs && is_custom_config_valid(cust_cfgs, dev)) {
cust_cfgs        1488 drivers/memory/emif.c 		temp = devm_kzalloc(dev, sizeof(*cust_cfgs), GFP_KERNEL);
cust_cfgs        1490 drivers/memory/emif.c 			memcpy(temp, cust_cfgs, sizeof(*cust_cfgs));