portstatus       1229 drivers/staging/wlan-ng/prism2sta.c 			u16 portstatus;
portstatus       1262 drivers/staging/wlan-ng/prism2sta.c 							  &portstatus);
portstatus       1270 drivers/staging/wlan-ng/prism2sta.c 			    (portstatus == HFA384x_PSTATUS_CONN_IBSS) ?
portstatus        115 drivers/usb/core/hub.c 		u16 portstatus);
portstatus        117 drivers/usb/core/hub.c static inline char *portspeed(struct usb_hub *hub, int portstatus)
portstatus        123 drivers/usb/core/hub.c 	if (portstatus & USB_PORT_STAT_HIGH_SPEED)
portstatus        125 drivers/usb/core/hub.c 	else if (portstatus & USB_PORT_STAT_LOW_SPEED)
portstatus       1115 drivers/usb/core/hub.c 		u16 portstatus, portchange;
portstatus       1117 drivers/usb/core/hub.c 		portstatus = portchange = 0;
portstatus       1118 drivers/usb/core/hub.c 		status = hub_port_status(hub, port1, &portstatus, &portchange);
portstatus       1122 drivers/usb/core/hub.c 		if (udev || (portstatus & USB_PORT_STAT_CONNECTION))
portstatus       1124 drivers/usb/core/hub.c 					portstatus, portchange);
portstatus       1132 drivers/usb/core/hub.c 		if ((portstatus & USB_PORT_STAT_ENABLE) && (
portstatus       1134 drivers/usb/core/hub.c 				!(portstatus & USB_PORT_STAT_CONNECTION) ||
portstatus       1143 drivers/usb/core/hub.c 			portstatus &= ~USB_PORT_STAT_ENABLE;
portstatus       1151 drivers/usb/core/hub.c 		    hub_port_warm_reset_required(hub, port1, portstatus))
portstatus       1160 drivers/usb/core/hub.c 		    ((portstatus & USB_PORT_STAT_LINK_STATE) ==
portstatus       1189 drivers/usb/core/hub.c 		if (!(portstatus & USB_PORT_STAT_CONNECTION) ||
portstatus       1200 drivers/usb/core/hub.c 			if (udev || (portstatus & USB_PORT_STAT_CONNECTION) ||
portstatus       1202 drivers/usb/core/hub.c 			    (portstatus & USB_PORT_STAT_OVERCURRENT) ||
portstatus       1206 drivers/usb/core/hub.c 		} else if (portstatus & USB_PORT_STAT_ENABLE) {
portstatus       1207 drivers/usb/core/hub.c 			bool port_resumed = (portstatus &
portstatus       2742 drivers/usb/core/hub.c 		u16 portstatus)
portstatus       2752 drivers/usb/core/hub.c 	link_state = portstatus & USB_PORT_STAT_LINK_STATE;
portstatus       2761 drivers/usb/core/hub.c 	u16 portstatus;
portstatus       2775 drivers/usb/core/hub.c 						  &portstatus, &portchange,
portstatus       2778 drivers/usb/core/hub.c 			ret = hub_port_status(hub, port1, &portstatus,
portstatus       2790 drivers/usb/core/hub.c 		if (!(portstatus & USB_PORT_STAT_RESET) &&
portstatus       2791 drivers/usb/core/hub.c 		    (portstatus & USB_PORT_STAT_CONNECTION))
portstatus       2803 drivers/usb/core/hub.c 	if ((portstatus & USB_PORT_STAT_RESET))
portstatus       2806 drivers/usb/core/hub.c 	if (hub_port_warm_reset_required(hub, port1, portstatus))
portstatus       2810 drivers/usb/core/hub.c 	if (!(portstatus & USB_PORT_STAT_CONNECTION))
portstatus       2824 drivers/usb/core/hub.c 	if (!(portstatus & USB_PORT_STAT_ENABLE))
portstatus       2846 drivers/usb/core/hub.c 	else if (portstatus & USB_PORT_STAT_HIGH_SPEED)
portstatus       2848 drivers/usb/core/hub.c 	else if (portstatus & USB_PORT_STAT_LOW_SPEED)
portstatus       2860 drivers/usb/core/hub.c 	u16 portchange, portstatus;
portstatus       2879 drivers/usb/core/hub.c 		if (hub_port_status(hub, port1, &portstatus, &portchange) == 0)
portstatus       2881 drivers/usb/core/hub.c 							portstatus))
portstatus       2928 drivers/usb/core/hub.c 					&portstatus, &portchange) < 0)
portstatus       2932 drivers/usb/core/hub.c 					portstatus))
portstatus       2993 drivers/usb/core/hub.c static int port_is_power_on(struct usb_hub *hub, unsigned portstatus)
portstatus       2998 drivers/usb/core/hub.c 		if (portstatus & USB_SS_PORT_STAT_POWER)
portstatus       3001 drivers/usb/core/hub.c 		if (portstatus & USB_PORT_STAT_POWER)
portstatus       3025 drivers/usb/core/hub.c static int port_is_suspended(struct usb_hub *hub, unsigned portstatus)
portstatus       3030 drivers/usb/core/hub.c 		if ((portstatus & USB_PORT_STAT_LINK_STATE)
portstatus       3034 drivers/usb/core/hub.c 		if (portstatus & USB_PORT_STAT_SUSPEND)
portstatus       3046 drivers/usb/core/hub.c 		int status, u16 portchange, u16 portstatus)
portstatus       3054 drivers/usb/core/hub.c 		&& hub_port_warm_reset_required(hub, port1, portstatus)) {
portstatus       3058 drivers/usb/core/hub.c 	else if (status || port_is_suspended(hub, portstatus) ||
portstatus       3059 drivers/usb/core/hub.c 			!port_is_power_on(hub, portstatus)) {
portstatus       3062 drivers/usb/core/hub.c 	} else if (!(portstatus & USB_PORT_STAT_CONNECTION)) {
portstatus       3065 drivers/usb/core/hub.c 			status = hub_port_status(hub, port1, &portstatus,
portstatus       3075 drivers/usb/core/hub.c 	else if (!(portstatus & USB_PORT_STAT_ENABLE) && !udev->reset_resume) {
portstatus       3084 drivers/usb/core/hub.c 				portchange, portstatus, status);
portstatus       3478 drivers/usb/core/hub.c 		u16 *portchange, u16 *portstatus)
portstatus       3483 drivers/usb/core/hub.c 		if (status || *portstatus & USB_PORT_STAT_CONNECTION)
portstatus       3485 drivers/usb/core/hub.c 		if (!port_is_power_on(hub, *portstatus)) {
portstatus       3491 drivers/usb/core/hub.c 		status = hub_port_status(hub, *port1, portstatus, portchange);
portstatus       3537 drivers/usb/core/hub.c 	u16		portchange, portstatus;
portstatus       3551 drivers/usb/core/hub.c 	status = hub_port_status(hub, port1, &portstatus, &portchange);
portstatus       3552 drivers/usb/core/hub.c 	if (status == 0 && !port_is_suspended(hub, portstatus)) {
portstatus       3576 drivers/usb/core/hub.c 		status = hub_port_status(hub, port1, &portstatus, &portchange);
portstatus       3598 drivers/usb/core/hub.c 				&portstatus);
portstatus       3601 drivers/usb/core/hub.c 			hub, port1, status, portchange, portstatus);
portstatus       3639 drivers/usb/core/hub.c 		u16 portstatus, u16 portchange)
portstatus       3656 drivers/usb/core/hub.c 		link_state = portstatus & USB_PORT_STAT_LINK_STATE;
portstatus       3686 drivers/usb/core/hub.c 		u16 portstatus, portchange;
portstatus       3689 drivers/usb/core/hub.c 		status = hub_port_status(hub, port1, &portstatus, &portchange);
portstatus       4335 drivers/usb/core/hub.c 		u16 portstatus, u16 portchange)
portstatus       4402 drivers/usb/core/hub.c 	u16 portchange, portstatus;
portstatus       4408 drivers/usb/core/hub.c 		ret = hub_port_status(hub, port1, &portstatus, &portchange);
portstatus       4413 drivers/usb/core/hub.c 		     (portstatus & USB_PORT_STAT_CONNECTION) == connection) {
portstatus       4421 drivers/usb/core/hub.c 			connection = portstatus & USB_PORT_STAT_CONNECTION;
portstatus       4435 drivers/usb/core/hub.c 			total_time, stable_time, portstatus);
portstatus       4439 drivers/usb/core/hub.c 	return portstatus;
portstatus       4957 drivers/usb/core/hub.c static void hub_port_connect(struct usb_hub *hub, int port1, u16 portstatus,
portstatus       4979 drivers/usb/core/hub.c 	if (!(portstatus & USB_PORT_STAT_CONNECTION) ||
portstatus       4991 drivers/usb/core/hub.c 			portstatus &= ~USB_PORT_STAT_CONNECTION;
portstatus       4994 drivers/usb/core/hub.c 			portstatus = status;
portstatus       5001 drivers/usb/core/hub.c 	if (!(portstatus & USB_PORT_STAT_CONNECTION) ||
portstatus       5009 drivers/usb/core/hub.c 				&& !port_is_power_on(hub, portstatus)
portstatus       5013 drivers/usb/core/hub.c 		if (portstatus & USB_PORT_STAT_ENABLE)
portstatus       5189 drivers/usb/core/hub.c 					u16 portstatus, u16 portchange)
portstatus       5196 drivers/usb/core/hub.c 	dev_dbg(&port_dev->dev, "status %04x, change %04x, %s\n", portstatus,
portstatus       5197 drivers/usb/core/hub.c 			portchange, portspeed(hub, portstatus));
portstatus       5212 drivers/usb/core/hub.c 	if ((portstatus & USB_PORT_STAT_CONNECTION) && udev &&
portstatus       5214 drivers/usb/core/hub.c 		if (portstatus & USB_PORT_STAT_ENABLE) {
portstatus       5237 drivers/usb/core/hub.c 	hub_port_connect(hub, port1, portstatus, portchange);
portstatus       5285 drivers/usb/core/hub.c 	u16 portstatus, portchange;
portstatus       5291 drivers/usb/core/hub.c 	if (hub_port_status(hub, port1, &portstatus, &portchange) < 0)
portstatus       5302 drivers/usb/core/hub.c 					portstatus);
portstatus       5310 drivers/usb/core/hub.c 		if (!(portstatus & USB_PORT_STAT_ENABLE)
portstatus       5358 drivers/usb/core/hub.c 	if (hub_handle_remote_wakeup(hub, port1, portstatus, portchange))
portstatus       5365 drivers/usb/core/hub.c 	if (hub_port_warm_reset_required(hub, port1, portstatus)) {
portstatus       5367 drivers/usb/core/hub.c 		if (!udev || !(portstatus & USB_PORT_STAT_CONNECTION)
portstatus       5383 drivers/usb/core/hub.c 		hub_port_connect_change(hub, port1, portstatus, portchange);
portstatus       1159 drivers/usb/host/ohci-hcd.c 					&ohci->regs->roothub.portstatus[port]);
portstatus        100 drivers/usb/host/ohci-hub.c 		__hc32 __iomem	*portstat = ohci->regs->roothub.portstatus;
portstatus        587 drivers/usb/host/ohci-hub.c 	status = ohci_readl(ohci, &ohci->regs->roothub.portstatus [port]);
portstatus        592 drivers/usb/host/ohci-hub.c 	ohci_writel(ohci, RH_PS_PRS, &ohci->regs->roothub.portstatus [port]);
portstatus        619 drivers/usb/host/ohci-hub.c 	__hc32 __iomem *portstat = &ohci->regs->roothub.portstatus [port];
portstatus        735 drivers/usb/host/ohci-hub.c 				&ohci->regs->roothub.portstatus [wIndex]);
portstatus        778 drivers/usb/host/ohci-hub.c 				&ohci->regs->roothub.portstatus [wIndex]);
portstatus        782 drivers/usb/host/ohci-hub.c 				&ohci->regs->roothub.portstatus [wIndex]);
portstatus        184 drivers/usb/host/ohci-omap.c 	writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]);
portstatus        241 drivers/usb/host/ohci.h 		__hc32	portstatus [MAX_ROOT_PORTS];
portstatus        725 drivers/usb/host/ohci.h 	{ return read_roothub (hc, portstatus [i], 0xffe0fce0); }
portstatus        460 drivers/usb/host/u132-hcd.c 			retval = u132_read_pcimem(u132, roothub.portstatus[i],
portstatus       1647 drivers/usb/host/u132-hcd.c 				roothub.portstatus[temp], RH_PS_LSDA);
portstatus       2619 drivers/usb/host/u132-hcd.c 			roothub.portstatus[port], &rh_portstatus);
portstatus       2650 drivers/usb/host/u132-hcd.c 				roothub.portstatus[port_index], &portstat);
portstatus       2663 drivers/usb/host/u132-hcd.c 					roothub.portstatus[port_index],
portstatus       2671 drivers/usb/host/u132-hcd.c 		retval = u132_write_pcimem(u132, roothub.portstatus[port_index],
portstatus       2696 drivers/usb/host/u132-hcd.c 			       roothub.portstatus[port_index], RH_PS_PSS);
portstatus       2699 drivers/usb/host/u132-hcd.c 			       roothub.portstatus[port_index], RH_PS_PPS);
portstatus       2751 drivers/usb/host/u132-hcd.c 		return u132_write_pcimem(u132, roothub.portstatus[port_index],
portstatus        825 drivers/usb/host/uhci-hcd.c 		unsigned int portstatus;
portstatus        827 drivers/usb/host/uhci-hcd.c 		portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2));
portstatus        828 drivers/usb/host/uhci-hcd.c 		if (!(portstatus & 0x0080) || portstatus == 0xffff)
portstatus       2258 drivers/usb/misc/ftdi-elan.c 						   roothub.portstatus[temp], RH_PS_LSDA);
portstatus       2382 drivers/usb/misc/ftdi-elan.c 		u32 portstatus;
portstatus       2383 drivers/usb/misc/ftdi-elan.c 		retval = ftdi_read_pcimem(ftdi, roothub.portstatus[temp],
portstatus       2384 drivers/usb/misc/ftdi-elan.c 					  &portstatus);
portstatus       2387 drivers/usb/misc/ftdi-elan.c 		if (1 & portstatus)