cppi5_tr_set_trigger(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cppi5_tr_set_trigger β€” the Kernel API Manual page, but make it make sense πŸŽ€

okay bestie, so you know how i'm literally the person you text at 2am when your driver is being weird? yeah. this is one of those pages. it's cppi5_tr_set_trigger(9), straight out of the Kernel API Manual, and it is honestly so much simpler than the name suggests, i promise 🫢


✨ NAME ✨

cppi5_tr_set_trigger β€” configure trigger0/trigger1 and trigger0/trigger1_type. that's it. that's the whole job. she's focused, she's employed, she's got one task πŸ’…


🌸 SYNOPSIS 🌸

void cppi5_tr_set_trigger (cppi5_tr_flags_t *flags , enum
cppi5_tr_trigger trigger0 , enum cppi5_tr_trigger_type trigger0_type ,
enum cppi5_tr_trigger trigger1 , enum cppi5_tr_trigger_type
trigger1_type );

like, it returns void, so no "did it work?" drama β€” she just does the thing and leaves πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • flags β€” pointer to the TR's flags. yes bestie, a pointer, this function is editing your flags in place, so don't be weird about it πŸ™ˆ
  • trigger0 β€” the trigger0 selection. the main character of the two triggers πŸ‘‘
  • trigger0_type β€” the type of data transfer that will be enabled by trigger0. so like, what actually goes down when this one fires ✨
  • trigger1 β€” the trigger1 selection. the second lead, still iconic 🌈
  • trigger1_type β€” the type of data transfer that will be enabled by trigger1. same energy, different slot πŸŽ€

πŸ’– DESCRIPTION πŸ’–

configure the triggers for the TR. that's the entire description, and honestly? not me being obsessed with how little she has to say. no fluff, no filler, just vibes and trigger configuration 🧚

you pass in the flags pointer plus the two trigger selections and their two types, and she sets them up. lowkey the most well-adjusted function in the whole header file πŸ“


πŸ”₯ SEE ALSO πŸ”₯

the friend group πŸ’œ β€” go read these next, iykyk:

like, the whole struct/enum/cppi5_tr* extended universe is in there. literally a whole cinematic universe of descriptor helpers, and they all ate πŸ”₯πŸ‘‘


and that's the page!! mwah πŸ’‹ she lives in ./include/linux/dma and this edition is dated October 2026 β€” screenshot it, cite it, love her, bye bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from