Home
last modified time | relevance | path

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

/drivers/usb/host/
Dohci-da8xx.c91 u32 rh_a; in ohci_da8xx_init() local
113 rh_a = ohci_readl(ohci, &ohci->regs->roothub.a); in ohci_da8xx_init()
115 rh_a &= ~RH_A_NPS; in ohci_da8xx_init()
116 rh_a |= RH_A_PSM; in ohci_da8xx_init()
119 rh_a &= ~RH_A_NOCP; in ohci_da8xx_init()
120 rh_a |= RH_A_OCPM; in ohci_da8xx_init()
122 rh_a &= ~RH_A_POTPGT; in ohci_da8xx_init()
123 rh_a |= hub->potpgt << 24; in ohci_da8xx_init()
124 ohci_writel(ohci, rh_a, &ohci->regs->roothub.a); in ohci_da8xx_init()
Du132-hcd.c1580 u32 rh_a = -1; in u132_init() local
1581 retval = u132_read_pcimem(u132, roothub.a, &rh_a); in u132_init()
1584 u132->num_ports = rh_a & RH_A_NDP; in u132_init()
2582 u32 rh_a = -1; in u132_roothub_descriptor() local
2584 retval = u132_read_pcimem(u132, roothub.a, &rh_a); in u132_roothub_descriptor()
2588 desc->bPwrOn2PwrGood = (rh_a & RH_A_POTPGT) >> 24; in u132_roothub_descriptor()
2594 if (rh_a & RH_A_NPS) in u132_roothub_descriptor()
2596 if (rh_a & RH_A_PSM) in u132_roothub_descriptor()
2598 if (rh_a & RH_A_NOCP) in u132_roothub_descriptor()
2600 else if (rh_a & RH_A_OCPM) in u132_roothub_descriptor()
[all …]
/drivers/usb/misc/
Dftdi-elan.c2301 u32 rh_a = -1; in ftdi_elan_check_controller() local
2318 retval = ftdi_read_pcimem(ftdi, roothub.a, &rh_a); in ftdi_elan_check_controller()
2321 num_ports = rh_a & RH_A_NDP; in ftdi_elan_check_controller()