Home
last modified time | relevance | path

Searched refs:cell_t (Results 1 – 10 of 10) sorted by relevance

/linux-3.4.99/scripts/dtc/
Ddtc.h61 typedef uint32_t cell_t; typedef
111 struct data data_append_cell(struct data d, cell_t word);
153 cell_t phandle;
184 cell_t propval_cell(struct property *prop);
192 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
194 cell_t get_node_phandle(struct node *root, struct node *node);
Dtreesource.c138 cell_t *cp = (cell_t *)val.val; in write_propval_cells()
217 if ((m->offset % sizeof(cell_t)) != 0) in write_propval()
225 } else if (((len % sizeof(cell_t)) == 0) && (nnotcelllbl == 0)) { in write_propval()
Dchecks.c206 if (prop->val.len != sizeof(cell_t)) in check_is_cell()
342 cell_t phandle; in check_explicit_phandles()
348 if (prop->val.len != sizeof(cell_t)) { in check_explicit_phandles()
435 cell_t phandle; in fixup_phandle_references()
438 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references()
448 *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references()
534 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format()
562 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
Dlivetree.c280 cell_t propval_cell(struct property *prop) in propval_cell()
282 assert(prop->val.len == sizeof(cell_t)); in propval_cell()
283 return fdt32_to_cpu(*((cell_t *)prop->val.val)); in propval_cell()
394 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle()
420 cell_t get_node_phandle(struct node *root, struct node *node) in get_node_phandle()
422 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle()
Dflattree.c51 void (*cell)(void *, cell_t);
60 static void bin_emit_cell(void *e, cell_t val) in bin_emit_cell()
138 static void asm_emit_cell(void *e, cell_t val) in asm_emit_cell()
273 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
291 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
303 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
Ddata.c248 struct data data_append_cell(struct data d, cell_t word) in data_append_cell()
250 cell_t beword = cpu_to_fdt32(word); in data_append_cell()
Ddtc-parser.tab.h_shipped69 cell_t cell;
Ddtc-parser.y48 cell_t cell;
Ddtc-parser.tab.c_shipped141 cell_t cell;
/linux-3.4.99/arch/powerpc/kernel/
Dprom_init.c132 typedef u32 cell_t; typedef
199 static cell_t __initdata regbuf[1024];
1092 static unsigned long __init prom_next_cell(int s, cell_t **cellp) in prom_next_cell()
1094 cell_t *p = *cellp; in prom_next_cell()
1153 cell_t *p, *endp; in prom_init_mem()
1192 endp = p + (plen / sizeof(cell_t)); in prom_init_mem()