/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_acm_desc.c | 327 g_cdcacm_hs_func_desc.ifcad.bFirstInterface = (uint8_t)devinfo->ifnobase; in cdcacm_mkcfgdesc() 328 g_cdcacm_hs_func_desc.ifcd.bInterfaceNumber = (uint8_t)devinfo->ifnobase; in cdcacm_mkcfgdesc() 329 g_cdcacm_hs_func_desc.cdc_union_desc.bMasterInterface0 = (uint8_t)devinfo->ifnobase; in cdcacm_mkcfgdesc() 330 g_cdcacm_hs_func_desc.ifdd.bInterfaceNumber = (uint8_t)devinfo->ifnobase + 1; in cdcacm_mkcfgdesc() 331 g_cdcacm_hs_func_desc.cdc_union_desc.bSlaveInterface0 = (uint8_t)devinfo->ifnobase + 1; in cdcacm_mkcfgdesc() 332 g_cdcacm_hs_func_desc.cdc_call_desc.bDataInterface = (uint8_t)devinfo->ifnobase + 1; in cdcacm_mkcfgdesc()
|
D | f_uac.c | 869 g_fuac_iad.bFirstInterface = devinfo->ifnobase; in uac_mkcfgdesc() 870 g_fuac_ac_intf_desc.bInterfaceNumber = devinfo->ifnobase; in uac_mkcfgdesc() 871 g_fuac_as_interface_alt_0_desc.bInterfaceNumber = devinfo->ifnobase + 1; in uac_mkcfgdesc() 872 g_fuac_as_interface_alt_1_desc.bInterfaceNumber = devinfo->ifnobase + 1; in uac_mkcfgdesc() 873 g_fuac_ac_head_desc.baInterfaceNr[0] = devinfo->ifnobase + 1; in uac_mkcfgdesc() 1012 void usbdev_uac_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_uac_initialize_sub() argument 1028 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_uac_initialize_sub()
|
D | cdcacm.c | 1099 priv->ctrl_id = (uint8_t)devinfo->ifnobase; in cdcacm_bind() 1100 priv->data_id = (uint8_t)devinfo->ifnobase + 1; in cdcacm_bind() 1446 index == priv->devinfo.ifnobase) /* bmRequestType = 0xa1, bRequest = 0x21 */ in cdcacm_setup() 1476 index == priv->devinfo.ifnobase) /* bmRequestType = 0x21, bRequest = 0x20 */ in cdcacm_setup() 1509 index == priv->devinfo.ifnobase) /* bmRequestType = 0x21, bRequest = 0x22 */ in cdcacm_setup() 1925 void usbdev_cdcacm_initialize_sub(FAR struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_cdcacm_initialize_sub() argument 1940 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_cdcacm_initialize_sub()
|
D | rndis.h | 99 int ifnobase, int minor);
|
D | rndis.c | 1771 g_rndis_hs_func_desc.ifcad.bFirstInterface = (uint8_t)devinfo->ifnobase; in usbclass_bind() 1772 g_rndis_hs_func_desc.ifcd.bInterfaceNumber = (uint8_t)devinfo->ifnobase; in usbclass_bind() 1773 g_rndis_hs_func_desc.cdc_union_desc.bMasterInterface0 = (uint8_t)devinfo->ifnobase; in usbclass_bind() 1775 g_rndis_hs_func_desc.ifdd.bInterfaceNumber = (uint8_t)(devinfo->ifnobase + 1); in usbclass_bind() 1776 g_rndis_hs_func_desc.cdc_union_desc.bSlaveInterface0 = (uint8_t)(devinfo->ifnobase + 1); in usbclass_bind() 2411 void usbdev_rndis_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_rndis_initialize_sub() argument 2427 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_rndis_initialize_sub()
|
D | cdcacm.h | 294 void usbdev_cdcacm_initialize_sub(FAR struct composite_devdesc_s *dev, int ifnobase, int minor);
|
D | f_uac.h | 268 extern void usbdev_uac_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor);
|
D | f_hid.c | 990 static void usbdev_hid_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_hid_initialize_sub() argument 1007 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_hid_initialize_sub()
|
D | f_dfu.c | 1215 static void usbdev_dfu_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_dfu_initialize_sub() argument 1221 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_dfu_initialize_sub()
|
D | f_uvc.c | 2736 g_fuvc_iad.bFirstInterface = devinfo->ifnobase; in uvc_mkcfgdesc() 2737 g_fuvc_vc_intf_desc.bInterfaceNumber = devinfo->ifnobase; in uvc_mkcfgdesc() 2738 g_fuvc_vs_intf_alt0.bInterfaceNumber = devinfo->ifnobase + 1; in uvc_mkcfgdesc() 2877 void usbdev_uvc_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_uvc_initialize_sub() argument 2893 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_uvc_initialize_sub()
|
D | composite.c | 415 if (interface >= priv->device[i].compdesc.devinfo.ifnobase && in composite_classsetup() 416 interface < (priv->device[i].compdesc.devinfo.ifnobase + in composite_classsetup()
|
D | usbdev.h | 223 int ifnobase; /* Offset to Interface-IDs */ member
|
D | f_mass_storage.c | 1982 void usbdev_mass_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor) in usbdev_mass_initialize_sub() argument 1998 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_mass_initialize_sub()
|
D | f_uvc.h | 836 extern void usbdev_uvc_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor);
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usbd_config.c | 52 int ifnobase; member 57 extern void usbdev_generic_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor); 58 extern void usbdev_cdcacm_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor); 59 extern void usbdev_rndis_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor); 60 extern void usbdev_mass_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor); 61 extern void usbdev_uac_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor); 62 extern void usbdev_uvc_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor); 739 dev_info->initialize_sub(&info->devs[info->ndevices], info->ifnobase, func->minor); in func_inst_init() 741 info->ifnobase += info->devs[info->ndevices].devinfo.ninterfaces; in func_inst_init() 746 dev_info->initialize_sub(&info->devs[info->ndevices], info->ifnobase, dev_info->type); in func_inst_init() [all …]
|
D | f_generic.c | 597 return intf - dev->devinfo->ifnobase; in generic_revmap_intf() 643 ret = generic_set_alt(dev, dev->devinfo->ifnobase + i, 0); in generic_set_config() 1047 int ifnobase, int minor) in usbdev_generic_initialize_sub() argument 1059 dev->devinfo.ifnobase = ifnobase; /* Offset to Interface-IDs */ in usbdev_generic_initialize_sub()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
D | usbd_config.h | 120 void (*initialize_sub)(struct composite_devdesc_s *dev, int ifnobase, int minor); 130 int ifnobase; member
|
D | f_generic.h | 282 extern void usbdev_generic_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor);
|