/u-boot/lib/ |
H A D | fdtdec_common.c | 24 const int *cell; local 28 cell = fdt_getprop(blob, node, prop_name, &len); 29 if (cell && len >= sizeof(int)) { 30 int val = fdt32_to_cpu(cell[0]); 42 const int *cell; local 46 cell = fdt_getprop(blob, node, prop_name, &len); 47 if (cell && len >= sizeof(unsigned int)) { 48 unsigned int val = fdt32_to_cpu(cell[0]);
|
H A D | fdtdec.c | 299 const char *cell; local 308 cell = fdt_getprop(blob, node, "status", NULL); 309 if (cell) 310 return strcmp(cell, "okay") == 0; 662 * Return: pointer to cell, which is only valid if err == 0 668 const void *cell; local 672 cell = fdt_getprop(blob, node, prop_name, &len); 673 if (!cell) 679 return cell; 685 const u32 *cell; local 703 const u32 *cell; local 723 const u32 *cell; local 733 const s32 *cell; local 868 const u8 *cell; local 880 const u8 *cell; local 1771 const u32 *cell, *end; local [all...] |
/u-boot/include/ |
H A D | nvmem.h | 27 * @offset: The offset of the cell from the start of @nvmem 28 * @size: The size of the cell, in bytes 41 * nvmem_cell_read() - Read the value of an nvmem cell 42 * @cell: The nvmem cell to read 48 * * -EINVAL if @buf is not the same size as @cell. 52 int nvmem_cell_read(struct nvmem_cell *cell, void *buf, size_t size); 55 * nvmem_cell_write() - Write a value to an nvmem cell 56 * @cell: The nvmem cell t 111 nvmem_cell_read(struct nvmem_cell *cell, void *buf, int size) argument 116 nvmem_cell_write(struct nvmem_cell *cell, const void *buf, int size) argument 122 nvmem_cell_get_by_index(struct udevice *dev, int index, struct nvmem_cell *cell) argument 128 nvmem_cell_get_by_name(struct udevice *dev, const char *name, struct nvmem_cell *cell) argument [all...] |
H A D | rkmtd.h | 31 u8 cell; member in struct:nand_para_info
|
H A D | fdt_support.h | 30 u32 fdt_getprop_u32_default_node(const void *fdt, int off, int cell, 410 static inline u64 fdt_read_number(const fdt32_t *cell, int size) argument 414 r = (r << 32) | fdt32_to_cpu(*(cell++)); 433 * fdt_get_cells_len() - Get the length of a type of cell in top-level nodes 435 * Returns the length of the cell type in bytes (4 or 8).
|
/u-boot/drivers/misc/ |
H A D | nvmem.c | 17 int nvmem_cell_read(struct nvmem_cell *cell, void *buf, size_t size) argument 19 dev_dbg(cell->nvmem, "%s: off=%u size=%zu\n", __func__, cell->offset, size); 20 if (size != cell->size) 23 switch (cell->nvmem->driver->id) { 25 return i2c_eeprom_read(cell->nvmem, cell->offset, buf, size); 27 int ret = misc_read(cell->nvmem, cell->offset, buf, size); 36 return dm_rtc_read(cell 42 nvmem_cell_write(struct nvmem_cell *cell, const void *buf, size_t size) argument 79 nvmem_get_device(ofnode node, struct nvmem_cell *cell) argument 99 nvmem_cell_get_by_index(struct udevice *dev, int index, struct nvmem_cell *cell) argument 130 nvmem_cell_get_by_name(struct udevice *dev, const char *name, struct nvmem_cell *cell) argument [all...] |
/u-boot/drivers/reboot-mode/ |
H A D | reboot-mode-nvmem.c | 13 * @cell: The nvmem cell to store the mode in 16 struct nvmem_cell cell; member in struct:nvmem_reboot_mode_priv 23 return nvmem_cell_read(&priv->cell, mode, sizeof(*mode)); 30 return nvmem_cell_write(&priv->cell, &mode, sizeof(mode)); 42 return nvmem_cell_get_by_name(dev, "reboot-mode", &priv->cell);
|
/u-boot/drivers/core/ |
H A D | simple-bus.c | 46 u32 cell[3]; 48 ret = dev_read_u32_array(dev, "ranges", cell, 49 ARRAY_SIZE(cell)); 51 plat->base = cell[0]; 52 plat->target = cell[1]; 53 plat->size = cell[2];
|
H A D | of_extra.c | 58 const fdt_addr_t *cell; local 62 cell = ofnode_get_property(node, prop_name, &len); 63 if (!cell || (len < sizeof(fdt_addr_t) * 2)) { 64 debug("cell=%p, len=%d\n", cell, len); 68 *basep = fdt_addr_to_cpu(*cell); 69 *sizep = fdt_size_to_cpu(cell[1]);
|
H A D | ofnode.c | 314 const u8 *cell; local 323 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), propname, 325 if (!cell || len < sizeof(*cell)) { 329 *outp = *cell; 345 const fdt16_t *cell; local 354 cell = fdt_getprop(gd->fdt_blob, ofnode_to_offset(node), propname, 356 if (!cell || len < sizeof(*cell)) { 360 *outp = be16_to_cpup(cell); 390 const fdt32_t *cell; local 421 const fdt64_t *cell; local 467 const unaligned_fdt64_t *cell; local 1299 const fdt32_t *cell; local [all...] |
/u-boot/boot/ |
H A D | common_fit.c | 15 const u32 *cell; local 18 cell = fdt_getprop(fdt, node, prop, &len); 19 if (!cell || len != sizeof(*cell)) 22 return fdt32_to_cpu(*cell);
|
/u-boot/drivers/pci/ |
H A D | pci_sandbox.c | 83 const fdt32_t *cell; local 87 cell = ofnode_get_property(dev_ofnode(dev), "sandbox,dev-info", &len); 88 if (!cell) 97 fdt32_to_cpu(cell[0]), fdt32_to_cpu(cell[1]), 98 fdt32_to_cpu(cell[2]), fdt32_to_cpu(cell[3])); 100 pdev = fdt32_to_cpu(cell[0]); 101 pfn = fdt32_to_cpu(cell[1]); 105 priv->vendev[devfn].vendor = fdt32_to_cpu(cell[ [all...] |
/u-boot/arch/arm/mach-socfpga/ |
H A D | pinmux_arria10.c | 17 const u32 *cell; local 22 cell = fdt_getprop(blob, child, "pinctrl-single,pins", &len); 23 if (!cell || len <= 0) 26 debug("%p %d\n", cell, len); 28 offset = fdt32_to_cpu(*cell++); 29 value = fdt32_to_cpu(*cell++);
|
/u-boot/include/dm/ |
H A D | of.h | 131 static inline u64 of_read_number(const __be32 *cell, int size) argument 135 r = (r << 32) | be32_to_cpu(*(cell++)); 140 static inline unsigned long of_read_ulong(const __be32 *cell, int size) argument 143 return of_read_number(cell, size);
|
/u-boot/arch/x86/cpu/ |
H A D | irq.c | 154 const u32 *cell; local 179 cell = fdt_getprop(blob, node, "intel,pirq-link", &len); 180 if (!cell || len != 8) 182 priv->link_base = fdt_addr_to_cpu(cell[0]); 183 priv->link_num = fdt_addr_to_cpu(cell[1]); 190 cell = fdt_getprop(blob, node, "intel,pirq-regmap", &len); 191 if (cell) { 209 map->link = fdt_addr_to_cpu(cell[0]); 210 map->offset = fdt_addr_to_cpu(cell[1]); 212 cell [all...] |
/u-boot/drivers/pinctrl/ath79/ |
H A D | pinctrl_ar933x.c | 76 u32 cell[2]; local 80 "interrupts", cell, ARRAY_SIZE(cell)); 84 switch (cell[0]) {
|
H A D | pinctrl_qca953x.c | 96 u32 cell[2]; local 100 "interrupts", cell, ARRAY_SIZE(cell)); 104 switch (cell[0]) {
|
/u-boot/doc/sphinx/ |
H A D | rstFlatTable.py | 17 * *column-span*: with the role ``cspan`` a cell can be extended through 20 * *row-span*: with the role ``rspan`` a cell can be extended through 23 * *auto span* rightmost cell of a table row over the missing cells on the 26 (empty) cells instead of spanning the last cell. 201 for cell in row_data: 202 if cell is None: 204 cspan, rspan, cellElements = cell 256 cell = self.rows[y][x] 257 if cell is None: 260 cspan, rspan = cell[ [all...] |
/u-boot/arch/x86/lib/ |
H A D | mpspec.c | 298 const u32 *cell; local 308 cell = fdt_getprop(blob, dev_of_offset(dev), "intel,pirq-routing", 310 if (!cell) 325 pr.bdf = fdt_addr_to_cpu(cell[0]); 326 pr.pin = fdt_addr_to_cpu(cell[1]); 327 pr.pirq = fdt_addr_to_cpu(cell[2]); 336 cell += sizeof(struct pirq_routing) / sizeof(u32); 350 cell += sizeof(struct pirq_routing) / sizeof(u32);
|
/u-boot/arch/arm/mach-tegra/ |
H A D | clock.c | 710 u32 cell[2]; local 713 err = dev_read_u32_array(dev, "clocks", cell, ARRAY_SIZE(cell)); 716 id = clk_id_to_periph_id(cell[1]); 731 u32 cell[4]; local 734 err = dev_read_u32_array(dev, "clocks", cell, ARRAY_SIZE(cell)); 738 clk_id[0] = clk_id_to_periph_id(cell[1]); 739 clk_id[1] = clk_id_to_pll_id(cell[3]);
|
/u-boot/arch/arm/mach-exynos/ |
H A D | pinmux.c | 904 u32 cell[3]; local 906 err = fdtdec_get_int_array(blob, node, "interrupts", cell, 907 ARRAY_SIZE(cell)); 913 return cell[1]; 919 u32 cell[3]; local 921 err = fdtdec_get_int_array(blob, node, "interrupts", cell, 922 ARRAY_SIZE(cell)); 926 return cell[1];
|
/u-boot/drivers/pinctrl/ |
H A D | pinctrl_pic32.c | 284 u32 cell[2]; local 287 "interrupts", cell, ARRAY_SIZE(cell)); 292 switch (cell[0]) {
|
/u-boot/drivers/video/ |
H A D | pwm_backlight.c | 199 const u32 *cell; local 234 cell = dev_read_prop(dev, "brightness-levels", &len); 236 if (cell && count > index) {
|
/u-boot/drivers/mtd/ |
H A D | renesas_rpc_hf.c | 350 const fdt32_t *cell; local 358 cell = fdt_getprop(blob, node, "reg", &len); 359 if (!cell) 378 rpc_base = fdt_translate_address(blob, node, cell); 379 flash_base = fdt_translate_address(blob, node, cell + addrc + sizec);
|
H A D | altera_qspi.c | 353 const fdt32_t *cell; local 369 cell = fdt_getprop(blob, node, "reg", &len); 370 if (!cell) 375 node, cell + idx); 376 size = fdt_addr_to_cpu(cell[idx + addrc]);
|