Searched refs:ptr_env (Results 1 – 1 of 1) sorted by relevance
120 char *ptr_env; in get_button_state() local123 ptr_env = env_get(envname); in get_button_state()124 if (NULL == ptr_env) { in get_button_state()127 gpio = (unsigned char)simple_strtoul(ptr_env, NULL, 0); in get_button_state()189 char *ptr_env; in set_env_gpios() local201 ptr_env = env_get(str_tmp); in set_env_gpios()202 if (NULL == ptr_env) in set_env_gpios()209 for (idx = 0; ptr_env[idx] != '\0'; idx++) { in set_env_gpios()210 if (ptr_env[idx] == ',') { in set_env_gpios()223 strncpy(str_tmp, ptr_env, pos1*sizeof(char)); in set_env_gpios()[all …]