Searched refs:cpdata (Results 1 – 1 of 1) sorted by relevance
91 struct usbd_client_pdata *cpdata; in usb_open_pipe() local98 cpdata = malloc(sizeof(*cpdata)); in usb_open_pipe()110 cpdata->ep_out = open(buf, O_WRONLY); in usb_open_pipe()111 if (cpdata->ep_out < 0) { in usb_open_pipe()117 cpdata->ep_in = open(buf, O_RDONLY); in usb_open_pipe()118 if (cpdata->ep_in < 0) { in usb_open_pipe()123 cpdata->pdata = pdata; in usb_open_pipe()126 usbd_client_thread, cpdata, "usbd_client_thd"); in usb_open_pipe()130 close(cpdata->ep_in); in usb_open_pipe()132 close(cpdata->ep_out); in usb_open_pipe()[all …]