Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/
Df_acm_desc.c327 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()
Df_uac.c869 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()
Dcdcacm.c1099 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()
Drndis.h99 int ifnobase, int minor);
Drndis.c1771 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()
Dcdcacm.h294 void usbdev_cdcacm_initialize_sub(FAR struct composite_devdesc_s *dev, int ifnobase, int minor);
Df_uac.h268 extern void usbdev_uac_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor);
Df_hid.c990 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()
Df_dfu.c1215 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()
Df_uvc.c2736 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()
Dcomposite.c415 if (interface >= priv->device[i].compdesc.devinfo.ifnobase && in composite_classsetup()
416 interface < (priv->device[i].compdesc.devinfo.ifnobase + in composite_classsetup()
Dusbdev.h223 int ifnobase; /* Offset to Interface-IDs */ member
Df_mass_storage.c1982 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()
Df_uvc.h836 extern void usbdev_uvc_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor);
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c52 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 …]
Df_generic.c597 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/
Dusbd_config.h120 void (*initialize_sub)(struct composite_devdesc_s *dev, int ifnobase, int minor);
130 int ifnobase; member
Df_generic.h282 extern void usbdev_generic_initialize_sub(struct composite_devdesc_s *dev, int ifnobase, int minor);