cdns3_init_eps(9)
π cdns3_init_eps β Kernel API Manual β¨
okay so real talk, bestie: you're reading the Kernel API Manual entry for cdns3_init_eps, and honestly? it's giving "short but iconic." let's get into it π
πΈ NAME πΈ
cdns3_init_eps β literally just initializes software endpoints of gadget. that's the whole vibe. the gadget's software endpoints? initialized. done. slay. β¨
π¦ SYNOPSIS π¦
int cdns3_init_eps (struct cdns3_device *priv_dev );
π ARGUMENTS π
priv_devβ the extended gadget object π like, the whole gadget but extra, yk? this is the thing you're handing over so it can get its endpoints sorted.
π₯ DESCRIPTION π₯
the entire plot, no cap:
Returns 0 on success, error code elsewhere
that's it. that's the lore. 0 means we ate and left no crumbs π; anything that isn't 0 is an error code and means something went sideways, so check it, fr fr. π
π SEE ALSO π
okay this list is long β the whole cdns3 friend group showed up, and we are not leaving anyone out of the group chat π«Ά
the kernel file itself lives in ./drivers/usb/cdns3/cdns3-gadget.c β that's the mothership, go say hi π
cdns3_clear_register_bit(9)cdns3_set_register_bit(9)cdns3_ep_addr_to_index(9)cdns3_next_request(9)cdns3_next_align_buf(9)cdns3_next_priv_request(9)cdns3_select_ep(9)cdns3_get_tdl(9)cdns3_allocate_trb_pool(9)cdns3_ep_stall_flush(9)cdns3_hw_reset_eps_config(9)cdns3_ep_inc_trb(9)cdns3_ep_inc_enq(9)cdns3_ep_inc_deq(9)cdns3_allow_enable_l1(9)cdns3_start_all_request(9)cdns3_wa2_descmiss_copy_data(9)cdns3_wa2_descmissing_packet(9)cdns3_gadget_giveback(9)cdns3_ep_run_transfer(9)cdns3_trb_handled(9)cdns3_check_ep_interrupt_proceed(9)cdns3_check_usb_interrupt_proceed(9)cdns3_device_irq_handler(9)cdns3_device_thread_irq_handler(9)cdns3_ep_onchip_buffer_reserve(9)cdns3_ep_config(9)cdns3_gadget_ep_alloc_request(9)cdns3_gadget_ep_free_request(9)cdns3_gadget_ep_enable(9)cdns3_gadget_ep_disable(9)__cdns3_gadget_ep_queue(9)cdns3_gadget_ep_dequeue(9)__cdns3_gadget_ep_set_halt(9)__cdns3_gadget_ep_clear_halt(9)cdns3_gadget_ep_set_halt(9)cdns3_gadget_get_frame(9)cdns3_gadget_udc_start(9)cdns3_gadget_udc_stop(9)cdns3_gadget_check_config(9)cdns3_gadget_init(9)
like i said. everyone. and yes i double-checked, all 41 of them are here, do not @ me π
lowkey reminder bestie: this page is the whole manual entry, nothing hidden, nothing skipped. go read the source if you want the deep lore. π
kisses, and remember: ./drivers/usb/cdns3 is where this page calls home, dated October 2026, and the manual itself is the Kernel API Manual π§ββοΈπ periodt.
π¦ 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