hinic_ceq_register_cb(9)
π hinic_ceq_register_cb(9) β NAME π
okay so bestie, welcome to the Kernel API Manual section 9 page for hinic_ceq_register_cb β and yes, this is literally the function that registers a CEQ callback for a specific event. that's it, that's the whole vibe. β¨
π SYNOPSIS π
void hinic_ceq_register_cb (struct hinic_ceqs *ceqs , enum
hinic_ceq_type event , void *handle , void (*handler)(void *handle, u32
ceqe_data) );
no cap, that's the exact signature β return type void, four arguments, and the callback takes a u32 ceqe_data as its second param. copy it character for character, i promise it matters. π«Ά
πΈ ARGUMENTS πΈ
ceqsβ pointer to the Completion eqs part of the chip. like, the whole CEQ party is behind this pointer and you're handing over the guest list. πeventβ theceqevent you're registering a callback for. one event, one callback, that's the deal. π¦handleβ private data that will be used by the callback. your little secret stash, passed straight through. πhandlerβ the callback function itself. the main character. it getsvoid *handleandu32 ceqe_dataand does its thing. π
lowkey the whole point: you're wiring up thiseventon thisceqsto thishandler, carrying thishandlealong for the ride. periodt. π
π SEE ALSO π
first up, the source itself, iykyk:
- Kernel file
./drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
and the whole friend group β go say hi, they're all iconic:
hinic_aeq_register_hw_cb(9)hinic_aeq_unregister_hw_cb(9)hinic_ceq_unregister_cb(9)eq_update_ci(9)aeq_irq_handler(9)ceq_event_handler(9)ceq_irq_handler(9)eq_irq_handler(9)eq_irq_work(9)ceq_tasklet(9)aeq_interrupt(9)ceq_interrupt(9)set_eq_ctrls(9)aeq_elements_init(9)ceq_elements_init(9)alloc_eq_pages(9)free_eq_pages(9)init_eq(9)remove_eq(9)hinic_aeqs_init(9)hinic_aeqs_free(9)hinic_ceqs_init(9)hinic_ceqs_free(9)
and that's the page, bestie π§β¨ quick little sign-off: this beauty comes from ./drivers/net/ethernet/huawei/... and it's dated October 2026 β so yes, it's giving future icon. ππ bye!! π
π¦ 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