Home
last modified time | relevance | path

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

/drivers/peripheral/usb/sample/host/src/
Dusbhost_nosdk_speed.c64 static unsigned char g_endNum; variable
122 urb->endPoint = g_endNum; in FillUrb()
123 if ((g_endNum >> ENDPOINT_IN_OFFSET) == 0) { in FillUrb()
326g_endNum = (unsigned char)strtoul(argv[4], NULL, STRTOL_BASE); // 4 means get fourth char of argv in main()
327 if ((g_endNum >> 7) != 0) { // the offset value is 7 in main()
334g_endNum = (unsigned char)strtoul(argv[4], NULL, STRTOL_BASE); // 4 means get fourth char of argv in main()
337g_endNum = (unsigned char)strtoul(argv[2], NULL, STRTOL_BASE); // 2 means get second char of argv in main()
391 ret = BeginProcess(g_endNum); in main()
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_nosdk_speed.c55 static uint8_t g_endNum; variable
316 g_endNum = input->writeOrRead; in UsbSerialSpeedInit()
317 g_writeOrRead = ((g_endNum >> ENDPOINT_IN_OFFSET) == 0) ? TEST_WRITE : TEST_READ; in UsbSerialSpeedInit()
325 g_endNum = input->writeOrRead; in UsbSerialSpeedInit()
326 g_writeOrRead = ((g_endNum >> ENDPOINT_IN_OFFSET) == 0) ? TEST_WRITE : TEST_READ; in UsbSerialSpeedInit()
329 g_endNum = input->writeOrRead; in UsbSerialSpeedInit()
330 g_writeOrRead = ((g_endNum >> ENDPOINT_IN_OFFSET) == 0) ? TEST_WRITE : TEST_READ; in UsbSerialSpeedInit()
409 ret = BeginProcess(g_endNum); in UsbSerialSpeed()