Searched refs:usbm (Results 1 – 2 of 2) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usbd_generic_ep0.c | 453 struct usb_memory *usbm = container_of(obj, struct usb_memory, obj); in memory_area_match() local 456 if (buff_start < usbm->vm_start && in memory_area_match() 457 buff_start >= usbm->vm_start + usbm->size) in memory_area_match() 462 return (buff_start + mem->len) <= (usbm->vm_start + usbm->size); in memory_area_match() 722 struct usb_memory *usbm; in generic_ep0_write_request() local 725 usbm = generic_find_memory_area(&dev->memory_obj, buffer, buflen); in generic_ep0_write_request() 726 if (usbm == NULL) in generic_ep0_write_request() 952 struct usb_memory *usbm; in generic_ep0_handle_ioctl() local 969 usbm = generic_find_memory_area(&dev->memory_obj, (void *)mem.buf, mem.size); in generic_ep0_handle_ioctl() 970 if (usbm == NULL) in generic_ep0_handle_ioctl() [all …]
|
D | usbd_generic_epfile.c | 368 struct usb_memory *usbm; in generic_epfile_handle_write() local 384 usbm = generic_find_memory_area(&epfile->memory_obj, buffer, len); in generic_epfile_handle_write() 385 if (usbm == NULL) in generic_epfile_handle_write() 419 struct usb_memory *usbm; in generic_epfile_handle_ioctl() local 432 usbm = generic_find_memory_area(&epfile->memory_obj, (void *)mem.buf, mem.size); in generic_epfile_handle_ioctl() 433 if (usbm == NULL) in generic_epfile_handle_ioctl() 437 usbobj_put(&usbm->obj); in generic_epfile_handle_ioctl() 438 LOS_DmaMemFree((void *)usbm->mem); in generic_epfile_handle_ioctl() 439 usbm_free(&epfile->memory_obj, usbm); in generic_epfile_handle_ioctl() 529 struct usb_memory *usbm; in generic_epfile_handle_mmap() local [all …]
|