Lines Matching refs:ch
288 const char *ch = con; in rt_ofw_console_setup() local
290 while (*ch && *ch != ' ') in rt_ofw_console_setup()
292 if (*ch++ == ',') in rt_ofw_console_setup()
294 options = (char *)ch; in rt_ofw_console_setup()
367 const char *bootargs = RT_NULL, *ch; in rt_ofw_bootargs_select() local
377 for (ch = bootargs; ch < bootargs_end; ++ch) in rt_ofw_bootargs_select()
379 if (*ch == '"') in rt_ofw_bootargs_select()
385 if (*ch != ' ' || !quotes) in rt_ofw_bootargs_select()
392 while (*ch == ' ' && ch < bootargs_end) in rt_ofw_bootargs_select()
394 *(char *)ch++ = '\0'; in rt_ofw_bootargs_select()
396 if (*ch == '\0') in rt_ofw_bootargs_select()
401 --ch; in rt_ofw_bootargs_select()