Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/framework/model/audio/usb/include/
H A Daudio_usb_linux.h76 uint32_t maxPackSize; /* max packet size in bytes */ member
111 uint32_t maxPackSize; /* max. packet size */ member
/ohos5.0/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_parse_interface.c396 audioUsbFormat->maxPackSize == MAX_PACKET_SIZE) { in AudioUsbInitRate()
589 fp->maxPackSize = le16_to_cpu(epDesc->wMaxPacketSize); in AudioUsbFormatInit()
594 …fp->maxPackSize = (((fp->maxPackSize >> MOVE_11_BIT) & PACK_SIZE) + 1) * (fp->maxPackSize & 0x7ff); in AudioUsbFormatInit()
930 if (le16_to_cpu(epDesc->wMaxPacketSize) == (*audioUsbFormat)->maxPackSize * FRAME_SIZE_2) { in AudioUsbGetFormatSub()
H A Daudio_usb_endpoints.c784 if (endpoint->maxPackSize && endpoint->maxPackSize < *maxsize) { in AudioUsbDataEpSetParamsSub()
785 uint32_t data_maxsize = *maxsize = endpoint->maxPackSize; in AudioUsbDataEpSetParamsSub()
791 endpoint->curPackSize = endpoint->maxPackSize; in AudioUsbDataEpSetParamsSub()
992 endpoint->maxPackSize = audioUsbFormat->maxPackSize; in AudioUsbEndpointSetParams()
H A Daudio_usb_dma_ops.c559 if (fp->maxPackSize > found->maxPackSize) { in SeekAudioUsbListFindFormat()
792 …ret = BytesToFrames(data->renderPcmInfo.frameSize, audioUsbDriver->renderDataEndpoint->maxPackSize, in AudioUsbBytesToFrames()
808 …t = BytesToFrames(data->capturePcmInfo.frameSize, audioUsbDriver->captureDataEndpoint->maxPackSize, in AudioUsbBytesToFrames()