Home
last modified time | relevance | path

Searched refs:ep_tmp (Results 1 – 2 of 2) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMassStor.c410 struct usb_endpoint_descriptor *ep_tmp; in ms_usb_get_pipes() local
417 ep_tmp=&altsetting->endpoint[tmp].desc; in ms_usb_get_pipes()
418 if ((ep_tmp->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK) in ms_usb_get_pipes()
420 if (ep_tmp->bEndpointAddress & USB_DIR_IN) in ms_usb_get_pipes()
421 ep_in = ep_tmp; in ms_usb_get_pipes()
423 ep_out = ep_tmp; in ms_usb_get_pipes()
425 else if ((ep_tmp->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_INT) in ms_usb_get_pipes()
426 ep_int = ep_tmp; in ms_usb_get_pipes()
434 ms_usb_set_pipe(ms_us,ep_in,ep_out,ep_tmp); in ms_usb_get_pipes()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvMassStor.c797 struct usb_endpoint_descriptor *ep_tmp; in get_pipes() local
812 ep_tmp=&altsetting->endpoint[ii].desc; in get_pipes()
815 …if ((ep_tmp->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == USB_ENDPOINT_XFER_BULK) in get_pipes()
818 if (ep_tmp->bEndpointAddress & USB_DIR_IN) in get_pipes()
821 ep_in = ep_tmp; in get_pipes()
826 ep_out = ep_tmp; in get_pipes()
831 if ((ep_tmp->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in get_pipes()
836 ep_int = ep_tmp; in get_pipes()