Home
last modified time | relevance | path

Searched refs:progdata (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/board/gdsys/a38x/
H A Dkeyprogram.c72 int extract_subprogram(u8 **progdata, u32 expected_magic, in extract_subprogram() argument
78 magic = get_unaligned_be32(*progdata); in extract_subprogram()
79 code_crc = get_unaligned_be32(*progdata + 4); in extract_subprogram()
80 code_size = get_unaligned_be32(*progdata + 8); in extract_subprogram()
82 *progdata += 12; in extract_subprogram()
95 memcpy(prog->code, *progdata, code_size); in extract_subprogram()
97 *progdata += code_size; in extract_subprogram()
107 struct key_program *parse_and_check_keyprog(u8 *progdata) in parse_and_check_keyprog() argument
113 if (extract_subprogram(&progdata, MAGIC_KEY_PROGRAM, &result)) in parse_and_check_keyprog()
118 if (extract_subprogram(&progdata, MAGIC_HMAC, &hmac)) in parse_and_check_keyprog()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dcx24123.c108 u32 progdata; member
116 .progdata = (0 << 19) | (0 << 9) | 0x40,
124 .progdata = (0 << 19) | (0 << 9) | 0x80,
132 .progdata = (0 << 19) | (1 << 9) | 0x01,
140 .progdata = (0 << 19) | (1 << 9) | 0x02,
148 .progdata = (0 << 19) | (1 << 9) | 0x04,
156 .progdata = (0 << 19) | (1 << 9) | 0x08,
164 .progdata = (0 << 19) | (1 << 9) | 0x10,
172 .progdata = (0 << 19) | (1 << 9) | 0x20,
180 .progdata = (0 << 19) | (1 << 9) | 0x40,
[all …]