Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusb_handle.c78 static struct usb_handle *handle_find_by_name(const char *devName) in handle_find_by_name() argument
84 if (!devName) in handle_find_by_name()
92 if (strcmp(handle->name, devName) == 0) in handle_find_by_name()
128 int register_handle(char *devName, struct UsbHandleOps *ops, void *priv, struct usb_obj *obj) in register_handle() argument
133 if (devName == NULL || ops == NULL) { in register_handle()
136 handle = handle_find_by_name(devName); in register_handle()
146 handle->name = devName; in register_handle()
158 int unregister_handle(const char *devName) in unregister_handle() argument
163 handle = handle_find_by_name(devName); in unregister_handle()
Dusbd_config.c1193 char *devName = NULL; in fconfig_fops_init() local
1201 devName = usbm_malloc(&cdev->obj, strlen(USB_FCONFIG_DEV) + 1); in fconfig_fops_init()
1202 if (!devName) in fconfig_fops_init()
1206 ret = snprintf_s(devName, strlen(USB_FCONFIG_DEV) + 1, strlen(USB_FCONFIG_DEV), in fconfig_fops_init()
1212 ret = register_handle(devName, &g_fconfig_handle_fops, cdev, &cdev->obj); in fconfig_fops_init()
1222 usbm_free(&cdev->obj, devName); in fconfig_fops_init()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusb_handle.h75 extern int register_handle(char *devName, struct UsbHandleOps *ops, void *priv, struct usb_obj *obj…
76 extern int unregister_handle(const char *devName);
/third_party/NuttX/fs/mount/
Dfs_mount.c235 if (strcmp(cacheMnt->devName, source) == 0) in mount()
336 ret = strcpy_s(mnt->devName, PATH_MAX, source); in mount()
Dfs_foreachmountpoint.c65 (void)handler(mnt->devName, mnt->pathName, &statBuf, arg); in foreach_mountpoint()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c169 DPRINTF("%s type = %u, code = %u, value = %d\n", input_dev->devName, type, code, value); in report_event()
870 sc->input_dev->devName = "mouse"; in uhid_attach()
873 sc->input_dev->devName = "other"; in uhid_attach()
878 DPRINTF("%s register failed, ret = %d!\n", sc->input_dev->devName, ret); in uhid_attach()