Lines Matching refs:res
30 void *res[] = { &node }; in olpc_dt_getsibling() local
35 if (olpc_ofw("peer", args, res) || (s32)node == -1) in olpc_dt_getsibling()
44 void *res[] = { &node }; in olpc_dt_getchild() local
49 if (olpc_ofw("child", args, res) || (s32)node == -1) { in olpc_dt_getchild()
61 void *res[] = { &len }; in olpc_dt_getproplen() local
66 if (olpc_ofw("getproplen", args, res)) { in olpc_dt_getproplen()
84 void *res[] = { &plen }; in olpc_dt_getproperty() local
86 if (olpc_ofw("getprop", args, res)) { in olpc_dt_getproperty()
99 void *res[] = { &success }; in olpc_dt_nextprop() local
106 if (olpc_ofw("nextprop", args, res) || success != 1) in olpc_dt_nextprop()
116 void *res[] = { len }; in olpc_dt_pkg2path() local
121 if (olpc_ofw("package-to-path", args, res) || *len < 1) in olpc_dt_pkg2path()
133 void *res; in prom_early_alloc() local
144 res = alloc_bootmem(chunk_size); in prom_early_alloc()
145 BUG_ON(!res); in prom_early_alloc()
147 memset(res, 0, chunk_size); in prom_early_alloc()
149 mem = res; in prom_early_alloc()
154 res = mem; in prom_early_alloc()
156 return res; in prom_early_alloc()
172 void *res[] = { &node }; in olpc_dt_finddevice() local
174 if (olpc_ofw("finddevice", args, res)) { in olpc_dt_finddevice()
189 void *res[] = { &result }; in olpc_dt_interpret() local
191 if (olpc_ofw("interpret", args, res)) { in olpc_dt_interpret()