Searched refs:if_num (Results 1 – 2 of 2) sorted by relevance
446 const uint8_t if_num = desc->if0.bInterfaceNumber; in usbd_cdc_ecm_init() local449 desc->if0_union.bControlInterface = if_num; in usbd_cdc_ecm_init()450 desc->if0_union.bSubordinateInterface0 = if_num + 1; in usbd_cdc_ecm_init()
978 uint8_t if_num = desc->if0.bInterfaceNumber; in usbd_cdc_ncm_init() local981 desc->iad.bFirstInterface = if_num; in usbd_cdc_ncm_init()982 desc->if0_union.bControlInterface = if_num; in usbd_cdc_ncm_init()983 desc->if0_union.bSubordinateInterface0 = if_num + 1; in usbd_cdc_ncm_init()