Searched refs:tlvinfo_header (Results 1 – 3 of 3) sorted by relevance
20 struct __attribute__ ((__packed__)) tlvinfo_header { struct31 sizeof(struct tlvinfo_header)) argument110 int read_tlvinfo_tlv_eeprom(void *eeprom, struct tlvinfo_header **hdr,126 read_tlvinfo_tlv_eeprom(void *eeprom, struct tlvinfo_header **hdr, in read_tlvinfo_tlv_eeprom()145 static inline bool is_valid_tlvinfo_header(struct tlvinfo_header *hdr) in is_valid_tlvinfo_header()
53 static void parse_tlv_data(u8 *eeprom, struct tlvinfo_header *hdr, in parse_tlv_data()58 tlv_offset = sizeof(struct tlvinfo_header); in parse_tlv_data()59 tlv_len = sizeof(struct tlvinfo_header) + be16_to_cpu(hdr->totallen); in parse_tlv_data()81 struct tlvinfo_header *tlv_hdr; in read_tlv_data()
53 #define to_header(p) ((struct tlvinfo_header *)p)56 #define HDR_SIZE sizeof(struct tlvinfo_header)98 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in is_checksum_valid()131 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in read_eeprom()172 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in show_eeprom()357 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in update_crc()392 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in prog_eeprom()432 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in do_tlv_eeprom()553 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in tlvinfo_find_tlv()582 struct tlvinfo_header *eeprom_hdr = to_header(eeprom); in tlvinfo_delete_tlv()[all …]
Completed in 6 milliseconds