Lines Matching refs:tmp_str
176 const char *tmp_str; in atmel_ebi_xslate_smc_config() local
207 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
208 of_property_read_string(np, "atmel,smc-byte-access-type", &tmp_str); in atmel_ebi_xslate_smc_config()
209 if (tmp_str && !strcmp(tmp_str, "write")) { in atmel_ebi_xslate_smc_config()
214 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
215 of_property_read_string(np, "atmel,smc-read-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
216 if (tmp_str && !strcmp(tmp_str, "nrd")) { in atmel_ebi_xslate_smc_config()
221 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
222 of_property_read_string(np, "atmel,smc-write-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
223 if (tmp_str && !strcmp(tmp_str, "nwe")) { in atmel_ebi_xslate_smc_config()
228 tmp_str = NULL; in atmel_ebi_xslate_smc_config()
229 of_property_read_string(np, "atmel,smc-exnw-mode", &tmp_str); in atmel_ebi_xslate_smc_config()
230 if (tmp_str) { in atmel_ebi_xslate_smc_config()
231 if (!strcmp(tmp_str, "frozen")) in atmel_ebi_xslate_smc_config()
233 else if (!strcmp(tmp_str, "ready")) in atmel_ebi_xslate_smc_config()
235 else if (strcmp(tmp_str, "disabled")) in atmel_ebi_xslate_smc_config()