cppi5_hdesc_..._psdata_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppi5_hdesc_update_psdata_size β€” your girl's guide to the kernel API manual ✨

okay so bestie, this page lives in the Linux kernel API manual, and today's main character is a tiny little function that swaps out the PSDATA size on a host packet descriptor. no cap, it's short, it's sweet, and it does exactly one thing. let's get into it πŸŽ€


🌸 NAME 🌸

cppi5_hdesc_update_psdata_size β€” Replace PSdata size πŸ’–

like, literally just replace the PSdata size. that's the whole vibe. she's not complicated, she's not doing extra credit, she's just here to update a number. periodt.


✨ SYNOPSIS ✨

void cppi5_hdesc_update_psdata_size (struct cppi5_host_desc_t *desc ,
u32 psdata_size );

note the void β€” she doesn't return anything, she doesn't gossip back to you, she just does the job and leaves. iconic behaviour tbh 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • desc β€” Host packet descriptor. this is the descriptor you're updating, and yes you have to actually pass one, she's not gonna go find it for you πŸ’€
  • psdata_size β€” PSDATA size. a u32, and it's the new value going in. that's it. that's the tea πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

bestie there are so many friends in this friend group, buckle up πŸ’… β€” all of these live in the kernel file ./include/linux/dma/ti-cppi5.h:

like I said. huge friend group. iykyk 🌈


lowkey obsessed with how a one-line function still gets a whole SEE ALSO section. that's main character energy fr fr πŸ”₯

and that's the whole page, bestie!! sourced straight outta ./include/linux/dma, dated October 2026 β€” consider this your cute little sign-off, mwah πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from