dwc3_ep_inc_trb(9)
π dwc3_ep_inc_trb(9) π
okay bestie, welcome to the Kernel API Manual page for dwc3_ep_inc_trb(9) β tiny function, big main-character energy. let's go. β¨
π NAME π
dwc3_ep_inc_trb β increment a trb index. that's the whole name, no cap. π«
πΈ SYNOPSIS πΈ
void dwc3_ep_inc_trb (u8 *index );
π«Ά ARGUMENTS π«Ά
indexβ pointer to the TRB index to increment. yes, that's the one. π
π₯ DESCRIPTION π₯
okay so the vibe check here is: index should never point to the link TRB. like, that is not the move. π
after incrementing, if it's pointing to the link TRB, wrap around to the beginning. the link TRB is always at the last TRB entry. slay, that's the wrap-around, periodt. π
π¦ SEE ALSO π¦
Kernel file: ./drivers/usb/dwc3/gadget.c β and here's the whole squad:
dwc3_gadget_set_test_mode(9)dwc3_gadget_get_link_state(9)dwc3_gadget_set_link_state(9)dwc3_ep_inc_enq(9)dwc3_ep_inc_deq(9)dwc3_gadget_giveback(9)dwc3_send_gadget_generic_command(9)dwc3_send_gadget_ep_cmd(9)dwc3_gadget_start_config(9)dwc3_gadget_calc_tx_fifo_size(9)dwc3_gadget_calc_ram_depth(9)dwc3_gadget_clear_tx_fifos(9)__dwc3_gadget_ep_enable(9)__dwc3_gadget_ep_disable(9)dwc3_ep_prev_trb(9)dwc3_prepare_one_trb(9)dwc3_prepare_last_sg(9)__dwc3_stop_active_transfer(9)dwc3_gadget_start_isoc_quirk(9)dwc3_gadget_setup_nump(9)dwc3_gadget_check_config(9)dwc3_gadget_init(9)
mwah π this page lives under ./drivers/usb/dwc3, is stamped October 2026, and yes bestie, it's still dwc3_ep_inc_trb(9). bye! π
π¦ 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