cppi5_hdesc_get_psdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppi5_hdesc_get_psdata β€” a Kernel API Manual moment (section 9)

okay so bestie, welcome to the group chat where we learn how to grab a pointer to the PSDATA in a host packet descriptor. yes it's a kernel thing. yes it's iconic. no cap, this one's short and sweet πŸŽ€


✨ NAME ✨

cppi5_hdesc_get_psdata β€” Get pointer on PSDATA 🫢


🌸 SYNOPSIS 🌸

void * cppi5_hdesc_get_psdata (struct cppi5_host_desc_t *desc );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • desc β€” Host packet descriptor. that's the vibe, that's the whole input πŸ’œ

⭐ RETURN ⭐

so what do you get back? a pointer on PSDATA in HDesc. slay.

and if you get NULL? that's not an error bestie, that literally means ps_data placed at the start of data buffer 🌈 so like, it's giving "no separate PSDATA pointer, it's up front." periodt πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” including the kernel file ./include/linux/dma/ti-cppi5.h πŸ‘‘


bestie reminder πŸ’– this page lives under ./include/linux/dma, and it's dated October 2026 β€” so yeah, it's ahead of its time, main character energy only 😭✨ go read the header file, iykyk 🧚

anyway that's the page, go forth and get that PSDATA pointer, you're gonna ate πŸ’…πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from