Home
last modified time | relevance | path

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

12

/openbmc/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 | \
/openbmc/u-boot/include/
H A Dusb_defs.h250 #define USB_PORT_STAT_CONNECTION 0x0001 macro
271 #define USB_SS_PORT_STAT_MASK (USB_PORT_STAT_CONNECTION | \
/openbmc/u-boot/common/
H A Dusb_hub.c303 (portstatus & USB_PORT_STAT_CONNECTION) ? 1 : 0, in usb_hub_port_reset()
365 if (((!(portstatus & USB_PORT_STAT_CONNECTION)) && in usb_hub_port_connect_change()
370 if (!(portstatus & USB_PORT_STAT_CONNECTION)) in usb_hub_port_connect_change()
477 !(portstatus & USB_PORT_STAT_CONNECTION)) { in usb_scan_port()
519 (portstatus & USB_PORT_STAT_CONNECTION) && in usb_scan_port()
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c177 set |= USB_PORT_STAT_CONNECTION | in clrset_post_state()
189 clear |= USB_PORT_STAT_CONNECTION; in clrset_post_state()
/openbmc/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c381 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
384 USB_PORT_STAT_CONNECTION) != 0) in set_link_state_by_speed()
389 dum_hcd->port_status |= (USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
392 USB_PORT_STAT_CONNECTION) == 0) in set_link_state_by_speed()
406 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
412 USB_PORT_STAT_CONNECTION) != 0) in set_link_state_by_speed()
416 dum_hcd->port_status |= USB_PORT_STAT_CONNECTION; in set_link_state_by_speed()
418 USB_PORT_STAT_CONNECTION) == 0) in set_link_state_by_speed()
862 if ((dum_hcd->port_status & USB_PORT_STAT_CONNECTION) == 0) in dummy_wakeup()
1571 (USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE | \
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c147 rh_status.wPortStatus &= ~(USB_PORT_STAT_CONNECTION | USB_PORT_STAT_ENABLE); in sl811_hc_reset()
170 rh_status.wPortStatus |= USB_PORT_STAT_CONNECTION; in sl811_hc_reset()
185 rh_status.wPortStatus |= USB_PORT_STAT_CONNECTION | USB_PORT_STAT_LOW_SPEED; in sl811_hc_reset()
H A Dr8a66597-hcd.c572 r8a66597->port_status = USB_PORT_STAT_CONNECTION | in check_usb_device_connecting()
H A Ddwc2.c549 port_status |= USB_PORT_STAT_CONNECTION; in dwc_otg_submit_rh_msg_in_status()
H A Dxhci.c979 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in xhci_submit_root()
/openbmc/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.c723 sl811->port1 &= ~USB_PORT_STAT_CONNECTION; in sl811h_irq()
725 sl811->port1 |= USB_PORT_STAT_CONNECTION; in sl811h_irq()
1130 const u32 mask = USB_PORT_STAT_CONNECTION in sl811h_timer()
1166 if (sl811->port1 & USB_PORT_STAT_CONNECTION) in sl811h_timer()
1178 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.c869 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
891 pls |= USB_PORT_STAT_CONNECTION; in xhci_hub_report_usb3_link_state()
1174 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()
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c545 USB_PORT_STAT_CONNECTION, true); in ast_vhub_device_connect()
548 USB_PORT_STAT_CONNECTION | in ast_vhub_device_connect()
681 if (p->status & USB_PORT_STAT_CONNECTION) { in ast_vhub_set_port_feature()
888 p->status &= USB_PORT_STAT_CONNECTION; in ast_vhub_hub_reset()
/openbmc/linux/drivers/usb/usbip/
H A Dvhci_hcd.c167 status |= USB_PORT_STAT_CONNECTION | (1 << USB_PORT_FEAT_C_CONNECTION); in rh_port_connect()
201 status &= ~USB_PORT_STAT_CONNECTION; in rh_port_disconnect()
585 USB_PORT_STAT_CONNECTION | in vhci_hub_control()
1442 USB_PORT_STAT_CONNECTION) in vhci_hcd_suspend()
1446 USB_PORT_STAT_CONNECTION) in vhci_hcd_suspend()
/openbmc/linux/drivers/usb/core/
H A Dhub.c1156 if (udev || (portstatus & USB_PORT_STAT_CONNECTION)) in hub_activate()
1168 !(portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate()
1223 if (!(portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate()
1234 if (udev || (portstatus & USB_PORT_STAT_CONNECTION) || in hub_activate()
2922 (portstatus & USB_PORT_STAT_CONNECTION)) in hub_port_wait_reset()
2941 if (!(portstatus & USB_PORT_STAT_CONNECTION)) in hub_port_wait_reset()
3238 } else if (!(portstatus & USB_PORT_STAT_CONNECTION)) { in check_port_resume_type()
3680 if (status || *portstatus & USB_PORT_STAT_CONNECTION) in wait_for_connected()
4642 (portstatus & USB_PORT_STAT_CONNECTION) == connection) { in hub_port_debounce()
4644 (connection == USB_PORT_STAT_CONNECTION)) in hub_port_debounce()
[all …]
/openbmc/linux/drivers/usb/c67x00/
H A Dc67x00-hcd.c96 wPortStatus |= USB_PORT_STAT_CONNECTION; in c67x00_hub_control()
/openbmc/linux/drivers/usb/misc/
H A Dlvstest.c364 USB_PORT_STAT_CONNECTION) { in lvs_rh_work()
/openbmc/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()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c521 port_status |= USB_PORT_STAT_CONNECTION in musb_submit_rh_msg()
/openbmc/linux/drivers/usb/musb/
H A Dtusb6010.c710 ~(USB_PORT_STAT_CONNECTION in tusb_otg_ints()

12