Home
last modified time | relevance | path

Searched refs:usb_dev (Results 1 – 14 of 14) sorted by relevance

/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_usb_ohci.h57 struct usb_device *usb_dev; member
112 struct usb_device *usb_dev; member
382 static ed_t * ep_add_ed(struct usb_device * usb_dev, unsigned long pipe);
396 td_alloc (struct usb_device *usb_dev) in td_alloc() argument
403 if (ptd[i].usb_dev == NULL) { in td_alloc()
405 td->usb_dev = usb_dev; in td_alloc()
415 ed->usb_dev = NULL; in ed_free()
Dau1x00_usb_ohci.c135 td->usb_dev = NULL; in urb_free_priv()
453 static int sohci_get_current_frame_number (struct usb_device *usb_dev) in sohci_get_current_frame_number() argument
568 static ed_t * ep_add_ed (struct usb_device *usb_dev, unsigned long pipe) in ep_add_ed() argument
586 td = td_alloc (usb_dev); in ep_add_ed()
598 | (usb_dev->speed == USB_SPEED_LOW) << 13 in ep_add_ed()
599 | usb_maxpacket (usb_dev, pipe) << 16); in ep_add_ed()
/external/autotest/server/site_tests/firmware_InvalidUSB/
Dfirmware_InvalidUSB.py27 usb_dev = self.servo.probe_host_usb_dev()
28 self.restore_usb_kernel(usb_dev)
34 usb_dev = self.servo.probe_host_usb_dev()
35 self.assert_test_image_in_usb_disk(usb_dev)
36 self.corrupt_usb_kernel(usb_dev)
/external/u-boot/common/
Dusb.c46 static struct usb_device usb_dev[USB_MAX_DEVICE]; variable
70 memset(&usb_dev[i], 0, sizeof(struct usb_device)); in usb_init()
71 usb_dev[i].devnum = -1; in usb_init()
157 for (i = 0; i < usb_dev[j].maxchild; i++) { in usb_detect_change()
160 if (usb_get_port_status(&usb_dev[j], i + 1, in usb_detect_change()
859 if (usb_dev[index].devnum == -1) in usb_get_dev_index()
862 return &usb_dev[index]; in usb_get_dev_index()
874 usb_dev[dev_index].devnum = dev_index + 1; in usb_alloc_new_device()
875 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device()
877 usb_dev[dev_index].children[i] = NULL; in usb_alloc_new_device()
[all …]
/external/autotest/server/site_tests/firmware_SelfSignedBoot/
Dfirmware_SelfSignedBoot.py35 self.usb_dev = self.get_usbdisk_path_on_dut()
36 if not self.usb_dev:
52 '/usr/share/vboot/bin/make_dev_ssd.sh -i %s' % self.usb_dev)
58 % self.usb_dev)
/external/autotest/server/site_tests/firmware_FwScreenPressPower/
Dfirmware_FwScreenPressPower.py55 usb_dev = self.servo.probe_host_usb_dev()
58 self.corrupt_usb_kernel(usb_dev)
64 usb_dev = self.servo.probe_host_usb_dev()
66 self.restore_usb_kernel(usb_dev)
/external/autotest/server/site_tests/firmware_FwScreenCloseLid/
Dfirmware_FwScreenCloseLid.py53 usb_dev = self.servo.probe_host_usb_dev()
56 self.corrupt_usb_kernel(usb_dev)
63 usb_dev = self.servo.probe_host_usb_dev()
65 self.restore_usb_kernel(usb_dev)
/external/u-boot/test/dm/
Dblk.c71 struct udevice *usb_dev, *dev; in dm_test_blk_usb() local
77 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb()
82 ut_asserteq_ptr(usb_dev, dev_get_parent(dev)); in dm_test_blk_usb()
/external/autotest/server/cros/faft/
Dfirmware_test.py369 def assert_test_image_in_usb_disk(self, usb_dev=None): argument
378 if usb_dev:
382 usb_dev = self.servo.probe_host_usb_dev()
383 if not usb_dev:
387 rootfs = '%s%s' % (usb_dev, self._ROOTFS_PARTITION_NUMBER)
388 logging.info('usb dev is %s', usb_dev)
1117 def _modify_usb_kernel(self, usb_dev, from_magic, to_magic): argument
1131 kernel_part = self._join_part(usb_dev, self.KERNEL_MAP['a'])
1149 def corrupt_usb_kernel(self, usb_dev): argument
1154 self._modify_usb_kernel(usb_dev, self.CHROMEOS_MAGIC,
[all …]
/external/u-boot/drivers/usb/host/
Dsl811-hcd.c44 static int sl811_rh_submit_urb(struct usb_device *usb_dev, unsigned long pipe,
529 static int sl811_rh_submit_urb(struct usb_device *usb_dev, unsigned long pipe, in sl811_rh_submit_urb() argument
709 usb_dev->status = status; in sl811_rh_submit_urb()
710 usb_dev->act_len = len; in sl811_rh_submit_urb()
Dohci-hcd.c213 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev,
219 static struct td *td_alloc(ohci_dev_t *ohci_dev, struct usb_device *usb_dev) in td_alloc() argument
227 if (ohci_dev->tds[i].usb_dev == NULL) in td_alloc()
230 td->usb_dev = usb_dev; in td_alloc()
240 ed->usb_dev = NULL; in ed_free()
260 td->usb_dev = NULL; in urb_free_priv()
843 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, in ep_add_ed() argument
861 td = td_alloc(ohci_dev, usb_dev); in ep_add_ed()
874 | (usb_dev->speed == USB_SPEED_LOW) << 13 in ep_add_ed()
875 | usb_maxpacket(usb_dev, pipe) << 16); in ep_add_ed()
Dohci.h67 struct usb_device *usb_dev; member
123 struct usb_device *usb_dev; member
/external/u-boot/drivers/usb/eth/
Dasix88179.c869 struct usb_device *usb_dev; in ax88179_eth_probe() local
877 usb_dev = priv->ueth.pusb_dev; in ax88179_eth_probe()
878 priv->maxpacketsize = usb_dev->epmaxpacketout[AX_ENDPOINT_OUT]; in ax88179_eth_probe()
/external/u-boot/drivers/usb/gadget/
Dether.c2704 struct udevice *usb_dev; in usb_ether_init() local
2707 ret = uclass_first_device(UCLASS_USB_DEV_GENERIC, &usb_dev); in usb_ether_init()
2708 if (!usb_dev || ret) { in usb_ether_init()
2713 ret = device_bind_driver(usb_dev, "usb_ether", "usb_ether", &dev); in usb_ether_init()