cdns3_ep_inc_trb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ cdns3_ep_inc_trb β€” Kernel API Manual πŸŽ€

okay bestie, this is the Kernel API Manual entry for cdns3_ep_inc_trb(9) β€” yes, the little TRB-index-bumping moment. let’s get into it πŸ’…βœ¨

✨ NAME ✨

cdns3_ep_inc_trb β€” increment a trb index. periodt. πŸŽ€

πŸ’– SYNOPSIS πŸ’–

here’s the exact signature, no cap:

void cdns3_ep_inc_trb (int *index , u8 *cs , int trb_in_seg );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • index β€” Pointer to the TRB index to increment. like, it’s literally pointing at the index you’re bumping up 🫢
  • cs β€” Cycle state. the cycle-state situation, iconic πŸ’«
  • trb_in_seg β€” number of TRBs in segment. the count of TRBs chillin’ in that segment πŸ“

🌸 DESCRIPTION 🌸

okay so the index should never point to the link TRB. after incrementing, if it is pointing to the link TRB, it wraps around to the beginning and reverts the cycle state bit. and yes β€” the link TRB is always at the last TRB entry. that’s the vibe πŸ’€βœ¨

🌈 SEE ALSO 🌈

🫢 Kernel file 🫢

  • Kernel file: ./drivers/usb/cdns3/cdns3-gadget.c

πŸ’œ Friends & neighbors πŸ’œ


source/version: ./drivers/usb/cdns3 Β· date: October 2026 Β· page name: cdns3_ep_inc_trb(9) β€” bye bestie, stay iconic πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from