Searched refs:pUdev (Results 1 – 6 of 6) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/ |
| H A D | drvUSB.c | 152 struct usb_device *pUdev; in ms_usb_match_id() local 158 pUdev = interface_to_usbdev(pUintf); in ms_usb_match_id() 164 pDevId->idVendor != pUdev->descriptor.idVendor) in ms_usb_match_id() 168 pDevId->idProduct != pUdev->descriptor.idProduct) in ms_usb_match_id() 172 (pDevId->bcdDevice_lo >= pUdev->descriptor.bcdDevice)) in ms_usb_match_id() 176 (pDevId->bcdDevice_hi <= pUdev->descriptor.bcdDevice)) in ms_usb_match_id() 180 (pDevId->bDeviceClass != pUdev->descriptor.bDeviceClass)) in ms_usb_match_id() 184 (pDevId->bDeviceSubClass!= pUdev->descriptor.bDeviceSubClass)) in ms_usb_match_id() 188 (pDevId->bDeviceProtocol != pUdev->descriptor.bDeviceProtocol)) in ms_usb_match_id() 292 struct usb_interface *ms_usb_ifnum_to_if(struct usb_device *pUdev, int ifnum) in ms_usb_ifnum_to_if() argument [all …]
|
| H A D | drvHub.c | 498 struct usb_device *pUdev; in ms_hub_probe() local 503 pUdev = interface_to_usbdev(pIntf); in ms_hub_probe() 505 if (pUdev->level == MAX_HUB_TOPO_LEVEL) in ms_hub_probe() 898 struct usb_device *pUdev; in ms_hub_port_connect_change() local 959 pUdev = ms_usb_alloc_dev(pHub, pHub->bus); in ms_hub_port_connect_change() 960 if (!pUdev) { in ms_hub_port_connect_change() 965 pHub->children[port] = pUdev; in ms_hub_port_connect_change() 967 ms_usb_set_device_state(pUdev, USB_STATE_POWERED); // patch from Linux 2.6.28 in ms_hub_port_connect_change() 983 if (ms_hub_port_reset(pHub, port, pUdev, u32Delay)) { in ms_hub_port_connect_change() 984 ms_usb_put_dev(pUdev); in ms_hub_port_connect_change() [all …]
|
| H A D | drvPipe.c | 160 struct usb_device *pUdev; in ms_usb_submit_urb() local 166 if (!(pUdev = ms_urb->dev) || (pUdev->eState < USB_STATE_DEFAULT) || in ms_usb_submit_urb() 167 (!pUdev->bus) || (pUdev->u32DevNum <= 0)) in ms_usb_submit_urb() 179 if (!usb_pipecontrol (ms_pipe) && pUdev->eState < USB_STATE_CONFIGURED) in ms_usb_submit_urb() 186 max_p = usb_maxpacket (pUdev, ms_pipe, is_out); in ms_usb_submit_urb() 192 pUdev->bus->bus_name, pUdev->devpath, in ms_usb_submit_urb() 205 switch (pUdev->eSpeed) in ms_usb_submit_urb()
|
| H A D | drvUsbd.c | 1331 void ms_hcd_endpoint_disable (struct usb_device *pUdev, int iEndpoint) in ms_hcd_endpoint_disable() argument 1336 pDev = (struct s_hcd_dev*) pUdev->hcpriv; in ms_hcd_endpoint_disable() 1337 pHcd = (struct usb_hcd*) pUdev->bus->hcpriv; in ms_hcd_endpoint_disable() 1350 void ms_usb_hcd_flush_endpoint(struct usb_device *pUdev, int iEndpoint) in ms_usb_hcd_flush_endpoint() argument 1353 struct s_hcd_dev *pDev = (struct s_hcd_dev*) pUdev->hcpriv; in ms_usb_hcd_flush_endpoint() 1354 struct usb_hcd *pHcd = (struct usb_hcd*) pUdev->bus->hcpriv; in ms_usb_hcd_flush_endpoint() 1363 pUdev->pEpMaxPacketIn [u32Epnum] = 0; in ms_usb_hcd_flush_endpoint() 1368 pUdev->pEpMaxPacketOut [u32Epnum] = 0; in ms_usb_hcd_flush_endpoint() 1422 void ms_hcd_check_dev_urb (struct usb_device *pUdev, int iEndpoint) in ms_hcd_check_dev_urb() argument 1429 pDev = (struct s_hcd_dev*) pUdev->hcpriv; in ms_hcd_check_dev_urb() [all …]
|
| H A D | drvMsg.c | 500 pUdev->dev.dev_name, pUdev->dev.bus_id); in ms_usb_disable_device()
|
| H A D | drvEhciHcd.c | 2346 struct usb_device *pUdev; in ms_ehci_begin() local 2444 pBus->root_hub = pUdev = ms_usb_alloc_dev (NULL, pBus); in ms_ehci_begin() 2445 if (!pUdev) in ms_ehci_begin() 2460 pUdev->eSpeed = USB_HIGH_SPEED; in ms_ehci_begin() 2467 ms_usb_put_dev (pUdev); in ms_ehci_begin()
|