dln2_transfer_rx(9)
π dln2_transfer_rx(9) β the Kernel API Manual, bestie edition π
okay so real talk: this is a page straight out of the Kernel API Manual, and it's all about dln2_transfer_rx β literally the version of @dln2_transfer() where you don't need a TX buffer. no TX era β¨
πΈ NAME πΈ
dln2_transfer_rx β variant of @dln2_transfer() where TX buffer is not needed
like, the whole vibe is "receive only, no sending bag needed" π
β¨ SYNOPSIS β¨
int dln2_transfer_rx (struct platform_device *pdev , u16 cmd , void
*ibuf , unsigned *ibuf_len );
that's the whole call, no cap π«Ά
π¦ ARGUMENTS π¦
so the manual is honestly kind of shy about these four, here's exactly what it gives us:
pdevβ -- undescribed -- (the docs said nothing. iconic behaviour, honestly π but the description below spills the tea)cmdβ -- undescribed -- (again, blank. the description has you covered tho π)ibufβ -- undescribed -- (yes bestie, also blank β keep reading π)ibuf_lenβ -- undescribed -- (blank here too, but the description explains it properly)
ngl the ARGUMENTS section is giving "left on read" π β but every single detail is in DESCRIPTION, so don't skip it!
π DESCRIPTION π
here's the actual tea, laid out one arg at a time:
pdevβ the sub-device which is issuing this transfercmdβ the command to be sent to the deviceibufβ any data associated with the response will be copied here; it can beNULLif the user doesn't need the response data πibuf_lenβ must be initialized to the input buffer size; it will be modified to indicate the actual data transferred β
and the return value? slay:
return 0 for success, negative value for errors πβ¨
like yes, negative means bad vibes, 0 means we ate π₯
π SEE ALSO π
Kernel file ./include/linux/mfd/dln2.h, plus these icons:
go read those too, iykyk π§
okay that's the whole page! π it lives over in ./include/linux/mfd, stamped October 2026 β so yeah, from the future, and still serving π mwah, study hard bestie π
π¦ 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