Lines Matching refs:ext_hdr
532 ATOM_PPLIB_EXTENDEDHEADER *ext_hdr = (ATOM_PPLIB_EXTENDEDHEADER *) in amdgpu_parse_extended_power_table() local
535 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2) && in amdgpu_parse_extended_power_table()
536 ext_hdr->usVCETableOffset) { in amdgpu_parse_extended_power_table()
539 le16_to_cpu(ext_hdr->usVCETableOffset) + 1); in amdgpu_parse_extended_power_table()
543 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in amdgpu_parse_extended_power_table()
548 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in amdgpu_parse_extended_power_table()
598 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3) && in amdgpu_parse_extended_power_table()
599 ext_hdr->usUVDTableOffset) { in amdgpu_parse_extended_power_table()
602 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1); in amdgpu_parse_extended_power_table()
606 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1 + in amdgpu_parse_extended_power_table()
634 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4) && in amdgpu_parse_extended_power_table()
635 ext_hdr->usSAMUTableOffset) { in amdgpu_parse_extended_power_table()
639 le16_to_cpu(ext_hdr->usSAMUTableOffset) + 1); in amdgpu_parse_extended_power_table()
661 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5) && in amdgpu_parse_extended_power_table()
662 ext_hdr->usPPMTableOffset) { in amdgpu_parse_extended_power_table()
665 le16_to_cpu(ext_hdr->usPPMTableOffset)); in amdgpu_parse_extended_power_table()
692 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6) && in amdgpu_parse_extended_power_table()
693 ext_hdr->usACPTableOffset) { in amdgpu_parse_extended_power_table()
697 le16_to_cpu(ext_hdr->usACPTableOffset) + 1); in amdgpu_parse_extended_power_table()
719 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7) && in amdgpu_parse_extended_power_table()
720 ext_hdr->usPowerTuneTableOffset) { in amdgpu_parse_extended_power_table()
722 le16_to_cpu(ext_hdr->usPowerTuneTableOffset)); in amdgpu_parse_extended_power_table()
733 le16_to_cpu(ext_hdr->usPowerTuneTableOffset)); in amdgpu_parse_extended_power_table()
740 le16_to_cpu(ext_hdr->usPowerTuneTableOffset)); in amdgpu_parse_extended_power_table()
757 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8) && in amdgpu_parse_extended_power_table()
758 ext_hdr->usSclkVddgfxTableOffset) { in amdgpu_parse_extended_power_table()
761 le16_to_cpu(ext_hdr->usSclkVddgfxTableOffset)); in amdgpu_parse_extended_power_table()