Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Diqs5xx.c712 u8 rec_hdr[IQS5XX_REC_HDR_LEN]; in iqs5xx_fw_file_parse() local
747 error = hex2bin(rec_hdr, rec->len, sizeof(rec_hdr)); in iqs5xx_fw_file_parse()
754 rec_len = *rec_hdr; in iqs5xx_fw_file_parse()
755 rec_addr = get_unaligned_be16(rec_hdr + sizeof(rec_len)); in iqs5xx_fw_file_parse()
756 rec_type = *(rec_hdr + sizeof(rec_len) + sizeof(rec_addr)); in iqs5xx_fw_file_parse()
781 for (i = 0; i < sizeof(rec_hdr); i++) in iqs5xx_fw_file_parse()
782 chksm += rec_hdr[i]; in iqs5xx_fw_file_parse()
/openbmc/ipmitool/lib/
H A Dipmi_fru.c236 struct fru_multirec_header rec_hdr; in build_fru_bloc() local
342 (uint8_t *) &rec_hdr) < 0) { in build_fru_bloc()
357 rec_hdr.type); in build_fru_bloc()
363 off += rec_hdr.len + sizeof(struct fru_multirec_header); in build_fru_bloc()
366 if (ipmi_csum((uint8_t *)&rec_hdr, in build_fru_bloc()
371 } while (!(rec_hdr.format & 0x80) && (off < fru->size)); in build_fru_bloc()