__xudc_ep_enable(9)
π __xudc_ep_enable(9) π
okay so bestie, welcome to the Kernel API Manual β this is a page about __xudc_ep_enable, and yes the double underscore is part of the name, we do not strip it, it's giving "internal function, main character energy" π
β¨ NAME β¨
__xudc_ep_enable β literally just enables the given endpoint. that's it. that's the whole job. slay π
πΈ SYNOPSIS πΈ
int __xudc_ep_enable (struct xusb_ep *ep , const struct
usb_endpoint_descriptor *desc );
not me showing you the exact spacing from the page, yes the ep , has a space before the comma, we keep it, no cap π«Ά
π¦ ARGUMENTS π¦
epβ pointer to thexusb_epstructure. it's the endpoint, bestie, that's who we're enabling πdescβ pointer to the usb endpoint descriptor. the lil spec sheet that says what this endpoint is β¨
β RETURN β
0 for success, and an error value on failure. that's it. zero is the good number here, don't get it twisted π
π SEE ALSO π
soooo there are a lot of siblings in this file and we are listing every single one, because the way that ./drivers/usb/gadget/udc/udc-xilinx.c has a Whole Family is iconic honestly π
Kernel file ./drivers/usb/gadget/udc/udc-xilinx.c:
struct xusb_req(9)struct xusb_ep(9)struct xusb_udc(9)xudc_write32(9)xudc_read32(9)xudc_write32_be(9)xudc_read32_be(9)xudc_wrstatus(9)xudc_epconfig(9)xudc_start_dma(9)xudc_dma_send(9)xudc_dma_receive(9)xudc_eptxrx(9)xudc_done(9)xudc_read_fifo(9)xudc_write_fifo(9)xudc_nuke(9)xudc_ep_set_halt(9)xudc_ep_enable(9)xudc_ep_disable(9)xudc_ep_alloc_request(9)xudc_free_request(9)__xudc_ep0_queue(9)xudc_ep0_queue(9)xudc_ep_queue(9)xudc_ep_dequeue(9)xudc_ep0_enable(9)xudc_ep0_disable(9)xudc_get_frame(9)xudc_wakeup(9)xudc_pullup(9)xudc_eps_init(9)xudc_stop_activity(9)xudc_start(9)xudc_stop(9)xudc_clear_stall_all_ep(9)xudc_startup_handler(9)xudc_ep0_stall(9)xudc_setaddress(9)xudc_getstatus(9)xudc_set_clear_feature(9)xudc_handle_setup(9)xudc_ep0_out(9)xudc_ep0_in(9)xudc_ctrl_ep_handler(9)xudc_nonctrl_ep_handler(9)xudc_irq(9)xudc_probe(9)xudc_remove(9)
like. forty-seven entries. she said "read the whole directory" and honestly? we respect it π§π
tiny heads-up bestie:__xudc_ep_enableis the one with the leading underscores, and plainxudc_ep_enable(9)is also in the list β they are different entries, don't mix them up π
and that's the vibe check, we're done here β¨ this lil beauty lives under ./drivers/usb/gadget/udc, dated October 2026, and that's __xudc_ep_enable(9) β mwah, bye bestie πππ
π¦ 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