Lines Matching defs:sch_bw
360 static u32 get_max_bw(struct mu3h_sch_bw_info *sch_bw,
374 bw = sch_bw->bus_bw[base + j] +
383 static void update_bus_bw(struct mu3h_sch_bw_info *sch_bw,
396 sch_bw->bus_bw[base + j] +=
399 sch_bw->bus_bw[base + j] -=
524 static int load_ep_bw(struct usb_device *udev, struct mu3h_sch_bw_info *sch_bw,
531 update_bus_bw(sch_bw, sch_ep, loaded);
555 struct mu3h_sch_bw_info *sch_bw, struct mu3h_sch_ep_info *sch_ep)
586 worst_bw = get_max_bw(sch_bw, sch_ep, offset);
612 return load_ep_bw(udev, sch_bw, sch_ep, true);
616 struct mu3h_sch_bw_info *sch_bw, struct mu3h_sch_ep_info *sch_ep)
620 load_ep_bw(udev, sch_bw, sch_ep, false);
737 struct mu3h_sch_bw_info *sch_bw;
755 sch_bw = &sch_array[bw_index];
757 list_for_each_entry_safe(sch_ep, tmp, &sch_bw->bw_ep_list, endpoint) {
759 destroy_sch_ep(udev, sch_bw, sch_ep);
771 struct mu3h_sch_bw_info *sch_bw;
779 sch_bw = &mtk->sch_array[bw_index];
781 ret = check_sch_bw(udev, sch_bw, sch_ep);
795 sch_bw = &mtk->sch_array[bw_index];
797 list_move_tail(&sch_ep->endpoint, &sch_bw->bw_ep_list);
819 struct mu3h_sch_bw_info *sch_bw;
827 sch_bw = &mtk->sch_array[bw_index];
828 destroy_sch_ep(udev, sch_bw, sch_ep);