Lines Matching refs:uint8_t

69 static uint8_t buffer_v0[0x10000];
70 static uint8_t buffer_v1[0x40000];
74 uint8_t version;
75 uint8_t flags;
83 uint8_t version;
84 uint8_t flags;
92 static unsigned int sfp_hdr_size(uint8_t ver) in sfp_hdr_size()
101 static unsigned int sfp_max_size(uint8_t ver) in sfp_max_size()
121 static uint16_t sfp_hdr_checksum(uint8_t *buf, unsigned char ver) in sfp_hdr_checksum()
132 static void sfp_build_header(uint8_t *buf, uint8_t ver, uint8_t flags, in sfp_build_header()
159 csum = sfp_hdr_checksum((uint8_t *)&header_v0, 0); in sfp_build_header()
163 csum = sfp_hdr_checksum((uint8_t *)&header_v1, 1); in sfp_build_header()
173 static int sfp_verify_header(const uint8_t *buf, uint8_t *ver) in sfp_verify_header()
193 sfp_csum = sfp_hdr_checksum((uint8_t *)&header_v0, 0); in sfp_verify_header()
198 sfp_csum = sfp_hdr_checksum((uint8_t *)&header_v1, 1); in sfp_verify_header()
213 static int sfp_sign_buffer(uint8_t *buf, uint8_t ver, uint8_t flags, in sfp_sign_buffer()
239 static int sfp_verify_buffer(const uint8_t *buf) in sfp_verify_buffer()
244 uint8_t ver = 0; in sfp_verify_buffer()
361 static int socfpgaimage_check_image_types_v0(uint8_t type) in socfpgaimage_check_image_types_v0()
368 static int socfpgaimage_check_image_types_v1(uint8_t type) in socfpgaimage_check_image_types_v1()
390 static int sfp_fake_header_size(unsigned int size, uint8_t ver) in sfp_fake_header_size()
401 struct image_type_params *tparams, uint8_t ver) in sfp_vrec_header()
430 uint8_t *buf = (uint8_t *)ptr; in sfp_set_header()