libnvme(9)
π libnvme(9) β enum nvme_mi_config_smbus_freq π
okay so bestie, welcome to the libnvme manual, section 9, and today's main character is an enum called nvme_mi_config_smbus_freq. that's a whole mouthful, i know, but it's literally just a little menu of SMBus/I2C frequencies, and honestly? she ate. π¦
πΈ NAME πΈ
enum nvme_mi_config_smbus_freq β the SMBus/I2C frequency values, i.e. the speed picks, i.e. the vibe check for your bus clock β¨
π SYNOPSIS π
here's the whole fam, look at them:
enum nvme_mi_config_smbus_freq {
NVME_MI_CONFIG_SMBUS_FREQ_100kHz ,
NVME_MI_CONFIG_SMBUS_FREQ_400kHz ,
NVME_MI_CONFIG_SMBUS_FREQ_1MHz
};
no cap, that's the entire structure. three constants, zero drama. π
π Constants π
okay so these are the actual values, and yes there are exactly three, and yes i'm listing all three because we do not skip:
NVME_MI_CONFIG_SMBUS_FREQ_100kHzβ literally100kHz. the chill, slow-and-steady one. π’NVME_MI_CONFIG_SMBUS_FREQ_400kHzβ that's400kHz, the middle child, the balanced icon. πNVME_MI_CONFIG_SMBUS_FREQ_1MHzβ1MHzbestie. main character energy, maximum zoom. π₯
π§ Description π§
so what are these even for? these are the values used in the SMBus Frequency device configuration. that's it, that's the whole assignment. π
when you wanna peek at the current setting, go see libnvme_mi_mi_config_get_smbus_freq β she's the getter, she reads the tea. and when you wanna change it up, that's libnvme_mi_mi_config_set_smbus_freq, the setter, the one who actually does something about it. π«Ά
iykyk: these constants only make sense paired with those two config calls β don't just scatter them around and hope for the best, bestie. π
and that's the whole page!! short, sweet, three frequencies and a dream. π
sign-off time, because the fine print deserves love too: this little love letter is the enum nvme_mi_config_smbus_freq page, dated October 2026, and it lives in the libnvme(9) API Manual. mwah. πππΈ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms