• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/

Lines Matching defs:rh

1016 	struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
1018 rh->old_syssts = r8a66597_read(r8a66597, get_syssts_reg(port)) & LNST;
1019 rh->scount = R8A66597_MAX_SAMPLING;
1021 rh->port |= USB_PORT_STAT_CONNECTION;
1023 rh->port &= ~USB_PORT_STAT_CONNECTION;
1024 rh->port |= USB_PORT_STAT_C_CONNECTION << 16;
1060 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
1062 rh->port &= ~(USB_PORT_STAT_HIGH_SPEED | USB_PORT_STAT_LOW_SPEED);
1064 rh->port |= USB_PORT_STAT_HIGH_SPEED;
1066 rh->port |= USB_PORT_STAT_LOW_SPEED;
1068 rh->port &= ~USB_PORT_STAT_RESET;
1069 rh->port |= USB_PORT_STAT_ENABLE;
1706 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
1708 if (rh->port & USB_PORT_STAT_RESET) {
1720 if (!(rh->port & USB_PORT_STAT_CONNECTION)) {
1725 if (rh->scount > 0) {
1727 if (tmp == rh->old_syssts) {
1728 rh->scount--;
1729 if (rh->scount == 0)
1734 rh->scount = R8A66597_MAX_SAMPLING;
1735 rh->old_syssts = tmp;
2163 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
2188 rh->port &= ~USB_PORT_STAT_POWER;
2204 rh->port &= ~(1 << wValue);
2216 *(__le32 *)buf = cpu_to_le32(rh->port);
2229 rh->port |= USB_PORT_STAT_POWER;
2232 struct r8a66597_device *dev = rh->dev;
2234 rh->port |= USB_PORT_STAT_RESET;
2248 rh->port |= 1 << wValue;
2269 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
2272 if (!(rh->port & USB_PORT_STAT_ENABLE))
2277 rh->port |= USB_PORT_STAT_SUSPEND;
2279 if (rh->dev->udev->do_remote_wakeup) {
2300 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
2303 if (!(rh->port & USB_PORT_STAT_SUSPEND))
2307 rh->port &= ~USB_PORT_STAT_SUSPEND;
2308 rh->port |= USB_PORT_STAT_C_SUSPEND < 16;
2367 struct r8a66597_root_hub *rh = &r8a66597->root_hub[port];
2369 rh->port = 0x00000000;