Lines Matching refs:temp
31 u32 temp; in xhci_dbg_regs() local
35 temp = xhci_readl(xhci, &xhci->cap_regs->hc_capbase); in xhci_dbg_regs()
37 &xhci->cap_regs->hc_capbase, temp); in xhci_dbg_regs()
39 (unsigned int) HC_LENGTH(temp)); in xhci_dbg_regs()
42 (unsigned int) HC_VERSION(temp)); in xhci_dbg_regs()
47 temp = xhci_readl(xhci, &xhci->cap_regs->run_regs_off); in xhci_dbg_regs()
50 (unsigned int) temp & RTSOFF_MASK); in xhci_dbg_regs()
53 temp = xhci_readl(xhci, &xhci->cap_regs->db_off); in xhci_dbg_regs()
54 xhci_dbg(xhci, "// @%p = 0x%x DBOFF\n", &xhci->cap_regs->db_off, temp); in xhci_dbg_regs()
60 u32 temp; in xhci_print_cap_regs() local
64 temp = xhci_readl(xhci, &xhci->cap_regs->hc_capbase); in xhci_print_cap_regs()
66 (unsigned int) temp); in xhci_print_cap_regs()
68 (unsigned int) HC_LENGTH(temp)); in xhci_print_cap_regs()
70 (unsigned int) HC_VERSION(temp)); in xhci_print_cap_regs()
72 temp = xhci_readl(xhci, &xhci->cap_regs->hcs_params1); in xhci_print_cap_regs()
74 (unsigned int) temp); in xhci_print_cap_regs()
76 (unsigned int) HCS_MAX_SLOTS(temp)); in xhci_print_cap_regs()
78 (unsigned int) HCS_MAX_INTRS(temp)); in xhci_print_cap_regs()
80 (unsigned int) HCS_MAX_PORTS(temp)); in xhci_print_cap_regs()
82 temp = xhci_readl(xhci, &xhci->cap_regs->hcs_params2); in xhci_print_cap_regs()
84 (unsigned int) temp); in xhci_print_cap_regs()
86 (unsigned int) HCS_IST(temp)); in xhci_print_cap_regs()
88 (unsigned int) HCS_ERST_MAX(temp)); in xhci_print_cap_regs()
90 temp = xhci_readl(xhci, &xhci->cap_regs->hcs_params3); in xhci_print_cap_regs()
92 (unsigned int) temp); in xhci_print_cap_regs()
94 (unsigned int) HCS_U1_LATENCY(temp)); in xhci_print_cap_regs()
96 (unsigned int) HCS_U2_LATENCY(temp)); in xhci_print_cap_regs()
98 temp = xhci_readl(xhci, &xhci->cap_regs->hcc_params); in xhci_print_cap_regs()
99 xhci_dbg(xhci, "HCC PARAMS 0x%x:\n", (unsigned int) temp); in xhci_print_cap_regs()
101 HCC_64BIT_ADDR(temp) ? "64" : "32"); in xhci_print_cap_regs()
105 temp = xhci_readl(xhci, &xhci->cap_regs->run_regs_off); in xhci_print_cap_regs()
106 xhci_dbg(xhci, "RTSOFF 0x%x:\n", temp & RTSOFF_MASK); in xhci_print_cap_regs()
111 u32 temp; in xhci_print_command_reg() local
113 temp = xhci_readl(xhci, &xhci->op_regs->command); in xhci_print_command_reg()
114 xhci_dbg(xhci, "USBCMD 0x%x:\n", temp); in xhci_print_command_reg()
116 (temp & CMD_RUN) ? "running" : "being stopped"); in xhci_print_command_reg()
118 (temp & CMD_RESET) ? "not " : ""); in xhci_print_command_reg()
120 (temp & CMD_EIE) ? "enabled " : "disabled"); in xhci_print_command_reg()
122 (temp & CMD_HSEIE) ? "enabled " : "disabled"); in xhci_print_command_reg()
124 (temp & CMD_LRESET) ? "not " : ""); in xhci_print_command_reg()
129 u32 temp; in xhci_print_status() local
131 temp = xhci_readl(xhci, &xhci->op_regs->status); in xhci_print_status()
132 xhci_dbg(xhci, "USBSTS 0x%x:\n", temp); in xhci_print_status()
134 (temp & STS_EINT) ? "not " : ""); in xhci_print_status()
136 (temp & STS_FATAL) ? "WARNING: " : "No "); in xhci_print_status()
138 (temp & STS_HALT) ? "halted" : "running"); in xhci_print_status()
176 u32 temp; in xhci_print_ir_set() local
180 temp = xhci_readl(xhci, addr); in xhci_print_ir_set()
181 if (temp == XHCI_INIT_VALUE) in xhci_print_ir_set()
187 (unsigned int)temp); in xhci_print_ir_set()
190 temp = xhci_readl(xhci, addr); in xhci_print_ir_set()
192 (unsigned int)temp); in xhci_print_ir_set()
195 temp = xhci_readl(xhci, addr); in xhci_print_ir_set()
197 (unsigned int)temp); in xhci_print_ir_set()
200 temp = xhci_readl(xhci, addr); in xhci_print_ir_set()
201 if (temp != XHCI_INIT_VALUE) in xhci_print_ir_set()
203 addr, (unsigned int)temp); in xhci_print_ir_set()
218 u32 temp; in xhci_print_run_regs() local
222 temp = xhci_readl(xhci, &xhci->run_regs->microframe_index); in xhci_print_run_regs()
225 (unsigned int) temp); in xhci_print_run_regs()
227 temp = xhci_readl(xhci, &xhci->run_regs->rsvd[i]); in xhci_print_run_regs()
228 if (temp != XHCI_INIT_VALUE) in xhci_print_run_regs()
231 i, (unsigned int) temp); in xhci_print_run_regs()