Home
last modified time | relevance | path

Searched refs:hub (Results 1 – 25 of 91) sorted by relevance

1234

/external/u-boot/common/
Dusb_hub.c50 struct usb_hub_device *hub; /* USB hub struct */ member
57 __weak void usb_hub_reset_devices(struct usb_hub_device *hub, int port) in usb_hub_reset_devices() argument
68 bool usb_hub_is_root_hub(struct udevice *hub) in usb_hub_is_root_hub() argument
70 if (device_get_uclass_id(hub->parent) != UCLASS_USB_HUB) in usb_hub_is_root_hub()
159 static void usb_hub_power_on(struct usb_hub_device *hub) in usb_hub_power_on() argument
163 unsigned pgood_delay = hub->desc.bPwrOn2PwrGood * 2; in usb_hub_power_on()
166 dev = hub->pusb_dev; in usb_hub_power_on()
199 hub->query_delay = get_timer(0) + max(100, (int)pgood_delay); in usb_hub_power_on()
206 hub->connect_timeout = hub->query_delay + 1000; in usb_hub_power_on()
436 struct usb_hub_device *hub; in usb_scan_port() local
[all …]
/external/syzkaller/syz-hub/
Dhub.go50 hub := &Hub{
55 hub.keys[mgr.Name] = mgr.Key
58 hub.initHTTP(cfg.HTTP)
60 s, err := rpctype.NewRPCServer(cfg.RPC, hub)
68 func (hub *Hub) Connect(a *rpctype.HubConnectArgs, r *int) error {
69 name, err := hub.auth(a.Client, a.Key, a.Manager)
73 hub.mu.Lock()
74 defer hub.mu.Unlock()
78 if err := hub.st.Connect(name, a.Fresh, a.Calls, a.Corpus); err != nil {
85 func (hub *Hub) Sync(a *rpctype.HubSyncArgs, r *rpctype.HubSyncRes) error {
[all …]
Dhttp.go17 func (hub *Hub) initHTTP(addr string) {
18 http.HandleFunc("/", hub.httpSummary)
31 func (hub *Hub) httpSummary(w http.ResponseWriter, r *http.Request) {
32 hub.mu.Lock()
33 defer hub.mu.Unlock()
40 Corpus: len(hub.st.Corpus.Records),
41 Repros: len(hub.st.Repros.Records),
43 for name, mgr := range hub.st.Managers {
98 <title>syz-hub</title>
102 <b>syz-hub</b>
Dhub_test.go12 hub := &Hub{
91 manager, err := hub.auth(test.client, test.key, test.manager)
/external/syzkaller/docs/
Dhub.md3 `syz-hub` program can be used to connect several `syz-manager`'s together and
6 Build `syz-hub` with `make hub`. Then create a config file along the lines of:
21 And start it with `bin/syz-hub -config hub.cfg`. Then add the following
31 And start managers. Once they triage local corpus, they will connect to the hub
32 and start exchanging inputs. Both hub and manager web pages will show how many
33 inputs they send/receive from the hub.
/external/syzkaller/syz-manager/
Dhub.go53 var hub *rpctype.RPCClient
58 if hub == nil {
60 if hub, err = hc.connect(corpus); err != nil {
66 if err := hc.sync(hub, corpus); err != nil {
68 hub.Close()
69 hub = nil
94 hub, err := rpctype.NewRPCClient(hc.cfg.HubAddr)
100 return hub, nil
103 func (hc *HubConnector) sync(hub *rpctype.RPCClient, corpus [][]byte) error {
134 if err := hub.Call("Hub.Sync", a, r); err != nil {
[all …]
Dmanager.go115 hub bool // this crash was created based on a repro from hub member
301 hub bool // repro came from hub member
366 reproDone <- &ReproResult{vmIndexes, crash.Title, res, stats, err, crash.hub}
424 if !res.hub {
428 mgr.saveRepro(res.res, res.stats, res.hub)
575 hub: false,
695 if crash.hub {
736 func (mgr *Manager) saveRepro(res *repro.Result, stats *repro.Stats, hub bool) {
745 if !hub {
/external/u-boot/doc/driver-model/
Dusb-info.txt85 this structure, even the root hub. The controller itself does not
117 root hub attached to it. This hub, which is itself a USB device, can provide
119 possible to power up a hub and find out which of its ports have devices
122 Devices are given addresses starting at 1. The root hub is always address 1,
126 USB devices are enumerated by finding a device on a particular hub, and
140 newer (XHCI). If you connect a super-speed device to a high-speed hub, you
173 are attached to a parent hub (or controller in the case of the root hub) and
200 (only) device that is attached to the controller - a root hub
244 Note that the first device is always a root hub, and this must be scanned to
245 find any devices. The above steps will have created a hub (UCLASS_USB_HUB),
[all …]
/external/syzkaller/docs/linux/
Dsetup_ubuntu-host_odroid-c2-board_arm64-kernel.md23 7. USB hub with [Per Port Power Switching support](http://www.gniibe.org/development/ac-power-contr…
87 ### Setup USB hub
89 To perform a hard reset of the Odroid board (by turning off power) I used a D-Link DUB H7 USB hub (…
90hub has support for a feature called [Per Port Power Switching](http://www.gniibe.org/development/…
92 [To be able to open the hub device entry](http://www.janosgyerik.com/adding-udev-rules-for-usb-debu…
98 `idVendor` and `idProduct` should correspond to the hub vendor and product id (can be seen via `lsu…
99 Don't forget to replug the hub after you add this file.
104 Bus 003 Device 026: ID 2001:f103 D-Link Corp. DUB-H7 7-port USB 2.0 hub
108 Communication with the hub is done by sending USB control messages, which requires `libusb`:
113 Now plug in the hub and try to switch power on some of it's ports.
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices.py331 def GetPhysicalPortToNodeMap(hub, hub_type): argument
340 port_device = hub_type.GetPhysicalPortToNodeTuples(hub)
344 def GetPhysicalPortToBusDeviceMap(hub, hub_type): argument
353 port_device = hub_type.GetPhysicalPortToNodeTuples(hub)
358 def GetPhysicalPortToSerialMap(hub, hub_type): argument
368 port_device = hub_type.GetPhysicalPortToNodeTuples(hub)
406 for (hub, hub_type) in GetHubsOnBus(bus, hub_types):
407 yield map_func(hub, hub_type)
/external/u-boot/drivers/usb/host/
Dxhci.c38 struct usb_hub_descriptor hub; member
954 srcptr = &descriptor.hub; in xhci_submit_root()
1214 descriptor.hub.bNbrPorts = ((reg & HCS_MAX_PORTS_MASK) >> in xhci_lowlevel_init()
1216 printf("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in xhci_lowlevel_init()
1221 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
1222 | 0x80, &descriptor.hub.wHubCharacteristics); in xhci_lowlevel_init()
1226 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
1227 | 0x01, &descriptor.hub.wHubCharacteristics); in xhci_lowlevel_init()
1352 struct udevice *hub; in xhci_submit_control_msg() local
1357 hub = udev->dev; in xhci_submit_control_msg()
[all …]
Dxhci-mem.c728 struct usb_hub_device *hub; in xhci_setup_addressable_virt_dev() local
746 hub = dev_get_uclass_priv(dev->dev); in xhci_setup_addressable_virt_dev()
757 route |= port_num << (hub->hub_depth * 4); in xhci_setup_addressable_virt_dev()
800 hub = dev_get_uclass_priv(dev->dev); in xhci_setup_addressable_virt_dev()
801 if (hub->tt.multi) in xhci_setup_addressable_virt_dev()
Dehci-hcd.c41 struct usb_hub_descriptor hub; member
742 srcptr = &descriptor.hub; in ehci_submit_root()
743 srclen = descriptor.hub.bLength; in ehci_submit_root()
1053 descriptor.hub.bNbrPorts = HCS_N_PORTS(reg); in ehci_common_init()
1054 debug("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in ehci_common_init()
1057 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init()
1058 | 0x80, &descriptor.hub.wHubCharacteristics); in ehci_common_init()
1061 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init()
1062 | 0x01, &descriptor.hub.wHubCharacteristics); in ehci_common_init()
/external/u-boot/arch/sandbox/dts/
Dsandbox.dts268 hub {
269 compatible = "sandbox,usb-hub";
281 hub {
282 compatible = "usb-hub";
284 hub-emul {
285 compatible = "sandbox,usb-hub";
Dsandbox64.dts268 hub {
269 compatible = "sandbox,usb-hub";
281 hub {
282 compatible = "usb-hub";
284 hub-emul {
285 compatible = "sandbox,usb-hub";
Dtest.dts437 hub {
438 compatible = "sandbox,usb-hub";
450 hub {
451 compatible = "usb-hub";
453 hub-emul {
454 compatible = "sandbox,usb-hub";
/external/u-boot/drivers/usb/emul/
Dsandbox_hub.c121 static struct udevice *hub_find_device(struct udevice *hub, int port, in hub_find_device() argument
128 for (device_find_first_child(hub, &dev); in hub_find_device()
160 static int clrset_post_state(struct udevice *hub, int port, int clear, int set) in clrset_post_state() argument
162 struct sandbox_hub_priv *priv = dev_get_priv(hub); in clrset_post_state()
169 struct udevice *dev = hub_find_device(hub, port, &speed); in clrset_post_state()
/external/u-boot/test/dm/
Dusb.c76 struct udevice *hub; in count_usb_devices() local
85 uclass_foreach_dev(hub, uc) { in count_usb_devices()
89 for (device_find_first_child(hub, &dev); in count_usb_devices()
/external/u-boot/cmd/
Dusb.c273 struct udevice *hub; in usb_find_device() local
283 uclass_foreach_dev(hub, uc) { in usb_find_device()
286 if (!device_active(hub)) in usb_find_device()
288 udev = dev_get_parent_priv(hub); in usb_find_device()
292 for (device_find_first_child(hub, &dev); in usb_find_device()
295 if (!device_active(hub)) in usb_find_device()
/external/tensorflow/tensorflow/tools/docker/
DREADME.md6 [TensorFlow's official Docker images](https://hub.docker.com/r/tensorflow/tensorflow)
35 [Docker Hub](https://hub.docker.com/r/tensorflow/tensorflow/tags/).
62 See all available [tags](https://hub.docker.com/r/tensorflow/tensorflow/tags/)
78 image of tensorflow at `tensorflow/tensorflow:[.](https://hub.docker.com/r/tensorflow/tensorflow/ta…
/external/syzkaller/vm/odroid/
Dodroid.go197 var hub *C.libusb_device
212 hub = deviceList[i]
216 if hub == nil {
221 if err := C.libusb_open(hub, &handle); err != 0 {
/external/walt/docs/
DDevelopment.md6 #### Using a USB hub and a USB Ethernet adapter
12 1. Connect a USB hub (preferably powered) to the phone using a [USB-C to USB-A-female adapter](http…
14 1. Use the hub to connect WALT, Ethernet adapter and whatever other USB peripherals you might want …
/external/u-boot/board/theobroma-systems/puma_rk3399/
Dpuma-rk3399.c267 void usb_hub_reset_devices(struct usb_hub_device *hub, int port) in usb_hub_reset_devices() argument
269 struct udevice *dev = hub->pusb_dev->dev; in usb_hub_reset_devices()
/external/u-boot/board/google/
DKconfig16 SDRAM. It has a Panther Point platform controller hub, PCIe
38 Lynx Point platform controller hub, PCIe WiFi and Bluetooth. It also
/external/libexif/
DAUTHORS4 Hubert Figuiere <hub@figuiere.net>

1234