xlnx_unregister_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xlnx_unregister_event(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this page is literally all about unregistering for an event. no cap, it's giving β€œclean up your callback” energy 🫢


✨ NAME ✨

xlnx_unregister_event β€” unregister for the event. periodt πŸ’…


πŸ“œ SYNOPSIS πŸ“œ

int xlnx_unregister_event (const enum pm_api_cb_id cb_type , const u32
       node_id , const u32 event , event_cb_func_t cb_fun , void *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • cb_type β€” the type of callback, from pm_api_cb_id: PM_NOTIFY_CB is for Error Events, and PM_INIT_SUSPEND_CB is for the suspend callback ✨
  • node_id β€” the Node-Id related to the event πŸ¦‹
  • event β€” the Event Mask for the Error Event 🌸
  • cb_fun β€” the function pointer of the callback function, like the actual function bestie πŸ’œ
  • data β€” pointer of the agent's private data πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

Returns 0 on successful unregistration, else an error code. so 0 = slay, anything else = the error code doing its little thing πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/soc/xilinx/xlnx_event_manager.c
  • struct agent_cb(9)
  • struct registered_event_data(9)
  • xlnx_register_event(9)

okay that’s the whole vibe! this one is from the Kernel API Manual, it lives in the source at ./drivers/soc/xilinx, and it’s dated October 2026. mwah, go unregister that event bestie πŸ’–βœ¨

πŸ“¦ where this page comes from