Home
last modified time | relevance | path

Searched refs:epNum (Results 1 – 6 of 6) sorted by relevance

/drivers/hdf_core/framework/model/audio/usb/src/
Daudio_usb_dma_ops.c222 struct usb_host_interface *alts, uint32_t *epNum, int type) in AudioUsbEndpointInit() argument
230 ep->endpointNum = *epNum; in AudioUsbEndpointInit()
235 *epNum &= USB_ENDPOINT_NUMBER_MASK; in AudioUsbEndpointInit()
254 … struct usb_host_interface *alts, uint32_t epNum, const enum AudioStreamType streamType, int type) in AudioUsbAddEndpoint() argument
275 if (ep->endpointNum == epNum && ep->iface == alts->desc.bInterfaceNumber && in AudioUsbAddEndpoint()
277 …AUDIO_DEVICE_LOG_INFO("Render using endpoint %d in iface %d,%d\n", epNum, ep->iface, ep->altsettin… in AudioUsbAddEndpoint()
290 AudioUsbEndpointInit(audioUsbDriver, ep, alts, &epNum, type); in AudioUsbAddEndpoint()
292 ep->pipe = usb_sndisocpipe(dev, epNum); in AudioUsbAddEndpoint()
294 ep->pipe = usb_rcvisocpipe(dev, epNum); in AudioUsbAddEndpoint()
306 uint32_t attr, int isRender, uint32_t *epNum) in AudioUsbGetEndpoint() argument
[all …]
/drivers/peripheral/usb/ddk/device/src/
Dusbfn_dev_mgr.c360 event->epNum = 0; in CollectEventHandle()
380 event->epx[event->epNum] = handle->fds[j]; in CollectEventHandle()
381 event->reqEvent[event->epNum] = handle->reqEvent[j]; in CollectEventHandle()
382 event->numEvent[event->epNum] = 0; in CollectEventHandle()
383 event->epNum++; in CollectEventHandle()
523 if (event.ep0Num + event.epNum == 0) { in UsbFnEventProcess()
535 for (uint8_t i = 0; i < event.epNum; i++) { in UsbFnEventProcess()
Dadapter_if.c1143 for (i = 0; i < event->epNum; i++) { in EpEvent()
1163 if (event->ep0Num + event->epNum == 0) { in UsbFnAdapterPollEvent()
1166 pfds = UsbFnMemCalloc((event->ep0Num + event->epNum) * sizeof(struct pollfd)); in UsbFnAdapterPollEvent()
1179 for (i = 0; i < event->epNum; i++) { in UsbFnAdapterPollEvent()
1188 ret = poll(pfds, event->ep0Num + event->epNum, timeout); in UsbFnAdapterPollEvent()
Dadapter_if_liteos.c855 for (i = 0; i < event->epNum; i++) { in EpEvent()
876 if ((event->ep0Num + event->epNum) == 0) { in UsbFnAdapterPollEvent()
893 for (i = 0; i < event->epNum; i++) { in UsbFnAdapterPollEvent()
901 for (i = 0; i < (event->ep0Num + event->epNum); i++) { in UsbFnAdapterPollEvent()
/drivers/hdf_core/framework/model/audio/usb/include/
Daudio_usb_linux.h161 uint32_t epNum; /* the endpoint number */ member
/drivers/peripheral/usb/ddk/device/include/
Dadapter_if.h201 uint8_t epNum; member