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;
712 temp = RH_PS_CCS;
715 temp = RH_PS_PESC;
718 temp = RH_PS_POCI;
721 temp = RH_PS_PSSC;
724 temp = RH_PS_LSDA;
727 temp = RH_PS_CSC;
730 temp = RH_PS_OCIC;
733 temp = RH_PS_PRSC;
738 ohci_writel (ohci, temp,
746 temp = roothub_status (ohci) & ~(RH_HS_CRWE | RH_HS_DRWE);
747 put_unaligned_le32(temp, buf);
753 temp = roothub_portstatus (ohci, wIndex);
754 put_unaligned_le32(temp, buf);
757 dbg_port(ohci, "GetStatus", wIndex, temp);