Home
last modified time | relevance | path

Searched refs:tbl_hdr (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c275 __encode_table_header_to_buf(&control->tbl_hdr, buf); in __write_table_header()
371 sz = sizeof(control->tbl_hdr) - sizeof(control->tbl_hdr.checksum); in __calc_hdr_byte_sum()
372 pp = (u8 *) &control->tbl_hdr; in __calc_hdr_byte_sum()
399 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_correct_header_tag()
423 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_set_eeprom_table_version()
449 struct amdgpu_ras_eeprom_table_header *hdr = &control->tbl_hdr; in amdgpu_ras_eeprom_reset_table()
599 if (con->eeprom_control.tbl_hdr.header == RAS_TABLE_HDR_BAD) { in amdgpu_ras_eeprom_check_err_threshold()
804 control->tbl_hdr.header = RAS_TABLE_HDR_BAD; in amdgpu_ras_eeprom_update_header()
805 if (control->tbl_hdr in amdgpu_ras_eeprom_update_header()
[all...]
H A Damdgpu_ras_eeprom.h63 struct amdgpu_ras_eeprom_table_header tbl_hdr; member
H A Damdgpu_ras.c2007 con->eeprom_control.tbl_hdr.version); in amdgpu_ras_sysfs_version_show()
3303 if ((control->tbl_hdr.version < RAS_TABLE_VER_V3) && in amdgpu_ras_add_bad_pages()
3437 if ((control->tbl_hdr.version < RAS_TABLE_VER_V3) && in amdgpu_ras_load_bad_pages()
3883 control->tbl_hdr.version < RAS_TABLE_VER_V3) in amdgpu_ras_recovery_init()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c794 struct hfi_queue_table_header *tbl_hdr; in venus_interface_queues_init() local
830 tbl_hdr = hdev->ifaceq_table.kva; in venus_interface_queues_init()
831 tbl_hdr->version = 0; in venus_interface_queues_init()
832 tbl_hdr->size = IFACEQ_TABLE_SIZE; in venus_interface_queues_init()
833 tbl_hdr->qhdr0_offset = sizeof(struct hfi_queue_table_header); in venus_interface_queues_init()
834 tbl_hdr->qhdr_size = sizeof(struct hfi_queue_header); in venus_interface_queues_init()
835 tbl_hdr->num_q = IFACEQ_NUM; in venus_interface_queues_init()
836 tbl_hdr->num_active_q = IFACEQ_NUM; in venus_interface_queues_init()
1732 struct hfi_queue_table_header *tbl_hdr; in venus_hfi_queues_reinit() local
1756 tbl_hdr = hdev->ifaceq_table.kva; in venus_hfi_queues_reinit()
[all …]