dwc2_get_ls_map(9)
π¦ dwc2_get_ls_map(9)
okay so this page is from the Kernel API Manual, bestie β and it's literally about getting the map used for a given qh. π
πΈ NAME πΈ
dwc2_get_ls_map β Get the map used for the given qh.
β¨ SYNOPSIS β¨
unsigned long * dwc2_get_ls_map (struct dwc2_hsotg *hsotg , struct
dwc2_qh *qh );
π ARGUMENTS π
hsotgβ The HCD state structure for the DWC OTG controller.qhβ QH for the periodic transfer.
π DESCRIPTION π
okay so here's the vibe: we'll always get the periodic map out of our TT. π§ Note that even if we're running the host straight in low speed / full speed mode, it appears as if a TT is allocated for us, so we'll use it. If that ever changes, we can add logic here to get a map out of hsotg if !qh->do_split. no cap.
π«Ά RETURN π«Ά
it gives you the map or NULL if a map couldn't be found. periodt. π«
π SEE ALSO π
Kernel file: ./drivers/usb/dwc2/hcd_queue.c
the whole bestie squad of refs:
dwc2_periodic_channel_available(9)dwc2_check_periodic_bandwidth(9)pmap_schedule(9)pmap_unschedule(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)
mwah π β this page is from source/version ./drivers/usb/dwc2, dated October 2026, for dwc2_get_ls_map(9). slay π
π¦ 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