dwc2_ls_pmap_schedule(9)
β¨ NAME β¨
dwc2_ls_pmap_schedule β schedule a low speed QH, bestie. This is the dwc2_ls_pmap_schedule(9) page from the Kernel API Manual, and weβre gonna make it make sense π
πΈ SYNOPSIS πΈ
int dwc2_ls_pmap_schedule (struct dwc2_hsotg *hsotg , struct dwc2_qh *qh
, int search_slice );
π¦ ARGUMENTS π¦
hsotgβ the HCD state struct for the DWC OTG controller, aka the controllerβs whole main-character state.qhβ the QH for the periodic transfer.search_sliceβ we start trying to schedule at the slice you pass in. Remember that slices are the units of the low speed schedule (think25usor so), so thatβs the vibe.
π DESCRIPTION π
Okay so this wraps pmap_schedule with the right parameters for low speed scheduling. Normally, low speed devices get scheduled on the map associated with the TT. Thatβs the whole tea π«
π«Ά RETURN π«Ά
0 for success, or an error code. No cap.
π SEE ALSO π
Kernel file ./drivers/usb/dwc2/hcd_queue.c β go read it, iykyk:
dwc2_periodic_channel_available(9)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_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)
mwah π this page is from ./drivers/usb/dwc2, dated October 2026, and itβs literally dwc2_ls_pmap_schedule(9). 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