Lines Matching full:mtk
14 #include "xhci-mtk.h"
28 /* mtk scheduler bitmasks */
632 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument
634 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
649 mtk->sch_array = sch_array; in xhci_mtk_sch_init()
651 INIT_LIST_HEAD(&mtk->bw_ep_chk_list); in xhci_mtk_sch_init()
657 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_exit() argument
659 kfree(mtk->sch_array); in xhci_mtk_sch_exit()
666 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_add_ep_quirk() local
703 list_add_tail(&sch_ep->endpoint, &mtk->bw_ep_chk_list); in xhci_mtk_add_ep_quirk()
712 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_drop_ep_quirk() local
724 sch_array = mtk->sch_array; in xhci_mtk_drop_ep_quirk()
748 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_check_bandwidth() local
757 list_for_each_entry(sch_ep, &mtk->bw_ep_chk_list, endpoint) { in xhci_mtk_check_bandwidth()
759 sch_bw = &mtk->sch_array[bw_index]; in xhci_mtk_check_bandwidth()
768 list_for_each_entry_safe(sch_ep, tmp, &mtk->bw_ep_chk_list, endpoint) { in xhci_mtk_check_bandwidth()
774 sch_bw = &mtk->sch_array[bw_index]; in xhci_mtk_check_bandwidth()
796 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_reset_bandwidth() local
804 list_for_each_entry_safe(sch_ep, tmp, &mtk->bw_ep_chk_list, endpoint) { in xhci_mtk_reset_bandwidth()
806 sch_bw = &mtk->sch_array[bw_index]; in xhci_mtk_reset_bandwidth()