libnvme(2)

✨ NAME ✨

enum nvme_mi_config_smbus_freq β€” bestie, this is literally just the SMBus/I2C frequency values πŸŽ€

Welcome to the libnvme API manual, btw. We're doing enums today and it's giving clock speed slay πŸ’…


🌸 SYNOPSIS 🌸

enum nvme_mi_config_smbus_freq {
    NVME_MI_CONFIG_SMBUS_FREQ_100kHz ,
    NVME_MI_CONFIG_SMBUS_FREQ_400kHz ,
    NVME_MI_CONFIG_SMBUS_FREQ_1MHz

};

okay so it's an enum, it's got three members, no cap. That trailing comma after NVME_MI_CONFIG_SMBUS_FREQ_1MHz? iconic, we love a flexible C style 🫢


πŸ’– Constants πŸ’–

So here are the three glow-ups this enum can serve. Pick your frequency, queen πŸ‘‘

  • NVME_MI_CONFIG_SMBUS_FREQ_100kHz β€” 100kHz 🐌 (the chill, slow-and-steady vibe)
  • NVME_MI_CONFIG_SMBUS_FREQ_400kHz β€” 400kHz πŸ¦‹ (the middle child, honestly kinda the vibe)
  • NVME_MI_CONFIG_SMBUS_FREQ_1MHz β€” 1MHz πŸ”₯ (main character energy, zooming)

🌈 Description 🌈

These are the values you use in the SMBus Frequency device configuration, bestie. That's it, that's the whole job. ✨

If you wanna actually use them, go look at &nvme_mi_mi_config_get_smbus_freq and &nvme_mi_mi_config_set_smbus_freq β€” get and set, the classic duo, the iconic pair πŸ’œ

no extra lore here, fr fr β€” this enum is short and it knows it πŸŽ€

okay that's the whole page, bestie 🫢 this was enum nvme_mi_config_smbus_freq from the libnvme(2) API Manual, dated July 2026. mwah, go configure some SMBus frequency, i'm obsessed πŸ˜­πŸ’–πŸŒΈ

πŸ“¦ where this page comes from