Lines Matching refs:sch_array
282 struct mu3h_sch_bw_info *sch_array; in xhci_mtk_sch_init() local
289 sch_array = kcalloc(num_usb_bus, sizeof(*sch_array), GFP_KERNEL); in xhci_mtk_sch_init()
290 if (sch_array == NULL) in xhci_mtk_sch_init()
294 INIT_LIST_HEAD(&sch_array[i].bw_ep_list); in xhci_mtk_sch_init()
296 mtk->sch_array = sch_array; in xhci_mtk_sch_init()
304 kfree(mtk->sch_array); in xhci_mtk_sch_exit()
318 struct mu3h_sch_bw_info *sch_array; in xhci_mtk_add_ep_quirk() local
328 sch_array = mtk->sch_array; in xhci_mtk_add_ep_quirk()
348 sch_bw = &sch_array[bw_index]; in xhci_mtk_add_ep_quirk()
386 struct mu3h_sch_bw_info *sch_array; in xhci_mtk_drop_ep_quirk() local
394 sch_array = mtk->sch_array; in xhci_mtk_drop_ep_quirk()
405 sch_bw = &sch_array[bw_index]; in xhci_mtk_drop_ep_quirk()