Lines Matching defs:temp
31 u16 temp;
41 temp = 1 + (ports / 8);
42 desc->bDescLength = 7 + 2 * temp;
45 memset(&desc->DeviceRemovable[0], 0, temp);
46 memset(&desc->DeviceRemovable[temp], 0xff, temp);
49 temp = 0;
52 temp |= 0x0001;
54 temp |= 0x0002;
57 temp |= 0x0008;
60 desc->wHubCharacteristics = (__force __u16) cpu_to_le16(temp);
183 u32 temp, status;
204 temp = xhci_readl(xhci, addr);
205 xhci_dbg(xhci, "get port status, actual port %d status = 0x%x\n", wIndex, temp);
208 if (temp & PORT_CSC)
210 if (temp & PORT_PEC)
212 if ((temp & PORT_OCC))
214 if (temp & PORT_CONNECT) {
216 status |= xhci_port_speed(temp);
218 if (temp & PORT_PE)
220 if (temp & PORT_OC)
222 if (temp & PORT_RESET)
224 if (temp & PORT_POWER)
235 temp = xhci_readl(xhci, addr);
236 temp = xhci_port_state_to_neutral(temp);
245 xhci_writel(xhci, temp | PORT_POWER, addr);
247 temp = xhci_readl(xhci, addr);
248 xhci_dbg(xhci, "set port power, actual port %d status = 0x%x\n", wIndex, temp);
251 temp = (temp | PORT_RESET);
252 xhci_writel(xhci, temp, addr);
254 temp = xhci_readl(xhci, addr);
255 xhci_dbg(xhci, "set port reset, actual port %d status = 0x%x\n", wIndex, temp);
260 temp = xhci_readl(xhci, addr); /* unblock any posted writes */
268 temp = xhci_readl(xhci, addr);
269 temp = xhci_port_state_to_neutral(temp);
276 addr, temp);
279 xhci_disable_port(xhci, wIndex, addr, temp);
305 u32 temp, status;
323 temp = xhci_readl(xhci, addr);
324 if (temp & (PORT_CSC | PORT_PEC | PORT_OCC)) {