devm_acpm_get_by_node(9)
π devm_acpm_get_by_node(9) π
okay so this is the devm_acpm_get_by_node(9) page from the Kernel API Manual, and itβs short, sweet, and very βmanaged handleβ coded. bestie, letβs get into it π«Ά
β¨ NAME β¨
managed get handle using node pointer β thatβs the whole name vibe, no cap π
π¦ SYNOPSIS π¦
struct acpm_handle * devm_acpm_get_by_node (struct device *dev , struct device_node *np );
π ARGUMENTS π
devβ device pointer requesting ACPM handle. itβs the device saying βhey bestie, can I get an ACPM handle?β π₯npβ ACPM device tree node. literally the ACPM node in the device tree πΈ
β¨ RETURN β¨
on success, you get a pointer to handle. otherwise, itβs ERR_PTR(-errno). thatβs the return tea, periodt π
π SEE ALSO π
the kernel file is ./drivers/firmware/samsung/exynos-acpm.c β thatβs home base. and then the whole friend group is:
struct acpm_shmem(9)struct acpm_chan_shmem(9)struct acpm_queue(9)struct acpm_rx_data(9)struct acpm_chan(9)struct acpm_info(9)struct acpm_match_data(9)acpm_get_saved_rx(9)acpm_get_rx(9)acpm_dequeue_by_polling(9)acpm_wait_for_queue_slots(9)acpm_prepare_xfer(9)acpm_wait_for_message_response(9)acpm_do_xfer(9)acpm_set_xfer(9)acpm_chan_shmem_get_params(9)acpm_achan_alloc_cmds(9)acpm_free_mbox_chans(9)acpm_channels_init(9)acpm_handle_put(9)devm_acpm_release(9)acpm_get_by_node(9)devm_acpm_get_by_phandle(9)
okay bestie, thatβs the page π source: ./drivers/firmware/samsung Β· date: October 2026 Β· page: devm_acpm_get_by_node(9) β bye, love u, drink water πβ¨
π¦ 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