Home
last modified time | relevance | path

Searched refs:rh_a (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/host/
Dohci-da8xx.c233 u32 rh_a; in ohci_da8xx_reset() local
259 rh_a = ohci_readl(ohci, &ohci->regs->roothub.a); in ohci_da8xx_reset()
261 rh_a &= ~RH_A_NPS; in ohci_da8xx_reset()
262 rh_a |= RH_A_PSM; in ohci_da8xx_reset()
265 rh_a &= ~RH_A_NOCP; in ohci_da8xx_reset()
266 rh_a |= RH_A_OCPM; in ohci_da8xx_reset()
269 rh_a &= ~RH_A_POTPGT; in ohci_da8xx_reset()
270 rh_a |= hub->potpgt << 24; in ohci_da8xx_reset()
272 ohci_writel(ohci, rh_a, &ohci->regs->roothub.a); in ohci_da8xx_reset()
Du132-hcd.c1566 u32 rh_a = -1; in u132_init() local
1567 retval = u132_read_pcimem(u132, roothub.a, &rh_a); in u132_init()
1570 u132->num_ports = rh_a & RH_A_NDP; in u132_init()
2565 u32 rh_a = -1; in u132_roothub_descriptor() local
2567 retval = u132_read_pcimem(u132, roothub.a, &rh_a); in u132_roothub_descriptor()
2571 desc->bPwrOn2PwrGood = (rh_a & RH_A_POTPGT) >> 24; in u132_roothub_descriptor()
2577 if (rh_a & RH_A_NPS) in u132_roothub_descriptor()
2579 if (rh_a & RH_A_PSM) in u132_roothub_descriptor()
2581 if (rh_a & RH_A_NOCP) in u132_roothub_descriptor()
2583 else if (rh_a & RH_A_OCPM) in u132_roothub_descriptor()
[all …]
/drivers/usb/misc/
Dftdi-elan.c2201 u32 rh_a = -1; in ftdi_elan_check_controller() local
2218 retval = ftdi_read_pcimem(ftdi, roothub.a, &rh_a); in ftdi_elan_check_controller()
2221 num_ports = rh_a & RH_A_NDP; in ftdi_elan_check_controller()