Release 4.16 drivers/usb/host/xhci-dbg.c
// SPDX-License-Identifier: GPL-2.0
/*
* xHCI host controller driver
*
* Copyright (C) 2008 Intel Corp.
*
* Author: Sarah Sharp
* Some code borrowed from the Linux EHCI driver.
*/
#include "xhci.h"
char *xhci_get_slot_state(struct xhci_hcd *xhci,
struct xhci_container_ctx *ctx)
{
struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx);
int state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state));
return xhci_slot_state_string(state);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Sarah Sharp | 36 | 76.60% | 1 | 33.33% |
Felipe Balbi | 8 | 17.02% | 1 | 33.33% |
Matt Evans | 3 | 6.38% | 1 | 33.33% |
Total | 47 | 100.00% | 3 | 100.00% |
void xhci_dbg_trace(struct xhci_hcd *xhci, void (*trace)(struct va_format *),
const char *fmt, ...)
{
struct va_format vaf;
va_list args;
va_start(args, fmt);
vaf.fmt = fmt;
vaf.va = &args;
xhci_dbg(xhci, "%pV\n", &vaf);
trace(&vaf);
va_end(args);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Xenia Ragiadakou | 76 | 100.00% | 1 | 100.00% |
Total | 76 | 100.00% | 1 | 100.00% |
EXPORT_SYMBOL_GPL(xhci_dbg_trace);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Xenia Ragiadakou | 76 | 57.14% | 1 | 12.50% |
Sarah Sharp | 39 | 29.32% | 2 | 25.00% |
Felipe Balbi | 8 | 6.02% | 1 | 12.50% |
Andrew Bresticker | 5 | 3.76% | 1 | 12.50% |
Matt Evans | 3 | 2.26% | 1 | 12.50% |
Greg Kroah-Hartman | 2 | 1.50% | 2 | 25.00% |
Total | 133 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.