Lines Matching defs:length
26 unsigned int length;
50 length = fdt32_to_cpu(hdr->length);
59 if (length > CONFIG_SYS_QE_FMAN_FW_LENGTH) {
61 fmanfw, length);
65 length -= sizeof(u32); /* Subtract the size of the CRC */
66 crc = fdt32_to_cpu(*(u32 *)((void *)fmanfw + length));
67 if (crc != crc32_no_comp(0, (void *)fmanfw, length)) {
72 length += sizeof(u32);
75 rc = fdt_increase_size(blob, length);
108 rc = fdt_setprop(blob, fwnode, "fsl,firmware", fmanfw, length);