Home
last modified time | relevance | path

Searched refs:ohci_dev (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/usb/host/
H A Dssb-hcd.c36 struct platform_device *ohci_dev; member
183 usb_dev->ohci_dev = ssb_hcd_create_pdev(dev, true, start, len); in ssb_hcd_probe()
184 if (IS_ERR(usb_dev->ohci_dev)) in ssb_hcd_probe()
185 return PTR_ERR(usb_dev->ohci_dev); in ssb_hcd_probe()
200 platform_device_unregister(usb_dev->ohci_dev); in ssb_hcd_probe()
207 struct platform_device *ohci_dev = usb_dev->ohci_dev; in ssb_hcd_remove() local
210 if (ohci_dev) in ssb_hcd_remove()
211 platform_device_unregister(ohci_dev); in ssb_hcd_remove()
H A Dbcma-hcd.c43 struct platform_device *ohci_dev; member
363 usb_dev->ohci_dev = bcma_hcd_create_pdev(dev, "ohci-platform", in bcma_hcd_usb20_init()
366 if (IS_ERR(usb_dev->ohci_dev)) in bcma_hcd_usb20_init()
367 return PTR_ERR(usb_dev->ohci_dev); in bcma_hcd_usb20_init()
380 platform_device_unregister(usb_dev->ohci_dev); in bcma_hcd_usb20_init()
443 struct platform_device *ohci_dev = usb_dev->ohci_dev; in bcma_hcd_remove() local
446 if (ohci_dev) in bcma_hcd_remove()
447 platform_device_unregister(ohci_dev); in bcma_hcd_remove()
/openbmc/u-boot/drivers/usb/host/
H A 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()
229 td = &ohci_dev->tds[i]; in td_alloc()
508 int sohci_submit_job(ohci_t *ohci, ohci_dev_t *ohci_dev, urb_priv_t *urb, in sohci_submit_job() argument
532 ed = ep_add_ed(ohci_dev, dev, pipe, interval, 1); in sohci_submit_job()
568 purb_priv->td[i] = td_alloc(ohci_dev, dev); in sohci_submit_job()
843 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, in ep_add_ed() argument
850 ed = ed_ret = &ohci_dev->ed[(usb_pipeendpoint(pipe) << 1) | in ep_add_ed()
861 td = td_alloc(ohci_dev, usb_dev); in ep_add_ed()
[all …]
H A Dohci.h385 struct ohci_device ohci_dev __aligned(TD_ALIGNMENT);