STRUCT LEVELS_OFFSET(9)
π struct levels_offset(9) π
okay bestie, welcome to the Kernel API Manual β yes, the whole manual, and today's main character is struct levels_offset. she's small, she's packed, and she knows exactly where every SST PP level lives in the register bank. lowkey iconic.
β¨ NAME β¨
struct levels_offset β Offsets to each SST PP level π
π¦ SYNOPSIS π¦
struct levels_offset {
u64 sst_pp_level0_offset :8;
u64 sst_pp_level1_offset :8;
u64 sst_pp_level2_offset :8;
u64 sst_pp_level3_offset :8;
u64 sst_pp_level4_offset :8;
u64 reserved :24;
};
like. look at her. five perfectly matched :8 bitfields and one :24 of pure reserved potential. the symmetry?? we're obsessed. πβ¨
πΈ Members πΈ
sst_pp_level0_offsetβ Qword offset to the register block of PP level 0. level zero, the prequel, the origin story fr fr πsst_pp_level1_offsetβ Qword offset to the register block of PP level 1. we love a sequel π«Άsst_pp_level2_offsetβ Qword offset to the register block of PP level 2. the trilogy is thriving πsst_pp_level3_offsetβ Qword offset to the register block of PP level 3. still going, still slaying πsst_pp_level4_offsetβ Qword offset to the register block of PP level 4. the finale, the boss level πreservedβ Reserved for future use. bestie this is the spare room of the struct β nothing lives here yet, but the potential?? highkey immaculate π
π₯ Description π₯
so the way this works β¨ β this structure is used store offsets of SST PP levels in the register bank. that's the whole job. she holds the map, she doesn't go on the journey, and honestly? that's main character energy of a different kind.
and the packing? this is packed to the same format as defined in the specifications. same format, no cap, exactly as the spec says it. don't go rearranging her bits, she's built to spec for a reason π
π SEE ALSO π
- Kernel file
./drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.cβ the struct's actual home address, go say hi π sst_header(9)struct cp_header(9)struct pp_header(9)struct feature_offset(9)struct pp_control_offset(9)struct pp_status_offset(9)struct perf_level(9)struct tpmi_per_power_domain_info(9)struct tpmi_sst_struct(9)struct tpmi_sst_common_struct(9)map_cdies(9)map_partition_power_domain_id(9)
π«Ά that's the whole tour bestie β every member, every offset, every SEE ALSO. nothing skipped, we don't do that here. iykyk β¨
and that's a wrap on our little kernel-API chapter π source/version vibes straight from ./drivers/platform/x86/intel/s..., dated October 2026 β she's a libra (probably), and she's struct levels_offset(9) forever. mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms