Lines Matching full:xhci

3  * xhci-dbgcap.c - xHCI debug capability support
28 #include "xhci.h"
29 #include "xhci-trace.h"
30 #include "xhci-dbgcap.h"
426 /* xhci 7.6.9, all three contexts; info, ep-out and ep-in. Each 64 bytes*/ in dbc_alloc_ctx()
942 struct xhci_hcd *xhci; in dbc_show() local
944 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_show()
945 dbc = xhci->dbc; in dbc_show()
957 struct xhci_hcd *xhci; in dbc_store() local
960 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_store()
961 dbc = xhci->dbc; in dbc_store()
978 struct xhci_hcd *xhci; in dbc_idVendor_show() local
980 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idVendor_show()
981 dbc = xhci->dbc; in dbc_idVendor_show()
991 struct xhci_hcd *xhci; in dbc_idVendor_store() local
1001 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idVendor_store()
1002 dbc = xhci->dbc; in dbc_idVendor_store()
1020 struct xhci_hcd *xhci; in dbc_idProduct_show() local
1022 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idProduct_show()
1023 dbc = xhci->dbc; in dbc_idProduct_show()
1033 struct xhci_hcd *xhci; in dbc_idProduct_store() local
1043 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idProduct_store()
1044 dbc = xhci->dbc; in dbc_idProduct_store()
1061 struct xhci_hcd *xhci; in dbc_bcdDevice_show() local
1063 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bcdDevice_show()
1064 dbc = xhci->dbc; in dbc_bcdDevice_show()
1074 struct xhci_hcd *xhci; in dbc_bcdDevice_store() local
1084 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bcdDevice_store()
1085 dbc = xhci->dbc; in dbc_bcdDevice_store()
1103 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_show() local
1105 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bInterfaceProtocol_show()
1106 dbc = xhci->dbc; in dbc_bInterfaceProtocol_show()
1116 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_store() local
1127 /* ...xhci only supports values 0 and 1 */ in dbc_bInterfaceProtocol_store()
1131 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bInterfaceProtocol_store()
1132 dbc = xhci->dbc; in dbc_bInterfaceProtocol_store()
1210 int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev() argument
1218 dev = xhci_to_hcd(xhci)->self.controller; in xhci_create_dbc_dev()
1219 base = &xhci->cap_regs->hc_capbase; in xhci_create_dbc_dev()
1226 if (xhci->dbc) in xhci_create_dbc_dev()
1229 ret = xhci_dbc_tty_probe(dev, base + dbc_cap_offs, xhci); in xhci_create_dbc_dev()
1234 void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev() argument
1238 if (!xhci->dbc) in xhci_remove_dbc_dev()
1241 xhci_dbc_tty_remove(xhci->dbc); in xhci_remove_dbc_dev()
1242 spin_lock_irqsave(&xhci->lock, flags); in xhci_remove_dbc_dev()
1243 xhci->dbc = NULL; in xhci_remove_dbc_dev()
1244 spin_unlock_irqrestore(&xhci->lock, flags); in xhci_remove_dbc_dev()
1248 int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend() argument
1250 struct xhci_dbc *dbc = xhci->dbc; in xhci_dbc_suspend()
1263 int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume() argument
1266 struct xhci_dbc *dbc = xhci->dbc; in xhci_dbc_resume()