Searched refs:root_offset (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/mtd/parsers/ |
H A D | ar7part.c | 39 unsigned int root_offset = ROOT_OFFSET; in create_mtd_partitions() local 84 root_offset = offset + sizeof(header) + 4; in create_mtd_partitions() 92 root_offset = offset + sizeof(header) + 4 + 0xff; in create_mtd_partitions() 93 root_offset &= ~(uint32_t)0xff; in create_mtd_partitions() 100 mtd_read(master, root_offset, sizeof(header), &len, (u8 *)&header); in create_mtd_partitions() 102 root_offset += master->erasesize - 1; in create_mtd_partitions() 103 root_offset &= ~(master->erasesize - 1); in create_mtd_partitions() 112 ar7_parts[3].offset = root_offset; in create_mtd_partitions() 113 ar7_parts[3].size = master->size - root_offset - post_size; in create_mtd_partitions()
|
/openbmc/u-boot/fs/cramfs/ |
H A D | cramfs.c | 57 unsigned long root_offset; in cramfs_read_super() local 87 root_offset = CRAMFS_GET_OFFSET (&(super.root)) << 2; in cramfs_read_super() 88 if (root_offset == 0) { in cramfs_read_super() 91 ((root_offset != sizeof (struct cramfs_super)) && in cramfs_read_super() 92 (root_offset != 512 + sizeof (struct cramfs_super)))) { in cramfs_read_super() 93 printf ("cramfs: bad root offset %lu\n", root_offset); in cramfs_read_super()
|
/openbmc/linux/fs/cramfs/ |
H A D | inode.c | 514 unsigned long root_offset; in cramfs_read_super() local 563 root_offset = super->root.offset << 2; in cramfs_read_super() 575 if (root_offset == 0) in cramfs_read_super() 578 ((root_offset != sizeof(struct cramfs_super)) && in cramfs_read_super() 579 (root_offset != 512 + sizeof(struct cramfs_super)))) in cramfs_read_super() 581 errorfc(fc, "bad root offset %lu", root_offset); in cramfs_read_super()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_xscom.c | 261 int pnv_dt_xscom(PnvChip *chip, void *fdt, int root_offset, in pnv_dt_xscom() argument 271 xscom_offset = fdt_add_subnode(fdt, root_offset, name); in pnv_dt_xscom()
|
H A D | pnv_lpc.c | 127 int pnv_dt_lpc(PnvChip *chip, void *fdt, int root_offset, uint64_t lpcm_addr, in pnv_dt_lpc() argument 164 lpcm_offset = fdt_add_subnode(fdt, root_offset, name); in pnv_dt_lpc()
|
/openbmc/linux/drivers/of/ |
H A D | fdt.c | 52 int root_offset; in of_fdt_limit_memory() local 55 root_offset = fdt_path_offset(initial_boot_params, "/"); in of_fdt_limit_memory() 56 if (root_offset < 0) in of_fdt_limit_memory() 59 addr_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory() 64 size_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | pnv_lpc.h | 118 int pnv_dt_lpc(PnvChip *chip, void *fdt, int root_offset,
|
H A D | pnv_xscom.h | 207 int pnv_dt_xscom(PnvChip *chip, void *fdt, int root_offset,
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | file_load_64.c | 1134 int pci_offset, root_offset, ret = 0; in update_pci_dma_nodes() local 1139 root_offset = fdt_path_offset(fdt, "/"); in update_pci_dma_nodes() 1141 pci_offset = fdt_subnode_offset(fdt, root_offset, of_node_full_name(dn)); in update_pci_dma_nodes()
|