Searched refs:cell_t (Results 1 – 11 of 11) sorted by relevance
/arch/powerpc/boot/dtc-src/ |
D | dtc.h | 76 typedef uint32_t cell_t; typedef 126 struct data data_append_cell(struct data d, cell_t word); 163 cell_t phandle; 188 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);
|
D | livetree.c | 205 cell_t propval_cell(struct property *prop) in propval_cell() 207 assert(prop->val.len == sizeof(cell_t)); in propval_cell() 208 return fdt32_to_cpu(*((cell_t *)prop->val.val)); in propval_cell() 263 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() 289 cell_t get_node_phandle(struct node *root, struct node *node) in get_node_phandle() 291 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle()
|
D | treesource.c | 137 cell_t *cp = (cell_t *)val.val; in write_propval_cells() 216 if ((m->offset % sizeof(cell_t)) != 0) in write_propval() 224 } else if (((len % sizeof(cell_t)) == 0) && (nnotcelllbl == 0)) { in write_propval()
|
D | checks.c | 206 if (prop->val.len != sizeof(cell_t)) in check_is_cell() 286 cell_t phandle; in check_explicit_phandles() 292 if (prop->val.len != sizeof(cell_t)) { in check_explicit_phandles() 355 cell_t phandle; in fixup_phandle_references() 358 assert(m->offset + sizeof(cell_t) <= prop->val.len); in fixup_phandle_references() 368 *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); in fixup_phandle_references() 454 entrylen = (addr_cells + size_cells) * sizeof(cell_t); in check_reg_format() 482 entrylen = (p_addr_cells + c_addr_cells + c_size_cells) * sizeof(cell_t); in check_ranges_format()
|
D | flattree.c | 51 void (*cell)(void *, cell_t); 60 static void bin_emit_cell(void *e, cell_t val) in bin_emit_cell() 130 static void asm_emit_cell(void *e, cell_t val) in asm_emit_cell() 258 emit->align(etarget, sizeof(cell_t)); in flatten_tree() 276 emit->align(etarget, sizeof(cell_t)); in flatten_tree() 288 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
|
D | data.c | 248 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()
|
D | dtc-parser.y | 46 cell_t cell;
|
D | dtc-parser.tab.h_shipped | 83 cell_t cell;
|
D | dtc-parser.tab.c_shipped | 144 cell_t cell;
|
/arch/powerpc/kernel/ |
D | prom.c | 74 typedef u32 cell_t; typedef 879 static u64 __init dt_mem_next_cell(int s, cell_t **cellp) in dt_mem_next_cell() 881 cell_t *p = *cellp; in dt_mem_next_cell() 896 cell_t *dm, *ls, *usm; in early_init_dt_scan_drconf_memory() 902 if (ls == NULL || l < dt_root_size_cells * sizeof(cell_t)) in early_init_dt_scan_drconf_memory() 907 if (dm == NULL || l < sizeof(cell_t)) in early_init_dt_scan_drconf_memory() 911 if (l < (n * (dt_root_addr_cells + 4) + 1) * sizeof(cell_t)) in early_init_dt_scan_drconf_memory() 970 cell_t *reg, *endp; in early_init_dt_scan_memory() 995 endp = reg + (l / sizeof(cell_t)); in early_init_dt_scan_memory()
|
D | prom_init.c | 143 typedef u32 cell_t; typedef 205 static cell_t __initdata regbuf[1024]; 896 static unsigned long __init prom_next_cell(int s, cell_t **cellp) in prom_next_cell() 898 cell_t *p = *cellp; in prom_next_cell() 957 cell_t *p, *endp; in prom_init_mem() 996 endp = p + (plen / sizeof(cell_t)); in prom_init_mem()
|