xudc_ep_queue(9)
πΈ xudc_ep_queue β bestie's guide to the Kernel API Manual β¨
okay so real talk, this page lives in the Kernel API Manual, and it's about xudc_ep_queue β the little function that adds your request to the endpoint queue. that's it, that's the whole vibe. let's get into it π
β¨ NAME β¨
xudc_ep_queue β adds the request to endpoint queue. literally what it says on the label, no cap π
π¦ SYNOPSIS π¦
int xudc_ep_queue (struct usb_ep *_ep , struct usb_request *_req , gfp_t
gfp_flags );
it returns an int, bestie. note that down π
π ARGUMENTS π
_epβ pointer to theusbendpoint structure. like, the endpoint in question, the main character of this call π_reqβ pointer to theusbrequest structure. the request you're yeeting into the queue πgfp_flagsβ flags related to the request call. the little settings gremlins that ride along π§
π RETURN π
0β success, slay, we ate π- error value β on failure π it's giving "something went wrong," and that's the whole story
π SEE ALSO π
okay this list is long long, but we do not skip. every single one, in order, periodt:
- 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_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_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)
ngl the whole thing is short and sweet β pointer in, request in, flags in, 0 or an error out. no drama, just vibes π«Ά
and that's the page!! it's filed under ./drivers/usb/gadget/udc and dated October 2026 in the Kernel API Manual β mwah, go read the source, ily, 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