Lines Matching refs:tmp_str
181 const char *tmp_str; in atmel_ebi_xslate_smc_config() local
212 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
213 of_property_read_string(np, "atmel,smc-byte-access-type", &tmp_str); in atmel_ebi_xslate_smc_config()
214 if (tmp_str && !strcmp(tmp_str, "write")) { in atmel_ebi_xslate_smc_config()
219 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
220 of_property_read_string(np, "atmel,smc-read-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
221 if (tmp_str && !strcmp(tmp_str, "nrd")) { in atmel_ebi_xslate_smc_config()
226 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
227 of_property_read_string(np, "atmel,smc-write-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
228 if (tmp_str && !strcmp(tmp_str, "nwe")) { in atmel_ebi_xslate_smc_config()
233 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
234 of_property_read_string(np, "atmel,smc-exnw-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
235 if (tmp_str) { in atmel_ebi_xslate_smc_config()
236 if (!strcmp(tmp_str, "frozen")) in atmel_ebi_xslate_smc_config()
238 else if (!strcmp(tmp_str, "ready")) in atmel_ebi_xslate_smc_config()
240 else if (strcmp(tmp_str, "disabled")) in atmel_ebi_xslate_smc_config()