scmi_xfer_r...ght_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« scmi_xfer_raw_inflight_register β€” kernel API manual, bestie edition πŸ’«

okay so real talk, this page lives in the Kernel API Manual and it's literally about one little helper that goes "hey, this transfer? it's in flight now, if we can swing it." that's the whole vibe. no cap. πŸ¦‹


✨ NAME ✨

scmi_xfer_raw_inflight_register β€” a helper that registers the given xfer as in flight on the TX channel, if possible. that's it, that's the job, and it does it slayfully. πŸ’…


🌸 SYNOPSIS 🌸

int scmi_xfer_raw_inflight_register (const struct scmi_handle *handle ,
       struct scmi_xfer *xfer );

look at that signature. int return, two args, no drama. she's lowkey iconic for how tidy she is. πŸŽ€


🫢 ARGUMENTS 🫢

  • handle β€” pointer to the SCMI entity handle. you know, the handle. the main character of handles. πŸ‘‘
  • xfer β€” the xfer you want to register. just hand her over, bestie. πŸ’–

⭐ RETURN ⭐

0 on success, error otherwise. that's the whole story fr fr β€” zero means we ate, anything else means something went sideways. 😭


🧚 SEE ALSO 🧚

the whole friend group, in the order they're listed, no one gets left out:

Kernel file ./drivers/firmware/arm_scmi/driver.c, struct scmi_xfers_info(9), struct scmi_protocol_instance(9), struct scmi_info(9), scmi_create_protocol_devices(9), scmi_xfer_token_set(9), scmi_xfer_token_clear(9), scmi_xfer_inflight_register_unlocked(9), scmi_xfer_inflight_register(9), scmi_xfer_pending_set(9), scmi_xfer_get(9), scmi_xfer_raw_get(9), scmi_xfer_raw_channel_get(9), __scmi_xfer_put(9), scmi_xfer_raw_put(9), scmi_xfer_lookup_unlocked(9), scmi_bad_message_trace(9), scmi_msg_response_validate(9), scmi_xfer_state_update(9), scmi_xfer_command_acquire(9), scmi_rx_callback(9), xfer_put(9), scmi_wait_for_message_response(9), scmi_xfer_raw_wait_for_message_response(9), do_xfer(9), do_xfer_with_response(9), xfer_get_init(9), version_get(9), scmi_set_protocol_priv(9), scmi_get_protocol_priv(9), scmi_common_extended_name_get(9), scmi_common_get_max_msg_size(9), scmi_protocol_msg_check(9), struct scmi_iterator(9), scmi_revision_area_get(9), scmi_protocol_version_negotiate(9), scmi_protocol_version_initialize(9), scmi_alloc_init_protocol_instance(9), scmi_get_protocol_instance(9), scmi_protocol_acquire(9), scmi_protocol_release(9), scmi_devm_protocol_get(9), scmi_devm_protocol_acquire(9), scmi_devm_protocol_put(9), scmi_is_transport_atomic(9), scmi_handle_get(9), scmi_handle_put(9), scmi_channels_setup(9).

like… that's the entire group chat and every single one of them is showing up to the function. πŸ”₯


ngl, if you're here it's probably because you're already deep in drivers/firmware/arm_scmi/driver.c and you just needed to double-check what this one does. vibe check passed. go forth and register your xfers. 🌈

and that's a wrap, bestie!! this page came out of ./drivers/firmware/arm_scmi and it's dated October 2026 β€” so yeah, she's from the future and she's still cute about it. πŸ“βœ¨πŸ’œ

πŸ“¦ where this page comes from