Home
last modified time | relevance | path

Searched refs:ext_hdr (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.c511 ATOM_PPLIB_EXTENDEDHEADER *ext_hdr = (ATOM_PPLIB_EXTENDEDHEADER *) in amdgpu_parse_extended_power_table() local
514 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2) && in amdgpu_parse_extended_power_table()
515 ext_hdr->usVCETableOffset) { in amdgpu_parse_extended_power_table()
518 le16_to_cpu(ext_hdr->usVCETableOffset) + 1); in amdgpu_parse_extended_power_table()
522 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in amdgpu_parse_extended_power_table()
527 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in amdgpu_parse_extended_power_table()
577 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3) && in amdgpu_parse_extended_power_table()
578 ext_hdr->usUVDTableOffset) { in amdgpu_parse_extended_power_table()
581 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1); in amdgpu_parse_extended_power_table()
585 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1 + in amdgpu_parse_extended_power_table()
[all …]
/drivers/gpu/drm/radeon/
Dr600_dpm.c1070 ATOM_PPLIB_EXTENDEDHEADER *ext_hdr = (ATOM_PPLIB_EXTENDEDHEADER *) in r600_parse_extended_power_table() local
1073 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2) && in r600_parse_extended_power_table()
1074 ext_hdr->usVCETableOffset) { in r600_parse_extended_power_table()
1077 le16_to_cpu(ext_hdr->usVCETableOffset) + 1); in r600_parse_extended_power_table()
1081 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in r600_parse_extended_power_table()
1086 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in r600_parse_extended_power_table()
1135 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3) && in r600_parse_extended_power_table()
1136 ext_hdr->usUVDTableOffset) { in r600_parse_extended_power_table()
1139 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1); in r600_parse_extended_power_table()
1143 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1 + in r600_parse_extended_power_table()
[all …]
/drivers/target/
Dtarget_core_alua.c156 int ext_hdr = (cmd->t_task_cdb[1] & 0x20); in target_emulate_report_target_port_groups() local
162 if (ext_hdr != 0) in target_emulate_report_target_port_groups()
170 (ext_hdr) ? "extended" : "normal"); in target_emulate_report_target_port_groups()
253 if (ext_hdr != 0) { in target_emulate_report_target_port_groups()