Home
last modified time | relevance | path

Searched refs:pipe_in (Results 1 – 10 of 10) sorted by relevance

/components/legacy/usb/usbhost/class/
A Dmass.c73 rt_kprintf("pipes1 0x%x, 0x%x\n", stor->pipe_in, stor->pipe_out); in _pipe_check()
75 stor->pipe_in->status = UPIPE_STATUS_OK; in _pipe_check()
80 size = rt_usb_hcd_pipe_xfer(stor->pipe_in->inst->hcd, in _pipe_check()
81 stor->pipe_in, &csw, SIZEOF_CSW, 100); in _pipe_check()
131 pipe = (cmd->dflags == CBWFLAGS_DIR_IN) ? stor->pipe_in : in rt_usb_bulk_only_xfer()
144 size = rt_usb_hcd_pipe_xfer(stor->pipe_in->inst->hcd, stor->pipe_in, in rt_usb_bulk_only_xfer()
154 ret = _pipe_check(intf, stor->pipe_in); in rt_usb_bulk_only_xfer()
576 stor->pipe_in = rt_usb_instance_find_pipe(intf->device,ep_desc->bEndpointAddress); in rt_usbh_storage_enable()
586 if(stor->pipe_in == RT_NULL || stor->pipe_out == RT_NULL) in rt_usbh_storage_enable()
A Dukbd.c47 if (rt_usb_hcd_pipe_xfer(intf->device->hcd, ((struct uhid*)intf->user_data)->pipe_in, in kbd_task()
48 …((struct uhid*)intf->user_data)->buffer, ((struct uhid*)intf->user_data)->pipe_in->ep.wMaxPacketSi… in kbd_task()
A Dadk.c170 length = rt_usb_hcd_bulk_xfer(intf->device->hcd, adk->pipe_in, in rt_usbh_adk_read()
321 ret = rt_usb_hcd_alloc_pipe(intf->device->hcd, &adk->pipe_in, in rt_usbh_adk_enable()
335 if(adk->pipe_in == RT_NULL || adk->pipe_out == RT_NULL) in rt_usbh_adk_enable()
388 if(adk->pipe_in != RT_NULL) in rt_usbh_adk_disable()
389 rt_usb_hcd_free_pipe(intf->device->hcd, adk->pipe_in); in rt_usbh_adk_disable()
A Dumouse.c140 if (rt_usb_hcd_pipe_xfer(intf->device->hcd, ((struct uhid*)intf->user_data)->pipe_in, in mouse_task()
141 …((struct uhid*)intf->user_data)->buffer, ((struct uhid*)intf->user_data)->pipe_in->ep.wMaxPacketSi… in mouse_task()
A Dadk.h18 upipe_t pipe_in; member
A Dhid.h18 upipe_t pipe_in; member
A Dhid.c347 ret = rt_usb_hcd_alloc_pipe(intf->device->hcd, &hid->pipe_in, in rt_usbh_hid_enable()
378 if(hid->pipe_in != RT_NULL) in rt_usbh_hid_disable()
381 rt_usb_hcd_free_pipe(intf->device->hcd, hid->pipe_in); in rt_usbh_hid_disable()
A Dmass.h30 upipe_t pipe_in; member
A Dudisk.c218 if(stor->pipe_in->status == UPIPE_STATUS_STALL) in rt_udisk_run()
221 stor->pipe_in->ep.bEndpointAddress, USB_FEATURE_ENDPOINT_HALT); in rt_udisk_run()
/components/legacy/usb/usbhost/core/
A Dhub.c510 upipe_t pipe_in = RT_NULL; in rt_usbh_hub_enable() local
579 pipe_in = rt_usb_instance_find_pipe(device,ep_desc->bEndpointAddress); in rt_usbh_hub_enable()
580 if(pipe_in == RT_NULL) in rt_usbh_hub_enable()
584 rt_usb_pipe_add_callback(pipe_in,rt_usbh_hub_irq); in rt_usbh_hub_enable()
591 pipe_in->user_data = hub; in rt_usbh_hub_enable()
592 rt_usb_hcd_pipe_xfer(hub->hcd, pipe_in, hub->buffer, in rt_usbh_hub_enable()
593 pipe_in->ep.wMaxPacketSize, timeout); in rt_usbh_hub_enable()

Completed in 14 milliseconds