• Home
  • Raw
  • Download

Lines Matching refs:str

2352 static inline const char *xhci_decode_trb(char *str, size_t size,  in xhci_decode_trb()  argument
2359 snprintf(str, size, in xhci_decode_trb()
2376 snprintf(str, size, in xhci_decode_trb()
2389 snprintf(str, size, in xhci_decode_trb()
2407 snprintf(str, size, in xhci_decode_trb()
2421 snprintf(str, size, in xhci_decode_trb()
2435 snprintf(str, size, in xhci_decode_trb()
2452 snprintf(str, size, in xhci_decode_trb()
2459 snprintf(str, size, in xhci_decode_trb()
2466 snprintf(str, size, in xhci_decode_trb()
2475 snprintf(str, size, in xhci_decode_trb()
2484 snprintf(str, size, in xhci_decode_trb()
2492 snprintf(str, size, in xhci_decode_trb()
2503 snprintf(str, size, in xhci_decode_trb()
2513 snprintf(str, size, in xhci_decode_trb()
2524 snprintf(str, size, in xhci_decode_trb()
2531 snprintf(str, size, in xhci_decode_trb()
2540 snprintf(str, size, in xhci_decode_trb()
2547 snprintf(str, size, in xhci_decode_trb()
2556 snprintf(str, size, in xhci_decode_trb()
2565 snprintf(str, size, in xhci_decode_trb()
2571 return str; in xhci_decode_trb()
2574 static inline const char *xhci_decode_ctrl_ctx(char *str, in xhci_decode_ctrl_ctx() argument
2580 str[0] = '\0'; in xhci_decode_ctrl_ctx()
2583 ret = sprintf(str, "Drop:"); in xhci_decode_ctrl_ctx()
2585 ret += sprintf(str + ret, " %d%s", in xhci_decode_ctrl_ctx()
2588 ret += sprintf(str + ret, ", "); in xhci_decode_ctrl_ctx()
2592 ret += sprintf(str + ret, "Add:%s%s", in xhci_decode_ctrl_ctx()
2597 ret += sprintf(str + ret, " %d%s", in xhci_decode_ctrl_ctx()
2601 return str; in xhci_decode_ctrl_ctx()
2604 static inline const char *xhci_decode_slot_context(char *str, in xhci_decode_slot_context() argument
2616 ret = sprintf(str, "RS %05x %s%s%s Ctx Entries %d MEL %d us Port# %d/%d", in xhci_decode_slot_context()
2645 ret += sprintf(str + ret, " [TT Slot %d Port# %d TTT %d Intr %d] Addr %d State %s", in xhci_decode_slot_context()
2651 return str; in xhci_decode_slot_context()
2690 static inline const char *xhci_decode_portsc(char *str, u32 portsc) in xhci_decode_portsc() argument
2694 ret = sprintf(str, "%s %s %s Link:%s PortSpeed:%d ", in xhci_decode_portsc()
2702 ret += sprintf(str + ret, "OverCurrent "); in xhci_decode_portsc()
2704 ret += sprintf(str + ret, "In-Reset "); in xhci_decode_portsc()
2706 ret += sprintf(str + ret, "Change: "); in xhci_decode_portsc()
2708 ret += sprintf(str + ret, "CSC "); in xhci_decode_portsc()
2710 ret += sprintf(str + ret, "PEC "); in xhci_decode_portsc()
2712 ret += sprintf(str + ret, "WRC "); in xhci_decode_portsc()
2714 ret += sprintf(str + ret, "OCC "); in xhci_decode_portsc()
2716 ret += sprintf(str + ret, "PRC "); in xhci_decode_portsc()
2718 ret += sprintf(str + ret, "PLC "); in xhci_decode_portsc()
2720 ret += sprintf(str + ret, "CEC "); in xhci_decode_portsc()
2722 ret += sprintf(str + ret, "CAS "); in xhci_decode_portsc()
2724 ret += sprintf(str + ret, "Wake: "); in xhci_decode_portsc()
2726 ret += sprintf(str + ret, "WCE "); in xhci_decode_portsc()
2728 ret += sprintf(str + ret, "WDE "); in xhci_decode_portsc()
2730 ret += sprintf(str + ret, "WOE "); in xhci_decode_portsc()
2732 return str; in xhci_decode_portsc()
2735 static inline const char *xhci_decode_usbsts(char *str, u32 usbsts) in xhci_decode_usbsts() argument
2739 ret = sprintf(str, " 0x%08x", usbsts); in xhci_decode_usbsts()
2742 return str; in xhci_decode_usbsts()
2745 ret += sprintf(str + ret, " HCHalted"); in xhci_decode_usbsts()
2747 ret += sprintf(str + ret, " HSE"); in xhci_decode_usbsts()
2749 ret += sprintf(str + ret, " EINT"); in xhci_decode_usbsts()
2751 ret += sprintf(str + ret, " PCD"); in xhci_decode_usbsts()
2753 ret += sprintf(str + ret, " SSS"); in xhci_decode_usbsts()
2755 ret += sprintf(str + ret, " RSS"); in xhci_decode_usbsts()
2757 ret += sprintf(str + ret, " SRE"); in xhci_decode_usbsts()
2759 ret += sprintf(str + ret, " CNR"); in xhci_decode_usbsts()
2761 ret += sprintf(str + ret, " HCE"); in xhci_decode_usbsts()
2763 return str; in xhci_decode_usbsts()
2766 static inline const char *xhci_decode_doorbell(char *str, u32 slot, u32 doorbell) in xhci_decode_doorbell() argument
2776 sprintf(str, "Command Ring %d", doorbell); in xhci_decode_doorbell()
2777 return str; in xhci_decode_doorbell()
2779 ret = sprintf(str, "Slot %d ", slot); in xhci_decode_doorbell()
2781 ret = sprintf(str + ret, "ep%d%s", in xhci_decode_doorbell()
2785 ret = sprintf(str + ret, "Reserved %d", ep); in xhci_decode_doorbell()
2787 ret = sprintf(str + ret, "Vendor Defined %d", ep); in xhci_decode_doorbell()
2789 ret = sprintf(str + ret, " Stream %d", stream); in xhci_decode_doorbell()
2791 return str; in xhci_decode_doorbell()
2834 static inline const char *xhci_decode_ep_context(char *str, u32 info, in xhci_decode_ep_context() argument
2871 ret = sprintf(str, "State %s mult %d max P. Streams %d %s", in xhci_decode_ep_context()
2875 ret += sprintf(str + ret, "interval %d us max ESIT payload %d CErr %d ", in xhci_decode_ep_context()
2878 ret += sprintf(str + ret, "Type %s %sburst %d maxp %d deq %016llx ", in xhci_decode_ep_context()
2882 ret += sprintf(str + ret, "avg trb len %d", avg); in xhci_decode_ep_context()
2884 return str; in xhci_decode_ep_context()