xudc_irq(9)
β¨ xudc_irq(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for xudc_irq β yes we're doing kernel interrupt handlers today and yes it's giving main character energy π
. Pull up a chair, this one's short but it's important.
πΈ NAME πΈ
xudc_irq β the main interrupt handler. that's it, that's the whole vibe. she handles interrupts. she's the main one. periodt π
π¦ SYNOPSIS π¦
irqreturn_t xudc_irq (int irq , void *_udc );
look at her go β¨ two args, returns an irqreturn_t, no cap.
π ARGUMENTS π
irqβ the interrupt number. literally just the number of the interrupt that fired, that's her whole job here π«Ά_udcβ a pointer to the usb device controller structure. yes it's avoid *and yes you're gonna cast it, iykyk π
π RETURN π
returns IRQ_HANDLED after the interrupt is handled π
like, once she's done handling it. that's the whole return story. handled = handled, fr fr.
π SEE ALSO π
okay this is the part where I need you to be seated, because the family tree is huge π but like, iconic huge. all of these live in the kernel file ./drivers/usb/gadget/udc/udc-xilinx.c and honestly you should go meet them:
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_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_probe(9)xudc_remove(9)
and that's the whole page, bestie π short, sweet, extremely IRQ_HANDLED of her. this lil gem lives in ./drivers/usb/gadget/udc and the manual page is dated October 2026 β screenshot it, frame it, put it on the fridge, it's iconic π§πβ
π¦ 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