scmi_allocat..._events_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

scmi_allocate_registered_events_desc β€” allocate a registered events' descriptor, bestie πŸŽ€

Hey bestie πŸ’– welcome to scmi_allocat..._events_desc(9) from the Kernel API Manual. This page is all about allocating a registered events' descriptor, and we're gonna keep every detail cute but correct. No cap. ✨


✨ SYNOPSIS ✨

The whole signature, untouched:

struct scmi_registered_events_desc *
scmi_allocate_registered_events_desc (struct scmi_notify_instance *ni ,
u8 proto_id , size_t queue_sz , size_t eh_sz , int num_events , const
struct scmi_event_ops *ops );

πŸŽ€ ARGUMENTS πŸŽ€

  • ni β€” A reference to the struct scmi_notify_instance notification instance to use 🫢
  • proto_id β€” Protocol ID 🏷️
  • queue_sz β€” Size of the associated queue to allocate πŸ“¦
  • eh_sz β€” Size of the event header scratch area to pre-allocate 🧠
  • num_events β€” Number of events to support (size of registered_events) πŸ”’
  • ops β€” Pointer to a struct holding references to protocol specific helpers needed during events handling πŸ› οΈ

πŸ’… DESCRIPTION πŸ’…

This one is supposed to be called only once for each protocol, at protocol initialization time. So if the requested protocol is found already registered, it warns. ⚠️

πŸ”₯ RETURN πŸ”₯

On Success, you get the allocated and registered descriptor back. βœ…

πŸ¦‹ SEE ALSO πŸ¦‹

Go read these too, bestie:


mwah πŸ’‹ β€” this page is from ./drivers/firmware/arm_scmi, dated October 2026, and it's the scmi_allocat..._events_desc(9) manual. πŸ’–

πŸ“¦ where this page comes from