nuke(9)
π₯ nuke(9) β the pxa27x_udc glow-up page π₯
okay bestie, welcome to nuke(9), a page straight out of the Kernel API Manual. Yes it's called nuke and no, it does not blow anything up β it's just dramatically thorough about cleaning up. main character energy fr fr π
β¨ NAME β¨
nuke β literally "Dequeue all requests". that's it, that's the whole vibe.
π SYNOPSIS π
void nuke (struct pxa_ep *ep , int status );
look at that signature. so clean. so iconic. β¨
π¦ ARGUMENTS π¦
epβ the pxa endpoint. your little usb buddy. π«Άstatusβ the usb request status. the vibes report, basically.
πΈ CONTEXT πΈ
heads up bestie, this is the context you gotta be in: ep->lock released. like, the lock is off, it's not held when you call this. not me forgetting that and causing a deadlock π please don't be that person.
π DESCRIPTION π
so what does it do? it dequeues all requests on an endpoint. every single one. gone. cleared. the timeline is reset. π₯
and as a side effect β and this is the part i need you to remember β interrupts will be disabled on that endpoint (because no more requests β like, an empty queue has nothing to interrupt about, right? makes sense, slay).
ngl this is the whole function. it's short. it's efficient. it ate and left no crumbs. π
π SEE ALSO π
okay this is the part where the page just goes OFF. like a whole friend group of kernel functions, all in Kernel file ./drivers/usb/gadget/udc/pxa27x_udc.c. here's the full squad, nobody left behind, i don't make the rules:
is_match_usb_pxa(9)find_pxa_ep(9)update_pxa_ep_matches(9)pio_irq_enable(9)pio_irq_disable(9)udc_set_mask_UDCCR(9)udc_clear_mask_UDCCR(9)ep_write_UDCCSR(9)ep_count_bytes_remain(9)ep_is_empty(9)ep_is_full(9)epout_has_pkt(9)set_ep0state(9)ep0_idle(9)inc_ep_stats_reqs(9)inc_ep_stats_bytes(9)pxa_ep_setup(9)pxa_eps_setup(9)pxa_ep_alloc_request(9)pxa_ep_free_request(9)ep_add_request(9)ep_del_request(9)req_done(9)ep_end_out_req(9)ep0_end_out_req(9)ep_end_in_req(9)ep0_end_in_req(9)read_packet(9)write_packet(9)read_fifo(9)write_fifo(9)read_ep0_fifo(9)write_ep0_fifo(9)pxa_ep_queue(9)pxa_ep_dequeue(9)pxa_ep_set_halt(9)pxa_ep_fifo_status(9)pxa_ep_fifo_flush(9)pxa_ep_enable(9)pxa_ep_disable(9)dplus_pullup(9)pxa_udc_get_frame(9)pxa_udc_wakeup(9)should_enable_udc(9)should_disable_udc(9)pxa_udc_pullup(9)pxa_udc_vbus_session(9)pxa_udc_vbus_draw(9)pxa_udc_phy_event(9)udc_disable(9)udc_init_data(9)udc_enable(9)pxa27x_udc_start(9)stop_activity(9)pxa27x_udc_stop(9)handle_ep0_ctrl_req(9)handle_ep0(9)handle_ep(9)pxa27x_change_configuration(9)pxa27x_change_interface(9)irq_udc_suspend(9)irq_udc_resume(9)irq_udc_reconfig(9)irq_udc_reset(9)pxa_udc_irq(9)pxa_udc_probe(9)pxa_udc_remove(9)pxa_udc_suspend(9)pxa_udc_resume(9)
iykyk β that's the whole pxa27x_udc.c ensemble cast and honestly they all ate. π
and that's the page bestie!! this iconic little number lives in ./drivers/usb/gadget/udc, dated October 2026, and it's filed under nuke(9) β go forth and dequeue responsibly π§ββοΈπβ¨
π¦ 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