Home
last modified time | relevance | path

Searched refs:MIN (Results 1 - 18 of 18) sorted by relevance

/drivers/peripheral/usb/gadget/function/include/
H A Ddata_fifo.h22 #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 Ddata_fifo.h28 #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 Dusb_host_sdk_if_test.cpp166 uint32_t copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrq()
H A Dusb_raw_sdk_if_test.cpp263 copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotifyReqCallback()
/drivers/hdf_core/framework/support/platform/test/fuzztest/gpio_fuzzer/
H A Dgpio_fuzzer.cpp20 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 Dpwm_fuzzer.cpp20 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 Duart_fuzzer.cpp20 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 Drtc_fuzzer.cpp20 constexpr int32_t MIN = 0; member
40 number = randNum(MIN, MAX); in RtcFuzzTest()
/drivers/peripheral/usb/ddk/host/include/
H A Dusb_ddk_request.h128 #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 Dspi_fuzzer.cpp20 constexpr int32_t MIN = 0; member
43 number = randNum(MIN, MAX); in SpiFuzzDoTest()
/drivers/peripheral/usb/test/unittest/mock/src/
H A Dmock_linux_adapter.cpp302 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 Dlinux_adapter.c26 #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 Dliteos_adapter.c726 int32_t numPackets = MIN(numPacketsLeft, MAX_ISO_PACKETS_PER_URB); in OsAllocIsoUrbs()
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c370 unsigned int copySize = MIN(currentSize, expectedSize - usbNet->nbIndex); in UsbnetHostNotificationBufferProcess()
H A Dcdc_ether.c793 uint32_t copySize = MIN(currentSize, expectedSize - ecm->nbIndex); in EcmCtrlIrq()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c1052 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmNotificationBufferProcess()
H A Dusb_serial.c1294 unsigned int copySize = MIN(currentSize, expectedSize - acm->nbIndex); in AcmCtrlIrqCheckSize()
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c1126 ret = (int)MIN(length, sizeof(struct UsbCdcLineCoding)); in AcmSetup()

Completed in 21 milliseconds