dpaa2_fl_set_addr(9)
β¨ dpaa2_fl_set_addr(9) β Kernel API Manual β¨
okay so bestie, this is a page from the Kernel API Manual and it's honestly so straightforward it's giving "one-line function that just does its job" energy. It's dpaa2_fl_set_addr, and yeah, it sets a field. That's the whole vibe. No cap, no drama, just a little setter doing setter things π
πΈ NAME πΈ
dpaa2_fl_set_addr β Set the addr field of FLE π―
Like, that's it. That's the mission statement. She sets the addr field on an FLE (frame list entry, iykyk) and she goes home. Iconic behaviour honestly π«Ά
π SYNOPSIS π
void dpaa2_fl_set_addr (struct dpaa2_fl_entry *fle , dma_addr_t addr );
Look at her. Returns void, takes two args, zero notes. Main character energy but make it minimal β¨
π¦ ARGUMENTS π¦
fleβ the given frame list entry π like, the actual FLE you're poking at, bestieaddrβ the address needs to be set in frame list entry π this is the value that gets dropped into that entry'saddrfield, fr fr
Heads up:fleis astruct dpaa2_fl_entry *andaddris adma_addr_t, so mind your types β no mixing up your pointers and your DMA addresses, okay? π
π SEE ALSO π
The kernel file ./include/soc/fsl/dpaa2-fd.h has DPAA2 FD - Frame Descriptor, which is the whole family reunion. And because this function literally cannot exist without her siblings, here's the entire guest list π:
APIs for DPAA2(9)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)struct dpaa2_sg_entry(9)dpaa2_sg_get_addr(9)dpaa2_sg_set_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)struct dpaa2_fl_entry(9)dpaa2_fl_get_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)
Yeah that's a lot of siblings but that's the DPAA2 family for you β huge, loud, and every single one of them has a getter and a setter. Balanced. Symmetrical. Slay πβ
and that's the whole page, bestie β go forth and set that addr field π
she ships from ./include/soc/fsl, dated October 2026, and honestly? obsessed with her punctuality πβ¨
π¦ 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