xudc_write_fifo(9)
πΈ xudc_write_fifo β Kernel API Manual energy π
okay so bestie, welcome to xudc_write_fifo, straight out of the Kernel API Manual β it's the function that writes data into the given endpoint buffer, and it's giving tiny-but-important USB gadget helper vibes. π¦
β¨ NAME β¨
xudc_write_fifo β writes data into the given endpoint buffer. no cap, that's the whole assignment. π
π SYNOPSIS π
int xudc_write_fifo (struct xusb_ep *ep , struct xusb_req *req );
π ARGUMENTS π
epβ pointer to the usb device endpoint structure. it's the endpoint bestie in question π«Άreqβ pointer to the usb request structure. the request side of the situation π
β RETURN β
0β if request is completed. slay, we're done β-EAGAINβ if not completed. not a fail, just a "try again later" situation π
π DESCRIPTION π
Loads endpoint buffer for an IN packet. literally that's the job β it's prepping the buffer so the IN packet can do its thing. π₯
π§ SEE ALSO π§
Kernel file ./drivers/usb/gadget/udc/udc-xilinx.c β go read it, iykyk π
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_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_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)
signing off from ./drivers/usb/gadget/udc β October 2026 edition, mwah πβ¨
π¦ 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