Home
last modified time | relevance | path

Searched refs:header0 (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/tools/
H A Drkcommon.c217 static int rkcommon_parse_header(const void *buf, struct header0_info *header0, in rkcommon_parse_header() argument
231 memcpy((void *)header0, buf, sizeof(struct header0_info)); in rkcommon_parse_header()
232 rc4_encode((void *)header0, sizeof(struct header0_info), rc4_key); in rkcommon_parse_header()
234 if (header0->signature != RK_SIGNATURE) in rkcommon_parse_header()
238 if (header0->disable_rc4 == 0) in rkcommon_parse_header()
241 hdr1_offset = header0->init_offset * RK_BLK_SIZE; in rkcommon_parse_header()
264 struct header0_info header0; in rkcommon_verify_header() local
268 ret = rkcommon_parse_header(buf, &header0, &img_spl_info); in rkcommon_verify_header()
294 struct header0_info header0; in rkcommon_print_header() local
299 ret = rkcommon_parse_header(buf, &header0, &spl_info); in rkcommon_print_header()
[all …]
/openbmc/linux/block/
H A Dsed-opal.c736 u8 header0; in add_medium_atom_header() local
738 header0 = MEDIUM_ATOM_ID; in add_medium_atom_header()
739 header0 |= bytestring ? MEDIUM_ATOM_BYTESTRING : 0; in add_medium_atom_header()
740 header0 |= has_sign ? MEDIUM_ATOM_SIGNED : 0; in add_medium_atom_header()
741 header0 |= (len >> 8) & MEDIUM_ATOM_LEN_MASK; in add_medium_atom_header()
743 cmd->cmd[cmd->pos++] = header0; in add_medium_atom_header()
/openbmc/qemu/
H A Dhmp-commands.hx1283 "header0:i?,header1:i?,header2:i?,header3:i?,"