libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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 β€” literally 100kHz. the chill, slow-and-steady one. 🐒
  • NVME_MI_CONFIG_SMBUS_FREQ_400kHz β€” that's 400kHz, the middle child, the balanced icon. 🌈
  • NVME_MI_CONFIG_SMBUS_FREQ_1MHz β€” 1MHz bestie. 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