Lines Matching refs:tmp_str
177 const char *tmp_str; in atmel_ebi_xslate_smc_config() local
208 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
209 of_property_read_string(np, "atmel,smc-byte-access-type", &tmp_str); in atmel_ebi_xslate_smc_config()
210 if (tmp_str && !strcmp(tmp_str, "write")) { in atmel_ebi_xslate_smc_config()
215 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
216 of_property_read_string(np, "atmel,smc-read-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
217 if (tmp_str && !strcmp(tmp_str, "nrd")) { in atmel_ebi_xslate_smc_config()
222 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
223 of_property_read_string(np, "atmel,smc-write-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
224 if (tmp_str && !strcmp(tmp_str, "nwe")) { in atmel_ebi_xslate_smc_config()
229 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
230 of_property_read_string(np, "atmel,smc-exnw-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
231 if (tmp_str) { in atmel_ebi_xslate_smc_config()
232 if (!strcmp(tmp_str, "frozen")) in atmel_ebi_xslate_smc_config()
234 else if (!strcmp(tmp_str, "ready")) in atmel_ebi_xslate_smc_config()
236 else if (strcmp(tmp_str, "disabled")) in atmel_ebi_xslate_smc_config()