Lines Matching refs:cpu_to_le32
894 cpu_to_le32(payloadsz + sizeof(uint32_t) - headersz); in image_create_v0()
895 main_hdr->srcaddr = cpu_to_le32(headersz); in image_create_v0()
897 main_hdr->destaddr = cpu_to_le32(params->addr); in image_create_v0()
898 main_hdr->execaddr = cpu_to_le32(params->ep); in image_create_v0()
919 ext_hdr->offset = cpu_to_le32(0x40); in image_create_v0()
927 cpu_to_le32(e->regdata.raddr); in image_create_v0()
929 cpu_to_le32(e->regdata.rdata); in image_create_v0()
1068 *args = cpu_to_le32(binarye->binary.nargs); in add_binary_header_v1()
1071 args[argi] = cpu_to_le32(binarye->binary.args[argi]); in add_binary_header_v1()
1191 secure_hdr->boxid = cpu_to_le32(e_boxid->boxid); in add_secure_header_v1()
1193 secure_hdr->flashid = cpu_to_le32(e_flashid->flashid); in add_secure_header_v1()
1252 cpu_to_le32(payloadsz - headersz + sizeof(uint32_t)); in image_create_v1()
1255 main_hdr->destaddr = cpu_to_le32(params->addr) in image_create_v1()
1257 main_hdr->execaddr = cpu_to_le32(params->ep); in image_create_v1()
1258 main_hdr->srcaddr = cpu_to_le32(headersz); in image_create_v1()
1281 main_hdr->destaddr = cpu_to_le32(params->addr); in image_create_v1()
1584 cpu_to_le32(image_checksum32((uint32_t *)ptr, sbuf->st_size)); in kwbimage_set_header()