scmi_handle_put(9)
β¨ NAME β¨
okay bestie, meet scmi_handle_put(9) from the Kernel API Manual β this is the function that releases the handle acquired by scmi_handle_get. That's the whole assignment, no cap. π
π¦ SYNOPSIS π¦
int scmi_handle_put (const struct scmi_handle *handle );
πΈ ARGUMENTS πΈ
handleβ the handle you got fromscmi_handle_get, bestie. This is the one being released. π
π NOTE π
okay, important vibe check: this function does not track individual clients of the framework, and it's expected to be maintained by the caller of the SCMI protocol library. So like, the caller is the main character here β not the function. π«Ά
scmi_handle_put must be balanced with successful scmi_handle_get. No cap, that balance is literally the assignment. Don't leave it unbalanced. π
π₯ RETURN π₯
It returns 0 if successfully released; if null was passed, it returns -EINVAL; that's the whole return plot. β¨
π SEE ALSO π
The whole cross-reference group chat is right here, plus the kernel file:
- 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_raw_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_channels_setup(9)
xoxo, scmi_handle_put(9) π
β source/version: ./drivers/firmware/arm_scmi, date: October 2026. π
π¦ 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