Lines Matching refs:cell
26 const fdt32_t *cell; in ofnode_read_u32() local
29 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), in ofnode_read_u32()
31 if (!cell || len < sizeof(int)) { in ofnode_read_u32()
35 *outp = fdt32_to_cpu(cell[0]); in ofnode_read_u32()
60 const fdt64_t *cell; in ofnode_read_u64() local
69 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), propname, in ofnode_read_u64()
71 if (!cell || len < sizeof(*cell)) { in ofnode_read_u64()
75 *outp = fdt64_to_cpu(cell[0]); in ofnode_read_u64()
582 const fdt32_t *cell; in ofnode_read_pci_addr() local
594 cell = ofnode_get_property(node, propname, &len); in ofnode_read_pci_addr()
595 if (!cell) in ofnode_read_pci_addr()
604 (ulong)fdt32_to_cpu(cell[0]), in ofnode_read_pci_addr()
605 (ulong)fdt32_to_cpu(cell[1]), in ofnode_read_pci_addr()
606 (ulong)fdt32_to_cpu(cell[2])); in ofnode_read_pci_addr()
607 if ((fdt32_to_cpu(*cell) & type) == type) { in ofnode_read_pci_addr()
608 addr->phys_hi = fdt32_to_cpu(cell[0]); in ofnode_read_pci_addr()
609 addr->phys_mid = fdt32_to_cpu(cell[1]); in ofnode_read_pci_addr()
610 addr->phys_lo = fdt32_to_cpu(cell[1]); in ofnode_read_pci_addr()
614 cell += (FDT_PCI_ADDR_CELLS + in ofnode_read_pci_addr()