Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_config.c85 static struct gadget_info *fconfig_find_gadget(struct composite_dev_s *com_dev) in fconfig_find_gadget() argument
87 struct composite_softc *com_s = container_of(com_dev, struct composite_softc, dev); in fconfig_find_gadget()
133 static int fconfig_mkstrdesc(struct composite_dev_s *com_dev, uint16_t language, uint8_t id, uint8_… in fconfig_mkstrdesc() argument
153 gi = fconfig_find_gadget(com_dev); in fconfig_mkstrdesc()
188 for (i = 0; i < com_dev->ndevices; i++) in fconfig_mkstrdesc()
190 struct usbdev_devinfo_s *devinfo = &com_dev->device[i].compdesc.devinfo; in fconfig_mkstrdesc()
194 *buf = (uint8_t)com_dev->device[i].compdesc.minor; /* pass minor number to driver */ in fconfig_mkstrdesc()
195 … ret = com_dev->device[i].compdesc.mkstrdesc(id - devinfo->strbase - gi->str_count, buf); in fconfig_mkstrdesc()
236 static struct gadget_config *fconfig_find_cfg(struct composite_dev_s *com_dev, uint32_t *string_num) in fconfig_find_cfg() argument
238 struct composite_softc *com_s = container_of(com_dev, struct composite_softc, dev); in fconfig_find_cfg()