Lines Matching refs:xhci
923 struct xhci_hcd *xhci; in dbc_show() local
925 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_show()
926 dbc = xhci->dbc; in dbc_show()
958 struct xhci_hcd *xhci; in dbc_store() local
961 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_store()
962 dbc = xhci->dbc; in dbc_store()
1021 int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev() argument
1029 dev = xhci_to_hcd(xhci)->self.controller; in xhci_create_dbc_dev()
1030 base = &xhci->cap_regs->hc_capbase; in xhci_create_dbc_dev()
1037 if (xhci->dbc) in xhci_create_dbc_dev()
1040 ret = xhci_dbc_tty_probe(dev, base + dbc_cap_offs, xhci); in xhci_create_dbc_dev()
1045 void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev() argument
1049 if (!xhci->dbc) in xhci_remove_dbc_dev()
1052 xhci_dbc_tty_remove(xhci->dbc); in xhci_remove_dbc_dev()
1053 spin_lock_irqsave(&xhci->lock, flags); in xhci_remove_dbc_dev()
1054 xhci->dbc = NULL; in xhci_remove_dbc_dev()
1055 spin_unlock_irqrestore(&xhci->lock, flags); in xhci_remove_dbc_dev()
1059 int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend() argument
1061 struct xhci_dbc *dbc = xhci->dbc; in xhci_dbc_suspend()
1074 int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume() argument
1077 struct xhci_dbc *dbc = xhci->dbc; in xhci_dbc_resume()