acpm_prepare_xfer(9)
β¨ acpm_prepare_xfer β¨
okay so bestie, this one's from the Kernel API Manual β it's acpm_prepare_xfer(9) and it's literally the little pre-game ritual before your message gets yeeted into the TX queue. π
πΈ NAME πΈ
acpm_prepare_xfer β gets a transfer all dolled up and ready before the message gets written to the TX queue. no cap, that's the whole job. π
π¦ SYNOPSIS π¦
int acpm_prepare_xfer (struct acpm_chan *achan , const struct acpm_xfer
*xfer );
π ARGUMENTS π
achanβ the ACPM channel info. it's giving "who am I and where am I going" energy. πxferβ a reference to the transfer that's being prepared rn. this is the main character. π
β RETURN β
0 on success, -errno otherwise. so like, zero means slay, negative errno means the vibe check failed. π
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/firmware/samsung/exynos-acpm.c 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_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_node(9)devm_acpm_get_by_phandle(9)
π bestie fr fr read the SEE ALSO list, it's a whole friend group and they all show up to the function together.
okay that's the whole page, mwah! π the source lives over in ./drivers/firmware/samsung and this little gem is dated October 2026 β go forth and prepare those transfers, icon. π§ββοΈπ
π¦ 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