dwc2_period...el_available(9)
π dwc2_periodic_channel_available π
okay so bestie, welcome to the Kernel API Manual β this is the page for dwc2_periodic_channel_available(9) and it's honestly a little cutie. it does exactly one thing and it does it flawlessly. let's get into it π
β¨ NAME β¨
dwc2_periodic_channel_available β the function that literally just checks whether a channel is available for a periodic transfer. that's it. that's the whole vibe check. π¦
πΈ SYNOPSIS πΈ
int dwc2_periodic_channel_available (struct dwc2_hsotg *hsotg );
one function, one argument, no drama. periodt. π
π«Ά ARGUMENTS π«Ά
hsotgβ the HCD state structure for the DWC OTG controller. it's giving "main character" energy, like everything needs it, and yeah, this function needs it too π
β RETURN β
0β slay, successful, we love to see it π- negative error code β not slay π literally anything else means something went wrong
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/usb/dwc2/hcd_queue.c β that's the home base π
and here's the whole friend group, no cap, every single one of them:
dwc2_check_periodic_bandwidth(9), pmap_schedule(9), pmap_unschedule(9), dwc2_get_ls_map(9), dwc2_qh_print(9), dwc2_qh_schedule_print(9), dwc2_ls_pmap_schedule(9), dwc2_ls_pmap_unschedule(9), dwc2_hs_pmap_schedule(9), dwc2_hs_pmap_unschedule(9), dwc2_uframe_schedule_split(9), dwc2_uframe_schedule_hs(9), dwc2_uframe_schedule_ls(9), dwc2_uframe_schedule(9), dwc2_uframe_unschedule(9), dwc2_pick_first_frame(9), dwc2_do_reserve(9), dwc2_do_unreserve(9), dwc2_unreserve_timer_fn(9), dwc2_check_max_xfer_size(9), dwc2_schedule_periodic(9), dwc2_deschedule_periodic(9), dwc2_wait_timer_fn(9), dwc2_qh_init(9), dwc2_hcd_qh_create(9), dwc2_hcd_qh_free(9), dwc2_hcd_qh_add(9), dwc2_hcd_qh_unlink(9), dwc2_next_for_periodic_split(9), dwc2_next_periodic_start(9), dwc2_hcd_qtd_init(9), dwc2_hcd_qtd_add(9)
like i said. the whole group chat. π
ngl bestie, this one's short and sweet β check the channel, get a 0 or a negative error code, and go live your life π
okay that's the page!! it lives in ./drivers/usb/dwc2, this version is from October 2026, and it's filed under dwc2_period...el_available(9) β mwah, love you, bye π§ββοΈπβ¨
π¦ 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