STRUCT ZYNQMP_PM_EVENT_INFO(9)
β¨ 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 frompm_api_cb_id. the rundown:PM_NOTIFY_CBis for Error Events, andPM_INIT_SUSPEND_CBis 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 π
- the kernel file
./drivers/soc/xilinx/zynqmp_power.c(that's where the struct lives, go look π) struct zynqmp_pm_work_struct(9)zynqmp_pm_subsystem_restart_work_fn(9)zynqmp_pm_init_suspend_work_fn(9)
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 understruct zynqmp_pm_event_info(9)β 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