nvec_register_notifier(9)
π
nvec_register_notifier β a Kernel API Manual moment
okay so bestie, we're in the Kernel API Manual today and this page is literally called nvec_register_notifier(9) β say that three times fast, I dare you π«Ά
β¨ NAME β¨
nvec_register_notifier β Register a notifier with nvec. that's it, that's the whole name, and she ate π
π¦ SYNOPSIS π¦
int nvec_register_notifier (struct nvec_chip *nvec , struct
notifier_block *nb , unsigned int events );
look at her go. three args, one int coming back at you, no cap β¨
π ARGUMENTS π
nvecβ Astruct nvec_chip. it's the chip struct, she's the main character of this whole file ngl πnbβ The notifier block to register. this is the thing you're handing over so it can get called later π«Άeventsβ Unused. literally unused, bestie. don't come for me, I don't make the rules π
πΈ DESCRIPTION πΈ
So here's the tea β β this function registers a notifier with nvec. The notifier gets added to an atomic notifier chain (yes, atomic, so act accordingly π₯).
That chain gets called for all received messagesβ¦ except the ones that correspond to a request initiated by nvec_write_sync. those ones? not invited to the party π
the way that's the entire behaviour and it's still iconic. periodt β¨
π SEE ALSO π
okay this list is long and honestly kind of a flex, so buckle up π’
- Kernel file
./drivers/staging/nvec/nvec.c enum nvec_msg_category(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)
every single one, bestie. iykyk π§
π reminder: events is Unused. please don't pass it something cute and expect it to do anything, she will not respond π«Ά
and that's the page!! brought to you by ./drivers/staging/nvec π, dated October 2026 β β and yeah, the footer says nvec_register_notifier(9) one more time because she loves a dramatic exit π
β¨
π¦ 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