scmi_xfer_command_acquire(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

scmi_xfer_command_acquire(9) from the Kernel API Manual is literally the helper to lookup and acquire a command xfer, bestie. Like, it finds the xfer and locks it in for you. slay. ✨

✨ SYNOPSIS ✨

struct scmi_xfer * scmi_xfer_command_acquire (struct scmi_chan_info
       *cinfo , u32 msg_hdr );

πŸŽ€ ARGUMENTS πŸŽ€

  • cinfo β€” a reference to the channel descriptor. the channel's lil info bestie πŸ’…
  • msg_hdr β€” a message header to use as lookup key. the key you're searching with πŸ”‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: when a valid xfer is found for the sequence number embedded in the provided msg_hdr, the reference counting is properly updated, and exclusive access to this xfer is granted till it's released with scmi_xfer_command_release. That's the whole vibe β€” lookup, refcount update, exclusive access, release later. no cap. πŸ’–

🌸 RETURN 🌸

A valid xfer on Success, or an error otherwise. periodt. 😭

πŸ’œ SEE ALSO πŸ’œ

The kernel file is ./drivers/firmware/arm_scmi/driver.c, and here's the whole icon squad:


source/version vibes: ./drivers/firmware/arm_scmi, October 2026, scmi_xfer_command_acquire(9). byeee bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from