Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-hcd.c217 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev,
223 static struct td *td_alloc(ohci_dev_t *ohci_dev, struct usb_device *usb_dev) in td_alloc() argument
231 if (ohci_dev->tds[i].usb_dev == NULL) in td_alloc()
233 td = &ohci_dev->tds[i]; in td_alloc()
512 int sohci_submit_job(ohci_t *ohci, ohci_dev_t *ohci_dev, urb_priv_t *urb, in sohci_submit_job() argument
536 ed = ep_add_ed(ohci_dev, dev, pipe, interval, 1); in sohci_submit_job()
572 purb_priv->td[i] = td_alloc(ohci_dev, dev); in sohci_submit_job()
847 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, in ep_add_ed() argument
854 ed = ed_ret = &ohci_dev->ed[(usb_pipeendpoint(pipe) << 1) | in ep_add_ed()
865 td = td_alloc(ohci_dev, usb_dev); in ep_add_ed()
[all …]
H A Dohci.h385 struct ohci_device ohci_dev __aligned(TD_ALIGNMENT);
/OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.c81 struct ohci_device ohci_dev; variable
575 ed = ed_ret = &ohci_dev.ed[(usb_pipeendpoint (pipe) << 1) | in ep_add_ed()
592 ohci_dev.ed_cnt++; in ep_add_ed()
1542 memset(&ohci_dev, 0, sizeof(struct ohci_device)); in usb_lowlevel_init()
1543 if ((__u32)&ohci_dev.ed[0] & 0x7) { in usb_lowlevel_init()