Searched refs:tbl_hdr (Results 1 – 3 of 3) sorted by relevance
148 __encode_table_header_to_buff(&control->tbl_hdr, buff + EEPROM_ADDRESS_SIZE); in __update_table_header()165 for (i = 0; i < sizeof(control->tbl_hdr) - sizeof(control->tbl_hdr.checksum); i++) in __calc_hdr_byte_sum()166 tbl_sum += *(((unsigned char *)&control->tbl_hdr) + i); in __calc_hdr_byte_sum()211 control->tbl_hdr.checksum = 256 - (control->tbl_byte_sum % 256); in __update_tbl_checksum()220 if (control->tbl_hdr.checksum + (control->tbl_byte_sum % 256) != 256) { in __validate_tbl_checksum()221 DRM_WARN("Checksum mismatch, checksum: %u ", control->tbl_hdr.checksum); in __validate_tbl_checksum()233 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_correct_header_tag()249 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_reset_table()277 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_init()434 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_check_err_threshold()[all …]
46 struct amdgpu_ras_eeprom_table_header tbl_hdr; member
705 struct hfi_queue_table_header *tbl_hdr; in venus_interface_queues_init() local741 tbl_hdr = hdev->ifaceq_table.kva; in venus_interface_queues_init()742 tbl_hdr->version = 0; in venus_interface_queues_init()743 tbl_hdr->size = IFACEQ_TABLE_SIZE; in venus_interface_queues_init()744 tbl_hdr->qhdr0_offset = sizeof(struct hfi_queue_table_header); in venus_interface_queues_init()745 tbl_hdr->qhdr_size = sizeof(struct hfi_queue_header); in venus_interface_queues_init()746 tbl_hdr->num_q = IFACEQ_NUM; in venus_interface_queues_init()747 tbl_hdr->num_active_q = IFACEQ_NUM; in venus_interface_queues_init()1614 struct hfi_queue_table_header *tbl_hdr; in venus_hfi_queues_reinit() local1638 tbl_hdr = hdev->ifaceq_table.kva; in venus_hfi_queues_reinit()[all …]