dpaa2_sg_set_addr(9)
π
dpaa2_sg_set_addr β like, the dpaa2_sg_set_addr(9) kernel API manual page, bestie
okay so this is a page straight out of the Kernel API Manual, and it's about one tiny little function that does exactly one tiny little thing. no cap. let's get into it π«Ά
β¨ NAME β¨
dpaa2_sg_set_addr β Set the address in SG entry π«
that's it. that's the whole job. she sets an address into an SG entry and she goes home. iconic behaviour honestly.
πΈ SYNOPSIS πΈ
void dpaa2_sg_set_addr (struct dpaa2_sg_entry *sg , dma_addr_t addr );
look at her π
returns void, takes two things, zero drama.
π ARGUMENTS π
sgβ the given scatter-gathering object. this is the SG entry you're writing into, your main character of the moment β¨addrβ the address to be set. this is the value going in. that's the whole vibe π₯
π¦ SEE ALSO π¦
okay bestie this section is long, so I split it up by family so your brain doesn't melt. every single one is here, i promise, fr fr π
π§ the kernel file itself
./include/soc/fsl/dpaa2-fd.hβ DPAA2 FD - Frame Descriptor APIs for DPAA2(9). the literal source file where all this lives π
π the frame descriptor (fd) gang
struct dpaa2_fd(9)dpaa2_fd_get_addr(9)dpaa2_fd_set_addr(9)dpaa2_fd_get_frc(9)dpaa2_fd_set_frc(9)dpaa2_fd_get_ctrl(9)dpaa2_fd_set_ctrl(9)dpaa2_fd_get_flc(9)dpaa2_fd_set_flc(9)dpaa2_fd_get_len(9)dpaa2_fd_set_len(9)dpaa2_fd_get_offset(9)dpaa2_fd_set_offset(9)dpaa2_fd_get_format(9)dpaa2_fd_set_format(9)dpaa2_fd_get_bpid(9)dpaa2_fd_set_bpid(9)
π the scatter-gather (sg) crew β that's our girl's family
struct dpaa2_sg_entry(9)dpaa2_sg_get_addr(9)dpaa2_sg_get_len(9)dpaa2_sg_set_len(9)dpaa2_sg_get_offset(9)dpaa2_sg_set_offset(9)dpaa2_sg_get_format(9)dpaa2_sg_set_format(9)dpaa2_sg_get_bpid(9)dpaa2_sg_set_bpid(9)dpaa2_sg_is_final(9)dpaa2_sg_set_final(9)
π₯ the frame list (fl) squad
struct dpaa2_fl_entry(9)dpaa2_fl_get_addr(9)dpaa2_fl_set_addr(9)dpaa2_fl_get_frc(9)dpaa2_fl_set_frc(9)dpaa2_fl_get_ctrl(9)dpaa2_fl_set_ctrl(9)dpaa2_fl_get_flc(9)dpaa2_fl_set_flc(9)dpaa2_fl_get_len(9)dpaa2_fl_set_len(9)dpaa2_fl_get_offset(9)dpaa2_fl_set_offset(9)dpaa2_fl_get_format(9)dpaa2_fl_set_format(9)dpaa2_fl_get_bpid(9)dpaa2_fl_set_bpid(9)dpaa2_fl_is_final(9)dpaa2_fl_set_final(9)
ngl, this page is short and sweet β one function, two args, and a whole extended universe of siblings in SEE ALSO. read them all, iykyk π
and that's the whole page, bestie!! π this cutie came out of ./include/soc/fsl in October 2026, so go stan the source tree and hydrate!! πβ¨π¦
π¦ 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