__dwc3_gadget_ep_enable(9)
π __dwc3_gadget_ep_enable π
okay so bestie, welcome to the Kernel API Manual page for __dwc3_gadget_ep_enable β the function that gets a hw endpoint ready, and honestly? iconic. π¦
πΈ NAME πΈ
__dwc3_gadget_ep_enable β initializes a hw endpoint π
β¨ SYNOPSIS β¨
int __dwc3_gadget_ep_enable (struct dwc3_ep *dep , unsigned int action
);
π ARGUMENTS π
depβ endpoint to be initialized π«Άactionβ one ofINIT,MODIFYorRESTOREβ
π DESCRIPTION π
Before anything else, the vibe check is: Caller should take care of locking. π like, that part is not on this function, bestie β you gotta handle it.
Then it executes all necessary commands to initialize a HW endpoint so it can be used by a gadget driver. Thatβs the whole slay: make the hardware endpoint ready for the gadget driver to use. β¨
π₯ SEE ALSO π₯
Kernel file ./drivers/usb/dwc3/gadget.c β plus all these related besties:
dwc3_gadget_set_test_mode(9)dwc3_gadget_get_link_state(9)dwc3_gadget_set_link_state(9)dwc3_ep_inc_trb(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_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 π β source/version: ./drivers/usb/dwc3; date: October 2026; page: __dwc3_gadget_ep_enable(9). π«Ά
π¦ 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