Searched refs:sch_bw (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mtk-sch.c | 360 static u32 get_max_bw(struct mu3h_sch_bw_info *sch_bw, in get_max_bw() argument 374 bw = sch_bw->bus_bw[base + j] + in get_max_bw() 383 static void update_bus_bw(struct mu3h_sch_bw_info *sch_bw, in update_bus_bw() argument 396 sch_bw->bus_bw[base + j] += in update_bus_bw() 399 sch_bw->bus_bw[base + j] -= in update_bus_bw() 524 static int load_ep_bw(struct usb_device *udev, struct mu3h_sch_bw_info *sch_bw, in load_ep_bw() argument 531 update_bus_bw(sch_bw, sch_ep, loaded); in load_ep_bw() 555 struct mu3h_sch_bw_info *sch_bw, struct mu3h_sch_ep_info *sch_ep) in check_sch_bw() 586 worst_bw = get_max_bw(sch_bw, sch_ep, offset); in check_sch_bw() 612 return load_ep_bw(udev, sch_bw, sch_e in check_sch_bw() 554 check_sch_bw(struct usb_device *udev, struct mu3h_sch_bw_info *sch_bw, struct mu3h_sch_ep_info *sch_ep) check_sch_bw() argument 615 destroy_sch_ep(struct usb_device *udev, struct mu3h_sch_bw_info *sch_bw, struct mu3h_sch_ep_info *sch_ep) destroy_sch_ep() argument 737 struct mu3h_sch_bw_info *sch_bw; xhci_mtk_drop_ep_quirk() local 771 struct mu3h_sch_bw_info *sch_bw; xhci_mtk_check_bandwidth() local 819 struct mu3h_sch_bw_info *sch_bw; xhci_mtk_reset_bandwidth() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-mtk-sch.c | 365 static u32 get_max_bw(struct mu3h_sch_bw_info *sch_bw, in get_max_bw() argument 377 bw = sch_bw->bus_bw[k] + sch_ep->bw_cost_per_microframe; in get_max_bw() 385 static void update_bus_bw(struct mu3h_sch_bw_info *sch_bw, in update_bus_bw() argument 397 sch_bw->bus_bw[XHCI_MTK_BW_INDEX(base + j)] += bw_updated; in update_bus_bw() 503 static int load_ep_bw(struct mu3h_sch_bw_info *sch_bw, in load_ep_bw() argument 510 update_bus_bw(sch_bw, sch_ep, loaded); in load_ep_bw() 518 struct mu3h_sch_bw_info *sch_bw = sch_ep->bw_info; in check_sch_bw() local 535 worst_bw = get_max_bw(sch_bw, sch_ep, offset); in check_sch_bw() 557 return load_ep_bw(sch_bw, sch_ep, true); in check_sch_bw()
|
Completed in 3 milliseconds