Searched refs:ctrl_pipe (Results 1 – 3 of 3) sorted by relevance
/external/libusb/libusb/ |
D | io.c | 1018 r = pipe(ctx->ctrl_pipe); in usbi_io_init() 1022 r = usbi_add_pollfd(ctx, ctx->ctrl_pipe[0], POLLIN); in usbi_io_init() 1047 usbi_remove_pollfd(ctx, ctx->ctrl_pipe[0]); in usbi_io_exit() 1048 close(ctx->ctrl_pipe[0]); in usbi_io_exit() 1049 close(ctx->ctrl_pipe[1]); in usbi_io_exit()
|
D | core.c | 904 r = write(ctx->ctrl_pipe[1], &dummy, sizeof(dummy)); in libusb_open() 917 r = read(ctx->ctrl_pipe[0], &dummy, sizeof(dummy)); in libusb_open() 1030 r = write(ctx->ctrl_pipe[1], &dummy, sizeof(dummy)); in libusb_close() 1044 r = read(ctx->ctrl_pipe[0], &dummy, sizeof(dummy)); in libusb_close()
|
D | libusbi.h | 149 int ctrl_pipe[2]; member
|