Searched refs:rh_a (Results 1 – 3 of 3) sorted by relevance
262 u32 rh_a; in ohci_da8xx_reset() local288 rh_a = ohci_readl(ohci, &ohci->regs->roothub.a); in ohci_da8xx_reset()290 rh_a &= ~RH_A_NPS; in ohci_da8xx_reset()291 rh_a |= RH_A_PSM; in ohci_da8xx_reset()294 rh_a &= ~RH_A_NOCP; in ohci_da8xx_reset()295 rh_a |= RH_A_OCPM; in ohci_da8xx_reset()298 rh_a &= ~RH_A_POTPGT; in ohci_da8xx_reset()299 rh_a |= hub->potpgt << 24; in ohci_da8xx_reset()301 ohci_writel(ohci, rh_a, &ohci->regs->roothub.a); in ohci_da8xx_reset()
1569 u32 rh_a = -1; in u132_init() local1570 retval = u132_read_pcimem(u132, roothub.a, &rh_a); in u132_init()1573 u132->num_ports = rh_a & RH_A_NDP; in u132_init()2568 u32 rh_a = -1; in u132_roothub_descriptor() local2570 retval = u132_read_pcimem(u132, roothub.a, &rh_a); in u132_roothub_descriptor()2574 desc->bPwrOn2PwrGood = (rh_a & RH_A_POTPGT) >> 24; in u132_roothub_descriptor()2580 if (rh_a & RH_A_NPS) in u132_roothub_descriptor()2582 if (rh_a & RH_A_PSM) in u132_roothub_descriptor()2584 if (rh_a & RH_A_NOCP) in u132_roothub_descriptor()2586 else if (rh_a & RH_A_OCPM) in u132_roothub_descriptor()[all …]
2231 u32 rh_a = -1; in ftdi_elan_check_controller() local2248 retval = ftdi_read_pcimem(ftdi, roothub.a, &rh_a); in ftdi_elan_check_controller()2251 num_ports = rh_a & RH_A_NDP; in ftdi_elan_check_controller()