Lines Matching defs:temp
105 unsigned temp;
108 temp = ohci_readl(ohci, portstat);
109 if ((temp & (RH_PS_PES | RH_PS_PSS)) ==
157 u32 temp, enables;
218 temp = ohci_readl (ohci, &ohci->regs->control);
219 temp &= OHCI_CTRL_HCFS;
220 if (temp != OHCI_USB_RESUME) {
254 temp = ohci->hc_control;
255 temp &= OHCI_CTRL_RWC;
256 temp |= OHCI_CONTROL_INIT | OHCI_USB_OPER;
257 ohci->hc_control = temp;
258 ohci_writel (ohci, temp, &ohci->regs->control);
273 temp = 0;
280 temp |= OHCI_CLF;
286 temp |= OHCI_BLF;
295 if (temp)
296 ohci_writel (ohci, temp, &ohci->regs->cmdstatus);
543 u16 temp;
550 temp = 1 + (ohci->num_ports / 8);
551 desc->bDescLength = 7 + 2 * temp;
553 temp = HUB_CHAR_COMMON_LPSM | HUB_CHAR_COMMON_OCPM;
555 temp |= HUB_CHAR_NO_LPSM;
557 temp |= HUB_CHAR_INDV_PORT_LPSM;
559 temp |= HUB_CHAR_NO_OCPM;
561 temp |= HUB_CHAR_INDV_PORT_OCPM;
562 desc->wHubCharacteristics = cpu_to_le16(temp);
623 u32 temp = 0;
638 temp = ohci_readl (ohci, portstat);
640 if (temp == ~(u32)0)
642 if (!(temp & RH_PS_PRS))
654 port, temp);
658 if (!(temp & RH_PS_CCS))
660 if (temp & RH_PS_PRSC)
686 u32 temp;
711 temp = RH_PS_CCS;
714 temp = RH_PS_PESC;
717 temp = RH_PS_POCI;
720 temp = RH_PS_PSSC;
723 temp = RH_PS_LSDA;
726 temp = RH_PS_CSC;
729 temp = RH_PS_OCIC;
732 temp = RH_PS_PRSC;
737 ohci_writel (ohci, temp,
745 temp = roothub_status (ohci) & ~(RH_HS_CRWE | RH_HS_DRWE);
746 put_unaligned_le32(temp, buf);
752 temp = roothub_portstatus (ohci, wIndex);
753 put_unaligned_le32(temp, buf);
756 dbg_port(ohci, "GetStatus", wIndex, temp);