Home
last modified time | relevance | path

Searched refs:ep0 (Results 1 - 6 of 6) sorted by relevance

/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c245 static void handle_ep0(int ep0, bool *ready) in handle_ep0() argument
251 pfds[0].fd = ep0; in handle_ep0()
256 ret = read(ep0, &event, sizeof(event)); in handle_ep0()
258 perror("unable to read event from ep0"); in handle_ep0()
265 write(ep0, NULL, 0); in handle_ep0()
267 read(ep0, NULL, 0); in handle_ep0()
290 int ep0; in main() local
315 (void)sprintf(ep_path, "%s/ep0", argv[1]); in main()
316 ep0 = open(ep_path, O_RDWR); in main()
317 if (ep0 < in main()
[all...]
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c248 static void handle_ep0(int ep0, bool *ready) in handle_ep0() argument
253 ret = read(ep0, &event, sizeof(event)); in handle_ep0()
255 perror("unable to read event from ep0"); in handle_ep0()
262 write(ep0, NULL, 0); in handle_ep0()
264 read(ep0, NULL, 0); in handle_ep0()
313 int ep0, ep1; in main() local
336 (void)sprintf(ep_path, "%s/ep0", argv[1]); in main()
337 ep0 = open(ep_path, O_RDWR); in main()
338 if (ep0 < 0) { in main()
339 perror("unable to open ep0"); in main()
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
H A Dcomposite.h371 * they are defined in @dev and @strings.) The correct ep0 maxpacket size
410 extern int composite_os_desc_req_prepare(struct usb_composite_dev *cdev, struct usb_ep *ep0);
H A Dgadget.h155 * @type_control:Endpoint supports control type (reserved for ep0).
215 * gadget->ep_list. the control endpoint (gadget->ep0) is not in that list,
347 * @ep0: Endpoint zero, used when reading or writing responses to
420 struct usb_ep *ep0; member
679 * @setup: Invoked for ep0 control requests that aren't handled by
684 * queues a response to ep0, or returns negative to stall.
716 * are in descriptors the ep0 implementation returns from setup() calls.
718 * Except for ep0 implementation, most driver code shouldn't need change to
720 * that ep0 implementation.
738 * hosts nor devices generally support control traffic except to ep0
[all...]
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
H A Dcomposite.h385 * they are defined in @dev and @strings.) The correct ep0 maxpacket size
427 struct usb_ep *ep0);
H A Dgadget.h164 * @type_control:Endpoint supports control type (reserved for ep0).
228 * gadget->ep_list. the control endpoint (gadget->ep0) is not in that list,
356 * @ep0: Endpoint zero, used when reading or writing responses to
429 struct usb_ep *ep0; member
667 * @setup: Invoked for ep0 control requests that aren't handled by
672 * queues a response to ep0, or returns negative to stall.
704 * are in descriptors the ep0 implementation returns from setup() calls.
706 * Except for ep0 implementation, most driver code shouldn't need change to
708 * that ep0 implementation.
726 * hosts nor devices generally support control traffic except to ep0
[all...]

Completed in 10 milliseconds