Home
last modified time | relevance | path

Searched refs:USB_PORT_STAT_CONNECTION (Results 1 – 22 of 22) sorted by relevance

/linux/include/uapi/linux/usb/
H A Dch11.h123 #define USB_PORT_STAT_CONNECTION 0x0001 macro
147 #define USB_SS_PORT_STAT_MASK (USB_PORT_STAT_CONNECTION | \
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c382 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
385 USB_PORT_STAT_CONNECTION) != 0) in set_link_state_by_speed()
390 dum_hcd->port_status |= (USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
393 USB_PORT_STAT_CONNECTION) == 0) in set_link_state_by_speed()
407 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
413 USB_PORT_STAT_CONNECTION) != 0) in set_link_state_by_speed()
417 dum_hcd->port_status |= USB_PORT_STAT_CONNECTION; in set_link_state_by_speed()
419 USB_PORT_STAT_CONNECTION) == 0) in set_link_state_by_speed()
868 if ((dum_hcd->port_status & USB_PORT_STAT_CONNECTION) == 0) in dummy_wakeup()
1582 (USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE | \
[all …]
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c546 USB_PORT_STAT_CONNECTION, true); in ast_vhub_device_connect()
549 USB_PORT_STAT_CONNECTION | in ast_vhub_device_connect()
682 if (p->status & USB_PORT_STAT_CONNECTION) { in ast_vhub_set_port_feature()
889 p->status &= USB_PORT_STAT_CONNECTION; in ast_vhub_hub_reset()
/linux/drivers/usb/host/
H A Dfhci-sched.c404 (usb->vroot_hub->port.wPortStatus & USB_PORT_STAT_CONNECTION) && in sof_interrupt()
440 usb->vroot_hub->port.wPortStatus &= ~USB_PORT_STAT_CONNECTION; in fhci_device_disconnected_interrupt()
474 USB_PORT_STAT_CONNECTION); in fhci_device_connected_interrupt()
493 USB_PORT_STAT_CONNECTION; in fhci_device_connected_interrupt()
H A Dsl811-hcd.c724 sl811->port1 &= ~USB_PORT_STAT_CONNECTION; in sl811h_irq()
726 sl811->port1 |= USB_PORT_STAT_CONNECTION; in sl811h_irq()
1131 const u32 mask = USB_PORT_STAT_CONNECTION in sl811h_timer()
1167 if (sl811->port1 & USB_PORT_STAT_CONNECTION) in sl811h_timer()
1179 if (sl811->port1 & USB_PORT_STAT_CONNECTION) { in sl811h_timer()
H A Dxen-hcd.c157 ~(USB_PORT_STAT_CONNECTION | in xenhcd_set_connect_state()
164 info->ports[port].status |= USB_PORT_STAT_CONNECTION; in xenhcd_set_connect_state()
168 info->ports[port].status |= USB_PORT_STAT_CONNECTION; in xenhcd_set_connect_state()
171 info->ports[port].status |= USB_PORT_STAT_CONNECTION; in xenhcd_set_connect_state()
H A Duhci-hub.c296 wPortStatus |= USB_PORT_STAT_CONNECTION; in uhci_hub_control()
H A Dxhci-hub.c880 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
902 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
1182 status |= USB_PORT_STAT_CONNECTION; in xhci_get_port_status()
H A Dmax3421-hcd.c1120 max3421_hcd->port_status |= USB_PORT_STAT_CONNECTION; in max3421_detect_conn()
1122 max3421_hcd->port_status &= ~USB_PORT_STAT_CONNECTION; in max3421_detect_conn()
H A Dr8a66597-hcd.c1001 rh->port |= USB_PORT_STAT_CONNECTION; in start_root_hub_sampling()
1003 rh->port &= ~USB_PORT_STAT_CONNECTION; in start_root_hub_sampling()
1700 if (!(rh->port & USB_PORT_STAT_CONNECTION)) { in r8a66597_root_hub_control()
H A Dehci-hub.c985 status |= USB_PORT_STAT_CONNECTION; in ehci_hub_control()
H A Doxu210hp-hcd.c3726 status |= USB_PORT_STAT_CONNECTION; in oxu_hub_control()
/linux/drivers/usb/usbip/
H A Dvhci_hcd.c168 status |= USB_PORT_STAT_CONNECTION | (1 << USB_PORT_FEAT_C_CONNECTION); in rh_port_connect()
202 status &= ~USB_PORT_STAT_CONNECTION; in rh_port_disconnect()
588 USB_PORT_STAT_CONNECTION | in vhci_hub_control()
1464 USB_PORT_STAT_CONNECTION) in vhci_hcd_suspend()
1468 USB_PORT_STAT_CONNECTION) in vhci_hcd_suspend()
/linux/drivers/usb/core/
H A Dhub.c660 connect = *status & USB_PORT_STAT_CONNECTION; in hub_ext_port_status()
1189 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate()
1201 !(portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate()
1256 if (!(portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate()
1267 if (udev || (portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate()
2987 (portstatus & USB_PORT_STAT_CONNECTION)) in hub_port_wait_reset()
3006 if (!(portstatus & USB_PORT_STAT_CONNECTION)) in hub_port_wait_reset()
3303 } else if (!(portstatus & USB_PORT_STAT_CONNECTION)) { in check_port_resume_type()
3745 if (status || *portstatus & USB_PORT_STAT_CONNECTION) in wait_for_connected()
4710 (portstatus & USB_PORT_STAT_CONNECTION) == connection) { in hub_port_debounce()
[all …]
/linux/drivers/usb/c67x00/
H A Dc67x00-hcd.c96 wPortStatus |= USB_PORT_STAT_CONNECTION; in c67x00_hub_control()
/linux/drivers/usb/misc/
H A Dlvstest.c364 USB_PORT_STAT_CONNECTION) { in lvs_rh_work()
/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c1318 usbhsh_port_stat_set(hpriv, USB_PORT_STAT_CONNECTION); in usbhsh_irq_attch()
1346 usbhsh_port_stat_clear(hpriv, USB_PORT_STAT_CONNECTION); in usbhsh_irq_dtch()
/linux/drivers/usb/musb/
H A Dtusb6010.c710 ~(USB_PORT_STAT_CONNECTION in tusb_otg_ints()
H A Dmusb_core.c901 musb->port1_status |= USB_PORT_STAT_CONNECTION in musb_handle_intr_connect()
/linux/drivers/usb/dwc2/
H A Dhcd.c3563 port_status |= USB_PORT_STAT_CONNECTION; in dwc2_hcd_hub_control()
3592 (USB_PORT_STAT_CONNECTION | in dwc2_hcd_hub_control()
3595 USB_PORT_STAT_CONNECTION)) { in dwc2_hcd_hub_control()
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c2360 status |= USB_PORT_STAT_CONNECTION; in isp1760_hub_control()
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c1651 status |= USB_PORT_STAT_CONNECTION; in fotg210_hub_control()