dln2_transfer_tx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dln2_transfer_tx(9) β€” like, the Kernel API Manual but make it make sense

okay bestie, so this is a page straight out of the Kernel API Manual (that's the manual name, we're folding it in, you're welcome πŸŽ€), and it's about dln2_transfer_tx β€” the lowkey icon of the dln2 family. let's get into it ✨


✨ NAME ✨

dln2_transfer_tx β€” a variant of @dln2_transfer() where the RX buffer is not needed πŸ¦‹

like, it's the same vibe as dln2_transfer(), just without the whole "give me a buffer to receive stuff into" situation. no RX, no problem πŸ’…


🌸 SYNOPSIS 🌸

int dln2_transfer_tx (struct platform_device *pdev , u16 cmd , const
void *obuf , unsigned obuf_len );

that's the whole signature, fr fr. int coming back atcha, pdev, cmd, obuf, obuf_len. she's compact, she's iconic πŸ‘‘


🫢 ARGUMENTS 🫢

ngl the original page is a little mysterious here and just says -- undescribed -- for all of them 😭 so here's the honest tea:

  • pdev β€” -- undescribed --
  • cmd β€” -- undescribed --
  • obuf β€” -- undescribed --
  • obuf_len β€” -- undescribed --

but DON'T panic, bestie, because the DESCRIPTION section below literally describes every single one of them. slay for the sequel πŸ’–


πŸ’œ DESCRIPTION πŸ’œ

okay so here's who's who in the cast:

  • pdev β€” the sub-device which is issuing this transfer πŸ‘‘
  • cmd β€” the command to be sent to the device
  • obuf β€” the buffer to be sent to the device; it can be NULL if the user doesn't need to transmit data with this command 🌈
  • obuf_len β€” the size of the buffer to be sent to the device

and then, the return tea:

return 0 for success, negative value for errors πŸ’€

that's it, that's the contract. zero means we ate. negative means something went sideways and you should probably look at it πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

the whole dln2 friend group, honestly. go say hi 🫢


and that's the page, bestie πŸ’– this one came to you from the ./include/linux/mfd corner of the world, dated October 2026, and it's dln2_transfer_tx(9) β€” no cap, that's the whole thing. bye bestieee πŸŽ€βœ¨

πŸ“¦ where this page comes from