Home
last modified time | relevance | path

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

/components/legacy/usb/usbdevice/class/
A Decm.c293 rt_memcpy((void *)(ecm_device->rx_buffer + ecm_device->rx_offset),ecm_device->rx_pool,size); in _ep_out_handler()
294 ecm_device->rx_offset += size; in _ep_out_handler()
297 ecm_device->rx_size = ecm_device->rx_offset; in _ep_out_handler()
298 ecm_device->rx_offset = 0; in _ep_out_handler()
299 eth_device_ready(&ecm_device->parent); in _ep_out_handler()
303 ecm_device->eps.ep_out->request.buffer = ecm_device->eps.ep_out->buffer; in _ep_out_handler()
304 ecm_device->eps.ep_out->request.size = EP_MAXPACKET(ecm_device->eps.ep_out); in _ep_out_handler()
306 …rt_usbd_io_request(ecm_device->func->device, ecm_device->eps.ep_out, &ecm_device->eps.ep_out->requ… in _ep_out_handler()
482 eps = (cdc_eps_t)&ecm_device->eps; in _function_enable()
486 ecm_device->rx_size = 0; in _function_enable()
[all …]

Completed in 2 milliseconds