Lines Matching refs:cell
27 const fdt32_t *cell; in ofnode_read_u32() local
30 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), in ofnode_read_u32()
32 if (!cell || len < sizeof(int)) { in ofnode_read_u32()
36 *outp = fdt32_to_cpu(cell[0]); in ofnode_read_u32()
615 const fdt32_t *cell; in ofnode_read_pci_addr() local
627 cell = ofnode_get_property(node, propname, &len); in ofnode_read_pci_addr()
628 if (!cell) in ofnode_read_pci_addr()
637 (ulong)fdt32_to_cpu(cell[0]), in ofnode_read_pci_addr()
638 (ulong)fdt32_to_cpu(cell[1]), in ofnode_read_pci_addr()
639 (ulong)fdt32_to_cpu(cell[2])); in ofnode_read_pci_addr()
640 if ((fdt32_to_cpu(*cell) & type) == type) { in ofnode_read_pci_addr()
641 addr->phys_hi = fdt32_to_cpu(cell[0]); in ofnode_read_pci_addr()
642 addr->phys_mid = fdt32_to_cpu(cell[1]); in ofnode_read_pci_addr()
643 addr->phys_lo = fdt32_to_cpu(cell[1]); in ofnode_read_pci_addr()
646 cell += (FDT_PCI_ADDR_CELLS + in ofnode_read_pci_addr()