/drivers/peripheral/usb/gadget/function/include/ |
H A D | data_fifo.h | 22 #ifndef MIN 23 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 91 size = MIN(size, DataFifoAvailSize(fifo)); in DataFifoWrite() 105 size = MIN(size, DataFifoLen(fifo)); in DataFifoRead()
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | data_fifo.h | 28 #ifndef MIN 29 inline int32_t MIN(int32_t a, int32_t b) in MIN() function 92 size = MIN(size, DataFifoAvailSize(fifo)); in DataFifoWrite() 106 size = MIN(size, DataFifoLen(fifo)); in DataFifoRead()
|
H A D | usb_host_sdk_if_test.cpp | 166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq()
|
H A D | usb_raw_sdk_if_test.cpp | 263 copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotifyReqCallback()
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/gpio_fuzzer/ |
H A D | gpio_fuzzer.cpp | 20 constexpr int32_t MIN = 0; member 44 number = randNum(MIN, MAX); in GpioFuzzTest()
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/pwm_fuzzer/ |
H A D | pwm_fuzzer.cpp | 20 constexpr int32_t MIN = 0; member 38 number = randNum(MIN, MAX); in PwmFuzzTest()
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/uart_fuzzer/ |
H A D | uart_fuzzer.cpp | 20 constexpr int32_t MIN = 0; member 38 number = randNum(MIN, MAX); in UartFuzzTest()
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/rtc_fuzzer/ |
H A D | rtc_fuzzer.cpp | 20 constexpr int32_t MIN = 0; member 40 number = randNum(MIN, MAX); in RtcFuzzTest()
|
/drivers/peripheral/usb/ddk/host/include/ |
H A D | usb_ddk_request.h | 128 #ifndef MIN 129 static inline int32_t MIN(int32_t a, int32_t b) in MIN() function
|
/drivers/hdf_core/framework/support/platform/test/fuzztest/spi_fuzzer/ |
H A D | spi_fuzzer.cpp | 20 constexpr int32_t MIN = 0; member 43 number = randNum(MIN, MAX); in SpiFuzzDoTest()
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
H A D | mock_linux_adapter.cpp | 302 int32_t lenTmp = MIN(static_cast<int32_t>(len), static_cast<int32_t>(config->actualLen)); in FuncAdapterGetConfigDescriptor()
|
/drivers/peripheral/usb/ddk/host/src/ |
H A D | linux_adapter.c | 26 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 600 int32_t numPackets = MIN(numPacketsLeft, MAX_ISO_PACKETS_PER_URB); in OsAllocIsoUrbs() 1039 len = MIN(len, config->actualLen); in AdapterGetConfigDescriptor()
|
H A D | liteos_adapter.c | 726 int32_t numPackets = MIN(numPacketsLeft, MAX_ISO_PACKETS_PER_URB); in OsAllocIsoUrbs()
|
/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 370 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess()
|
H A D | cdc_ether.c | 793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq()
|
/drivers/peripheral/usb/serial/src/ |
H A D | usb_serial_rawapi.c | 1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess()
|
H A D | usb_serial.c | 1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize()
|
/drivers/peripheral/usb/gadget/function/acm/ |
H A D | cdcacm.c | 1126 ret = (int)MIN(length, sizeof(struct UsbCdcLineCoding)); in AcmSetup()
|