udc_stop(9)
π udc_stop(9) β like, the deinitialize gadget role one π
okay bestie, welcome to udc_stop(9), straight out of the Kernel API Manual β¨ this is the function that packs up the gadget role and sends it home β deinitializes it, no cap π«Ά
β¨ NAME β¨
udc_stop β deinitialize gadget role πΈ
π¦ SYNOPSIS π¦
void udc_stop (struct ci_hdrc *ci );
literally that's it. void in, void out, no return value to stress about π
π ARGUMENTS π
ciβ the chipidea controller π that's the whole vibe, that's the whole argument
π« SEE ALSO π«
so this function does not exist in a vacuum, bestie β it lives in the kernel file ./drivers/usb/chipidea/udc.c and it's surrounded by its little friends. the whole friend group, in the order the page gives them:
hw_ep_bit(9)hw_device_state(9)hw_ep_flush(9)hw_ep_disable(9)hw_ep_enable(9)hw_ep_get_halt(9)hw_ep_prime(9)hw_ep_set_halt(9)hw_port_is_high_speed(9)hw_test_and_clear_complete(9)hw_test_and_clear_intr_active(9)hw_test_and_clear_setup_guard(9)hw_test_and_set_setup_guard(9)hw_usb_set_address(9)hw_usb_reset(9)_usb_addr(9)_hardware_enqueue(9)free_pending_td(9)_hardware_dequeue(9)_ep_nuke(9)_gadget_stop_activity(9)isr_reset_handler(9)isr_get_status_complete(9)_ep_queue(9)isr_get_status_response(9)isr_setup_status_complete(9)isr_setup_status_phase(9)isr_tr_complete_low(9)isr_setup_packet_handler(9)isr_tr_complete_handler(9)ci_udc_start(9)udc_start(9)ci_hdrc_gadget_init(9)
like, that's 33 cross-references and every single one of them ate π₯ iykyk
and that's the page!! π source is the kernel path ./drivers/usb/chipidea, the lovely Kernel API Manual is where this lil guy lives, and it's dated October 2026 β go forth and deinitialize that gadget role, bestie, you're so iconic for it πβ
π¦ 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