Lines Matching refs:arg
70 static int encode_value(struct display_info *disp, char **arg, int arg_count, in encode_value() argument
89 for (; arg_count > 0; arg++, arg_count--, upto += len) { in encode_value()
92 len = strlen(*arg) + 1; in encode_value()
109 memcpy(ptr, *arg, len); in encode_value()
114 sscanf(*arg, fmt, &ival); in encode_value()
236 char **arg, int arg_count) in do_fdtput() argument
253 if (disp->auto_path && create_paths(blob, *arg)) in do_fdtput()
255 if (encode_value(disp, arg + 2, arg_count - 2, &value, &len) || in do_fdtput()
256 store_key_value(blob, *arg, arg[1], value, len)) in do_fdtput()
260 for (; ret >= 0 && arg_count--; arg++) { in do_fdtput()
262 ret = create_paths(blob, *arg); in do_fdtput()
264 ret = create_node(blob, *arg); in do_fdtput()