Lines Matching +full:2 +full:- +full:cell
1 /*-
9 * 2. Redistributions in binary form must reproduce the above copyright
58 pcell_t cell[2]; in ofw_initrd_probe_and_attach() local
70 if (!OF_hasprop(chosen, "linux,initrd-start") || in ofw_initrd_probe_and_attach()
71 !OF_hasprop(chosen, "linux,initrd-end")) in ofw_initrd_probe_and_attach()
74 size = OF_getencprop(chosen, "linux,initrd-start", cell, sizeof(cell)); in ofw_initrd_probe_and_attach()
76 start = cell[0]; in ofw_initrd_probe_and_attach()
78 start = (uint64_t)cell[0] << 32 | cell[1]; in ofw_initrd_probe_and_attach()
80 printf("ofw_initrd: Wrong linux,initrd-start size\n"); in ofw_initrd_probe_and_attach()
84 size = OF_getencprop(chosen, "linux,initrd-end", cell, sizeof(cell)); in ofw_initrd_probe_and_attach()
86 end = cell[0]; in ofw_initrd_probe_and_attach()
88 end = (uint64_t)cell[0] << 32 | cell[1]; in ofw_initrd_probe_and_attach()
90 printf("ofw_initrd: Wrong linux,initrd-end size\n"); in ofw_initrd_probe_and_attach()
94 if (end - start > 0) { in ofw_initrd_probe_and_attach()
104 mfs_root_size = end - start; in ofw_initrd_probe_and_attach()
105 printf("ofw_initrd: initrd loaded at 0x%08lx-0x%08lx\n", in ofw_initrd_probe_and_attach()