Home
last modified time | relevance | path

Searched refs:tbl_hdr (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c148 __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()
[all...]
H A Damdgpu_ras_eeprom.h46 struct amdgpu_ras_eeprom_table_header tbl_hdr; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c265 __encode_table_header_to_buf(&control->tbl_hdr, buf); in __write_table_header()
358 sz = sizeof(control->tbl_hdr) - sizeof(control->tbl_hdr.checksum); in __calc_hdr_byte_sum()
359 pp = (u8 *) &control->tbl_hdr; in __calc_hdr_byte_sum()
386 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_correct_header_tag()
417 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_reset_table()
545 if (con->eeprom_control.tbl_hdr.header == RAS_TABLE_HDR_BAD) { in amdgpu_ras_eeprom_check_err_threshold()
732 control->tbl_hdr.header = RAS_TABLE_HDR_BAD; in amdgpu_ras_eeprom_update_header()
733 if (control->tbl_hdr.version == RAS_TABLE_VER_V2_1) { in amdgpu_ras_eeprom_update_header()
739 if (control->tbl_hdr in amdgpu_ras_eeprom_update_header()
[all...]
H A Damdgpu_ras_eeprom.h62 struct amdgpu_ras_eeprom_table_header tbl_hdr; member
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c723 struct hfi_queue_table_header *tbl_hdr; in venus_interface_queues_init() local
759 tbl_hdr = hdev->ifaceq_table.kva; in venus_interface_queues_init()
760 tbl_hdr->version = 0; in venus_interface_queues_init()
761 tbl_hdr->size = IFACEQ_TABLE_SIZE; in venus_interface_queues_init()
762 tbl_hdr->qhdr0_offset = sizeof(struct hfi_queue_table_header); in venus_interface_queues_init()
763 tbl_hdr->qhdr_size = sizeof(struct hfi_queue_header); in venus_interface_queues_init()
764 tbl_hdr->num_q = IFACEQ_NUM; in venus_interface_queues_init()
765 tbl_hdr->num_active_q = IFACEQ_NUM; in venus_interface_queues_init()
1640 struct hfi_queue_table_header *tbl_hdr; in venus_hfi_queues_reinit() local
1664 tbl_hdr in venus_hfi_queues_reinit()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c779 struct hfi_queue_table_header *tbl_hdr; in venus_interface_queues_init() local
815 tbl_hdr = hdev->ifaceq_table.kva; in venus_interface_queues_init()
816 tbl_hdr->version = 0; in venus_interface_queues_init()
817 tbl_hdr->size = IFACEQ_TABLE_SIZE; in venus_interface_queues_init()
818 tbl_hdr->qhdr0_offset = sizeof(struct hfi_queue_table_header); in venus_interface_queues_init()
819 tbl_hdr->qhdr_size = sizeof(struct hfi_queue_header); in venus_interface_queues_init()
820 tbl_hdr->num_q = IFACEQ_NUM; in venus_interface_queues_init()
821 tbl_hdr->num_active_q = IFACEQ_NUM; in venus_interface_queues_init()
1713 struct hfi_queue_table_header *tbl_hdr; in venus_hfi_queues_reinit() local
1737 tbl_hdr in venus_hfi_queues_reinit()
[all...]

Completed in 7 milliseconds