Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c235 struct usb_device_descriptor *dev_desc = NULL; in fconfig_write_dev_desc() local
251 dev_desc = (struct usb_device_descriptor *)usbm_malloc(&gi->obj, sizeof(*dev_desc)); in fconfig_write_dev_desc()
252 if (dev_desc == NULL) in fconfig_write_dev_desc()
258 ret = memcpy_s(dev_desc, sizeof(*dev_desc), &desc.dev_desc, sizeof(*dev_desc)); in fconfig_write_dev_desc()
264 gi->dev_desc = dev_desc; in fconfig_write_dev_desc()
268 usbm_free(&gi->obj, dev_desc); in fconfig_write_dev_desc()
876 gi->dev_desc->idVendor[0] = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
877 gi->dev_desc->idVendor[1] = (uint8_t)(desc_info->prop.prop_value >> 8); in change_dev_descritor_info()
881 gi->dev_desc->idProduct[0] = (uint8_t)desc_info->prop.prop_value; in change_dev_descritor_info()
882 gi->dev_desc->idProduct[1] = (uint8_t)(desc_info->prop.prop_value >> 8); in change_dev_descritor_info()
[all …]
Df_config.c206 struct usb_device_descriptor *dev_desc; in fconfig_mkdevdesc() local
216 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, gi->dev_desc, sizeof(*gi->dev_desc)); in fconfig_mkdevdesc()
222 dev_desc = ( struct usb_device_descriptor *)buf; in fconfig_mkdevdesc()
223 dev_desc->iManufacturer += 1; in fconfig_mkdevdesc()
224 dev_desc->iProduct += 1; in fconfig_mkdevdesc()
225 dev_desc->iSerialNumber += 1; in fconfig_mkdevdesc()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusbd_config.h96 struct usb_device_descriptor dev_desc; member
154 struct usb_device_descriptor *dev_desc; member
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h63307 const struct apd_device_desc *dev_desc; member