Lines Matching refs:portchange

1144 		u16 portstatus, portchange;  in hub_activate()  local
1146 portstatus = portchange = 0; in hub_activate()
1147 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in hub_activate()
1153 portstatus, portchange); in hub_activate()
1194 if (portchange & USB_PORT_STAT_C_CONNECTION) { in hub_activate()
1199 if (portchange & USB_PORT_STAT_C_ENABLE) { in hub_activate()
1204 if (portchange & USB_PORT_STAT_C_RESET) { in hub_activate()
1209 if ((portchange & USB_PORT_STAT_C_BH_RESET) && in hub_activate()
1219 (portchange & USB_PORT_STAT_C_CONNECTION)) in hub_activate()
1230 (portchange & USB_PORT_STAT_C_CONNECTION) || in hub_activate()
1232 (portchange & USB_PORT_STAT_C_OVERCURRENT)) in hub_activate()
1247 if (portchange || (hub_is_superspeed(hub->hdev) && in hub_activate()
2865 u16 portchange; in hub_port_wait_reset() local
2878 &portstatus, &portchange, in hub_port_wait_reset()
2882 &portchange); in hub_port_wait_reset()
2921 (portchange & USB_PORT_STAT_C_CONNECTION)) { in hub_port_wait_reset()
2961 u16 portchange, portstatus; in hub_port_reset() local
2981 &portchange) == 0) in hub_port_reset()
3034 &portstatus, &portchange) < 0) in hub_port_reset()
3194 int status, u16 portchange, u16 portstatus) in check_port_resume_type() argument
3214 &portchange); in check_port_resume_type()
3232 portchange, portstatus, status); in check_port_resume_type()
3236 if (portchange & USB_PORT_STAT_C_CONNECTION) in check_port_resume_type()
3239 if (portchange & USB_PORT_STAT_C_ENABLE) in check_port_resume_type()
3473 u16 portstatus, portchange; in usb_port_suspend() local
3475 portstatus = portchange = 0; in usb_port_suspend()
3477 &portchange); in usb_port_suspend()
3647 u16 *portchange, u16 *portstatus) in wait_for_connected() argument
3660 status = usb_hub_port_status(hub, port1, portstatus, portchange); in wait_for_connected()
3706 u16 portchange, portstatus; in usb_port_resume() local
3720 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in usb_port_resume()
3722 if (portchange & USB_PORT_STAT_C_SUSPEND) in usb_port_resume()
3745 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in usb_port_resume()
3752 if (portchange & USB_PORT_STAT_C_LINK_STATE) in usb_port_resume()
3756 if (portchange & USB_PORT_STAT_C_SUSPEND) in usb_port_resume()
3766 status = wait_for_connected(udev, hub, port1, &portchange, in usb_port_resume()
3770 hub, port1, status, portchange, portstatus); in usb_port_resume()
3808 u16 portstatus, u16 portchange) in hub_handle_remote_wakeup() argument
3821 if (!(portchange & USB_PORT_STAT_C_SUSPEND)) in hub_handle_remote_wakeup()
3855 u16 portstatus, portchange; in check_ports_changed() local
3858 status = usb_hub_port_status(hub, port1, &portstatus, &portchange); in check_ports_changed()
3859 if (!status && portchange) in check_ports_changed()
4531 u16 portstatus, u16 portchange) in hub_handle_remote_wakeup() argument
4603 u16 portchange, portstatus; in hub_port_debounce() local
4609 ret = usb_hub_port_status(hub, port1, &portstatus, &portchange); in hub_port_debounce()
4613 if (!(portchange & USB_PORT_STAT_C_CONNECTION) && in hub_port_debounce()
4625 if (portchange & USB_PORT_STAT_C_CONNECTION) { in hub_port_debounce()
5292 u16 portchange) in hub_port_connect() argument
5315 (portchange & USB_PORT_STAT_C_CONNECTION)) in hub_port_connect()
5318 if (portchange & (USB_PORT_STAT_C_CONNECTION | in hub_port_connect()
5539 u16 portstatus, u16 portchange) in hub_port_connect_change() argument
5548 portchange, portspeed(hub, portstatus)); in hub_port_connect_change()
5558 portchange &= ~(USB_PORT_STAT_C_CONNECTION | in hub_port_connect_change()
5608 hub_port_connect(hub, port1, portstatus, portchange); in hub_port_connect_change()
5654 u16 portstatus, portchange; in port_event() local
5661 if (usb_hub_port_status(hub, port1, &portstatus, &portchange) < 0) in port_event()
5664 if (portchange & USB_PORT_STAT_C_CONNECTION) { in port_event()
5669 if (portchange & USB_PORT_STAT_C_ENABLE) { in port_event()
5687 if (portchange & USB_PORT_STAT_C_OVERCURRENT) { in port_event()
5703 if (portchange & USB_PORT_STAT_C_RESET) { in port_event()
5707 if ((portchange & USB_PORT_STAT_C_BH_RESET) in port_event()
5713 if (portchange & USB_PORT_STAT_C_LINK_STATE) { in port_event()
5718 if (portchange & USB_PORT_STAT_C_CONFIG_ERROR) { in port_event()
5732 if (hub_handle_remote_wakeup(hub, port1, portstatus, portchange)) in port_event()
5768 hub_port_connect_change(hub, port1, portstatus, portchange); in port_event()