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"
428 /* xhci 7.6.9, all three contexts; info, ep-out and ep-in. Each 64 bytes*/ in dbc_alloc_ctx()
981 struct xhci_hcd *xhci; in dbc_show() local
983 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_show()
984 dbc = xhci->dbc; in dbc_show()
996 struct xhci_hcd *xhci; in dbc_store() local
999 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_store()
1000 dbc = xhci->dbc; in dbc_store()
1017 struct xhci_hcd *xhci; in dbc_idVendor_show() local
1019 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idVendor_show()
1020 dbc = xhci->dbc; in dbc_idVendor_show()
1030 struct xhci_hcd *xhci; in dbc_idVendor_store() local
1040 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idVendor_store()
1041 dbc = xhci->dbc; in dbc_idVendor_store()
1059 struct xhci_hcd *xhci; in dbc_idProduct_show() local
1061 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idProduct_show()
1062 dbc = xhci->dbc; in dbc_idProduct_show()
1072 struct xhci_hcd *xhci; in dbc_idProduct_store() local
1082 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_idProduct_store()
1083 dbc = xhci->dbc; in dbc_idProduct_store()
1100 struct xhci_hcd *xhci; in dbc_bcdDevice_show() local
1102 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bcdDevice_show()
1103 dbc = xhci->dbc; in dbc_bcdDevice_show()
1113 struct xhci_hcd *xhci; in dbc_bcdDevice_store() local
1123 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bcdDevice_store()
1124 dbc = xhci->dbc; in dbc_bcdDevice_store()
1142 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_show() local
1144 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bInterfaceProtocol_show()
1145 dbc = xhci->dbc; in dbc_bInterfaceProtocol_show()
1155 struct xhci_hcd *xhci; in dbc_bInterfaceProtocol_store() local
1166 /* ...xhci only supports values 0 and 1 */ in dbc_bInterfaceProtocol_store()
1170 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_bInterfaceProtocol_store()
1171 dbc = xhci->dbc; in dbc_bInterfaceProtocol_store()
1189 struct xhci_hcd *xhci; in dbc_poll_interval_ms_show() local
1191 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_poll_interval_ms_show()
1192 dbc = xhci->dbc; in dbc_poll_interval_ms_show()
1202 struct xhci_hcd *xhci; in dbc_poll_interval_ms_store() local
1210 xhci = hcd_to_xhci(dev_get_drvdata(dev)); in dbc_poll_interval_ms_store()
1211 dbc = xhci->dbc; in dbc_poll_interval_ms_store()
1288 int xhci_create_dbc_dev(struct xhci_hcd *xhci) in xhci_create_dbc_dev() argument
1296 dev = xhci_to_hcd(xhci)->self.controller; in xhci_create_dbc_dev()
1297 base = &xhci->cap_regs->hc_capbase; in xhci_create_dbc_dev()
1304 if (xhci->dbc) in xhci_create_dbc_dev()
1307 ret = xhci_dbc_tty_probe(dev, base + dbc_cap_offs, xhci); in xhci_create_dbc_dev()
1312 void xhci_remove_dbc_dev(struct xhci_hcd *xhci) in xhci_remove_dbc_dev() argument
1316 if (!xhci->dbc) in xhci_remove_dbc_dev()
1319 xhci_dbc_tty_remove(xhci->dbc); in xhci_remove_dbc_dev()
1320 spin_lock_irqsave(&xhci->lock, flags); in xhci_remove_dbc_dev()
1321 xhci->dbc = NULL; in xhci_remove_dbc_dev()
1322 spin_unlock_irqrestore(&xhci->lock, flags); in xhci_remove_dbc_dev()
1326 int xhci_dbc_suspend(struct xhci_hcd *xhci) in xhci_dbc_suspend() argument
1328 struct xhci_dbc *dbc = xhci->dbc; in xhci_dbc_suspend()
1341 int xhci_dbc_resume(struct xhci_hcd *xhci) in xhci_dbc_resume() argument
1344 struct xhci_dbc *dbc = xhci->dbc; in xhci_dbc_resume()