dwc2_get_ls_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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:


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