Lines Matching defs:records
127 static uint32_t __calc_recs_byte_sum(struct eeprom_table_record *records,
135 struct eeprom_table_record *record = &records[i];
146 struct eeprom_table_record *records, int num)
148 return __calc_hdr_byte_sum(control) + __calc_recs_byte_sum(records, num);
153 struct eeprom_table_record *records, int num,
157 * This will update the table sum with new records.
160 * and old records from start will get overridden.
165 control->tbl_byte_sum += __calc_tbl_byte_sum(control, records, num);
172 struct eeprom_table_record *records, int num)
174 control->tbl_byte_sum = __calc_tbl_byte_sum(control, records, num);
261 DRM_DEBUG_DRIVER("Found existing EEPROM table with %d records",
380 struct eeprom_table_record *records,
406 /* In case of overflow just start from beginning to not lose newest records */
418 record = &records[i];
450 DRM_ERROR("Failed to process EEPROM table records, ret:%d", ret);
460 record = &records[i];
483 __update_tbl_checksum(control, records, num, old_hdr_byte_sum);
486 } else if (!__validate_tbl_checksum(control, records, num)) {