Lines Matching refs:pipe
19 static void usbmon_trace(struct udevice *bus, ulong pipe, in usbmon_trace() argument
25 type = (pipe & USB_PIPE_TYPE_MASK) >> USB_PIPE_TYPE_SHIFT; in usbmon_trace()
27 pipe & USB_DIR_IN ? 'i' : 'o', in usbmon_trace()
29 (pipe & USB_PIPE_DEV_MASK) >> USB_PIPE_DEV_SHIFT, in usbmon_trace()
30 (pipe & USB_PIPE_EP_MASK) >> USB_PIPE_EP_SHIFT); in usbmon_trace()
43 unsigned long pipe, in sandbox_submit_control() argument
53 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_control()
54 usbmon_trace(bus, pipe, setup, emul); in sandbox_submit_control()
58 if (usb_pipedevice(pipe) == ctrl->rootdev) { in sandbox_submit_control()
65 ret = usb_emul_control(emul, udev, pipe, buffer, length, setup); in sandbox_submit_control()
79 unsigned long pipe, void *buffer, int length) in sandbox_submit_bulk() argument
86 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_bulk()
87 usbmon_trace(bus, pipe, NULL, emul); in sandbox_submit_bulk()
90 ret = usb_emul_bulk(emul, udev, pipe, buffer, length); in sandbox_submit_bulk()
104 unsigned long pipe, void *buffer, int length, in sandbox_submit_int() argument
112 ret = usb_emul_find(bus, pipe, udev->portnr, &emul); in sandbox_submit_int()
113 usbmon_trace(bus, pipe, NULL, emul); in sandbox_submit_int()
116 ret = usb_emul_int(emul, udev, pipe, buffer, length, interval, in sandbox_submit_int()