Searched refs:tusb_fd (Results 1 – 1 of 1) sorted by relevance
30 static int tusb_fd = -1; //file descriptor variable98 tusb_fd = open(DEVICE_NAME, O_RDWR); in tusbopen()100 if (tusb_fd < 0) { in tusbopen()102 DEVICE_NAME, tusb_fd, errno); in tusbopen()116 if (tusb_fd != -1) { in tusbclose()117 close(tusb_fd); in tusbclose()118 tusb_fd = -1; in tusbclose()135 if (ki_generic(tusb_fd, FIND_DEV)) in main()141 if (ki_generic(tusb_fd, TEST_FIND_HCD)) in main()147 if (ki_generic(tusb_fd, TEST_HCD_PROBE)) in main()[all …]