xudc_set_clear_feature(9)
π xudc_set_clear_feature β a kernel API manual moment
okay so bestie, welcome to xudc_set_clear_feature(9), from the Kernel API Manual. yes it's a section 9 page, yes it's about USB gadget controller stuff, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
xudc_set_clear_feature β literally executes the set feature and clear feature commands. that's the whole vibe. no cap π
π¦ SYNOPSIS π¦
void xudc_set_clear_feature (struct xusb_udc *udc );
like, that's it. that's the signature. she's short and she knows it β¨
π ARGUMENTS π
udcβ pointer to the usb device controller structure. that's the whole argument, bestie, just the one pointer, and honestly she's carrying the entire function on her back π
πΈ DESCRIPTION πΈ
so what does it do? it processes the SET_FEATURE and CLEAR_FEATURE commands. that's the tea β β those two commands come in, and this function is the one that handles them. iconic behaviour, lowkey π₯
π SEE ALSO π
okay this is the part where the page goes absolutely feral with cross-references, so buckle up π§ β starting with the kernel file she lives in:
- the kernel file
./drivers/usb/gadget/udc/udc-xilinx.c
and then the whole extended friend group:
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_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, she knows everyone at the USB gadget party π
and that's the page, bestie π this lil sign-off situation comes from ./drivers/usb/gadget/udc, dated October 2026, and it's filed under xudc_set_clear_feature(9) β periodt, go read your kernel source πβ
π¦ 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