ENUM NVEC_MSG_CATEGORY(9)
πΈ enum nvec_msg_category(9) β the kernel API manual, bestie edition πΈ
okay so real talk, this is enum nvec_msg_category from section 9 of the Kernel API Manual, and it's honestly so simple it's iconic. it's just a little enum that tells nvec_msg_alloc() which direction a message is going. that's it. that's the whole vibe. π
β¨ NAME β¨
enum nvec_msg_category β Message categories for nvec_msg_alloc()
like, the literal category system for the messages. the "are you coming or going" of the nvec world. π
π¦ SYNOPSIS π¦
enum nvec_msg_category {
NVEC_MSG_RX ,
NVEC_MSG_TX
};
yes bestie, that's the entire thing, two members, no drama, no cap. π«Ά
π Constants π
NVEC_MSG_RXβ The message is an incoming message (from EC) π₯NVEC_MSG_TXβ The message is an outgoing message (to EC) π€
so RX = it's coming at you from the EC, TX = you're sending it to the EC. reception vs. transmission. reading vs. writing. iykyk. it's giving very main character energy for such a tiny enum honestly. π₯
π SEE ALSO π
Kernel file ./drivers/staging/nvec/nvec.c β and here's the whole friend group, literally every single one, no skips:
nvec_register_notifier(9)nvec_unregister_notifier(9)nvec_msg_alloc(9)nvec_msg_free(9)nvec_msg_is_event(9)nvec_msg_size(9)nvec_gpio_set_value(9)nvec_write_async(9)nvec_write_sync(9)nvec_toggle_global_events(9)nvec_event_mask(9)nvec_request_master(9)parse_msg(9)nvec_dispatch(9)nvec_tx_completed(9)nvec_rx_completed(9)nvec_invalid_flags(9)nvec_tx_set(9)tegra_i2c_writel(9)nvec_interrupt(9)
the way this list just keeps going π but like, respectfully, they're all doing their thing and we love that for them.
ngl this page is short but it ate. go read nvec_msg_alloc(9) next if you wanna see where these categories actually get used, bestie. π
and that's a wrap! π this little page lives in ./drivers/staging/nvec, dated October 2026, and it's manual page enum nvec_msg_category(9) β mwah, slay, periodt. πβ¨
π¦ 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