STRUCT ZYNQMP_PM_EVENT_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct zynqmp_pm_event_info(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” section 9, we're in the kernel docs part of the group chat today 🫢 this one's a struct, and it's literally the lil info packet for events. let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

struct zynqmp_pm_event_info β€” event related information ✨

like, all the deets about an event, bundled up in one struct. that's the whole vibe.


🌸 SYNOPSIS 🌸

struct zynqmp_pm_event_info {
    event_cb_func_t cb_fun;
    enum pm_api_cb_id cb_type;
    u32 node_id;
    u32 event;
    bool wake;
};

look at her. five fields. absolutely iconic. πŸ‘‘


πŸ’… Members πŸ’…

  • cb_fun β€” a function pointer, and its whole job is to store the callback function. that's it. that's the field. πŸ”₯
  • cb_type β€” the type of callback, and it comes from pm_api_cb_id. the rundown: PM_NOTIFY_CB is for Error Events, and PM_INIT_SUSPEND_CB is for the suspend callback. iykyk πŸ¦‹
  • node_id β€” the Node-Id that's related to the event. keeping it tied to its node, as she should πŸ’œ
  • event β€” the Event Mask for the Error Event. mask on, slay 🌈
  • wake β€” a flag saying whether the subsystem should be woken up when the event notification comes in. like an alarm clock but for subsystems ⭐

πŸ” SEE ALSO πŸ”


okay that's the page!! no cap, that's genuinely all of it πŸŽ€

shoutout to the source at ./drivers/soc/xilinx, dated October 2026, and this whole thing is filed under struct zynqmp_pm_event_info(9) β€” periodt πŸ’–βœ¨
πŸ“¦ where this page comes from