• Home
  • Raw
  • Download

Lines Matching refs:temp

20 		label, num, temp, \
21 (temp & RH_PS_PRSC) ? " PRSC" : "", \
22 (temp & RH_PS_OCIC) ? " OCIC" : "", \
23 (temp & RH_PS_PSSC) ? " PSSC" : "", \
24 (temp & RH_PS_PESC) ? " PESC" : "", \
25 (temp & RH_PS_CSC) ? " CSC" : "", \
27 (temp & RH_PS_LSDA) ? " LSDA" : "", \
28 (temp & RH_PS_PPS) ? " PPS" : "", \
29 (temp & RH_PS_PRS) ? " PRS" : "", \
30 (temp & RH_PS_POCI) ? " POCI" : "", \
31 (temp & RH_PS_PSS) ? " PSS" : "", \
33 (temp & RH_PS_PES) ? " PES" : "", \
34 (temp & RH_PS_CCS) ? " CCS" : "" \
135 u32 temp, enables; in ohci_rh_resume() local
197 temp = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
198 temp &= OHCI_CTRL_HCFS; in ohci_rh_resume()
199 if (temp != OHCI_USB_RESUME) { in ohci_rh_resume()
232 temp = ohci->hc_control; in ohci_rh_resume()
233 temp &= OHCI_CTRL_RWC; in ohci_rh_resume()
234 temp |= OHCI_CONTROL_INIT | OHCI_USB_OPER; in ohci_rh_resume()
235 ohci->hc_control = temp; in ohci_rh_resume()
236 ohci_writel (ohci, temp, &ohci->regs->control); in ohci_rh_resume()
251 temp = 0; in ohci_rh_resume()
258 temp |= OHCI_CLF; in ohci_rh_resume()
264 temp |= OHCI_BLF; in ohci_rh_resume()
273 if (temp) in ohci_rh_resume()
274 ohci_writel (ohci, temp, &ohci->regs->cmdstatus); in ohci_rh_resume()
516 u16 temp; in ohci_hub_descriptor() local
523 temp = 1 + (ohci->num_ports / 8); in ohci_hub_descriptor()
524 desc->bDescLength = 7 + 2 * temp; in ohci_hub_descriptor()
526 temp = 0; in ohci_hub_descriptor()
528 temp |= 0x0002; in ohci_hub_descriptor()
530 temp |= 0x0001; in ohci_hub_descriptor()
532 temp |= 0x0010; in ohci_hub_descriptor()
534 temp |= 0x0008; in ohci_hub_descriptor()
535 desc->wHubCharacteristics = (__force __u16)cpu_to_hc16(ohci, temp); in ohci_hub_descriptor()
596 u32 temp = 0; in root_port_reset() local
611 temp = ohci_readl (ohci, portstat); in root_port_reset()
613 if (temp == ~(u32)0) in root_port_reset()
615 if (!(temp & RH_PS_PRS)) in root_port_reset()
627 port, temp); in root_port_reset()
631 if (!(temp & RH_PS_CCS)) in root_port_reset()
633 if (temp & RH_PS_PRSC) in root_port_reset()
659 u32 temp; in ohci_hub_control() local
684 temp = RH_PS_CCS; in ohci_hub_control()
687 temp = RH_PS_PESC; in ohci_hub_control()
690 temp = RH_PS_POCI; in ohci_hub_control()
693 temp = RH_PS_PSSC; in ohci_hub_control()
696 temp = RH_PS_LSDA; in ohci_hub_control()
699 temp = RH_PS_CSC; in ohci_hub_control()
702 temp = RH_PS_OCIC; in ohci_hub_control()
705 temp = RH_PS_PRSC; in ohci_hub_control()
710 ohci_writel (ohci, temp, in ohci_hub_control()
718 temp = roothub_status (ohci) & ~(RH_HS_CRWE | RH_HS_DRWE); in ohci_hub_control()
719 put_unaligned_le32(temp, buf); in ohci_hub_control()
725 temp = roothub_portstatus (ohci, wIndex); in ohci_hub_control()
726 put_unaligned_le32(temp, buf); in ohci_hub_control()
731 dbg_port (ohci, "GetStatus", wIndex, temp); in ohci_hub_control()