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