Lines Matching full:mtk
14 #include "xhci-mtk.h"
35 /* mtk scheduler bitmasks */
652 int xhci_mtk_sch_init(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_init() argument
654 struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd); in xhci_mtk_sch_init()
669 mtk->sch_array = sch_array; in xhci_mtk_sch_init()
671 INIT_LIST_HEAD(&mtk->bw_ep_chk_list); in xhci_mtk_sch_init()
677 void xhci_mtk_sch_exit(struct xhci_hcd_mtk *mtk) in xhci_mtk_sch_exit() argument
679 kfree(mtk->sch_array); in xhci_mtk_sch_exit()
686 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_add_ep_quirk() local
723 list_add_tail(&sch_ep->endpoint, &mtk->bw_ep_chk_list); in xhci_mtk_add_ep_quirk()
732 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_drop_ep_quirk() local
744 sch_array = mtk->sch_array; in xhci_mtk_drop_ep_quirk()
768 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_check_bandwidth() local
777 list_for_each_entry(sch_ep, &mtk->bw_ep_chk_list, endpoint) { in xhci_mtk_check_bandwidth()
779 sch_bw = &mtk->sch_array[bw_index]; in xhci_mtk_check_bandwidth()
789 list_for_each_entry_safe(sch_ep, tmp, &mtk->bw_ep_chk_list, endpoint) { in xhci_mtk_check_bandwidth()
795 sch_bw = &mtk->sch_array[bw_index]; in xhci_mtk_check_bandwidth()
817 struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd); in xhci_mtk_reset_bandwidth() local
825 list_for_each_entry_safe(sch_ep, tmp, &mtk->bw_ep_chk_list, endpoint) { in xhci_mtk_reset_bandwidth()
827 sch_bw = &mtk->sch_array[bw_index]; in xhci_mtk_reset_bandwidth()