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
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms