STRUCT MU3H_SCH_EP_INFO(9)
π¦ NAME π¦
okay bestie, this is struct mu3h_sch_ep_info β schedule information for endpoint. It's from the Kernel API Manual, and it's literally the blueprint for one endpoint's schedule info. slay. π
β¨ SYNOPSIS β¨
struct mu3h_sch_ep_info {
u32 esit;
u32 num_esit;
u32 num_budget_microframes;
struct list_head endpoint;
struct hlist_node hentry;
struct list_head tt_endpoint;
struct mu3h_sch_bw_info *bw_info;
struct mu3h_sch_tt *sch_tt;
u32 ep_type;
u32 maxpkt;
struct usb_host_endpoint *ep;
enum usb_device_speed speed;
bool allocated;
u32 offset;
u32 repeat;
u32 pkts;
u32 cs_count;
u32 burst_mode;
u32 bw_budget_table[];
};
π Members π
esitβ unit is125us, equal to2 << Intervalfield inep-context. βnum_esitβ number ofesitin a period. πnum_budget_microframesβ number of continuous uframes (repeat==1) scheduled within the interval. π¦endpointβ linked into the bandwidth domain it belongs to. πhentryβ hash table entry. π₯tt_endpointβ linked intomu3h_sch_tt's list that it belongs to. πΈbw_infoβ the bandwidth domain this endpoint belongs to. πsch_ttβ themu3h_sch_ttit's linked into. π«Άep_typeβ endpoint type. β¨maxpktβ max packet size of the endpoint. π¦epβ address of theusb_host_endpointstruct. π§speedβ usb device speed. πallocatedβ the bandwidth is aready allocated frombus_bw. πoffsetβ which uframe of the interval the transfer should be scheduled first time within the interval. β±οΈrepeatβ the time gap between two uframes that transfers are scheduled within an interval. In the simple algorithm, only assign0or1to it;0means using only one uframe in an interval, and1means usingnum_budget_microframescontinuous uframes. πpktsβ number of packets to be transferred in the scheduled uframes. πcs_countβ number of CS that the host will trigger. β‘burst_modeβ burst mode for scheduling.0: normal burst mode, distribute thebMaxBurst+1packets for a single burst according topktsandrepeat, repeate the burst multiple times;1: distribute the(bMaxBurst+1)*(Mult+1)packets according topktsandrepeat. normal mode is used by default. π₯bw_budget_tableβ table to record bandwidth budget per microframe. π
π SEE ALSO π
Kernel file ./drivers/usb/host/xhci-mtk.h struct mu3h_sch_tt(9), struct mu3h_sch_bw_info(9), struct mu3c_ippc_regs(9).
mwah π this page is served from ./drivers/usb/host, dated October 2026. 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