Home
last modified time | relevance | path

Searched refs:bInterfaceNumber (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c64 .bInterfaceNumber = 0,
115 .bInterfaceNumber = 1,
129 .bInterfaceNumber = 1,
163 return cdc_ecm_cfg.if0.bInterfaceNumber; in ecm_get_first_iface_number()
340 uint8_t iface_num = if_desc->bInterfaceNumber; in ecm_status_interface()
405 uint8_t bInterfaceNumber) in ecm_interface_config() argument
416 cdc_ecm_cfg.if0.bInterfaceNumber = bInterfaceNumber; in ecm_interface_config()
417 cdc_ecm_cfg.if0_union.bControlInterface = bInterfaceNumber; in ecm_interface_config()
418 cdc_ecm_cfg.if0_union.bSubordinateInterface0 = bInterfaceNumber + 1; in ecm_interface_config()
419 cdc_ecm_cfg.if1_0.bInterfaceNumber = bInterfaceNumber + 1; in ecm_interface_config()
[all …]
Dfunction_eem.c38 .bInterfaceNumber = 0,
72 return cdc_eem_cfg.if0.bInterfaceNumber; in eem_get_first_iface_number()
225 uint8_t iface_num = if_desc->bInterfaceNumber; in eem_status_interface()
274 uint8_t bInterfaceNumber) in eem_interface_config() argument
278 cdc_eem_cfg.if0.bInterfaceNumber = bInterfaceNumber; in eem_interface_config()
Dfunction_rndis.c70 .bInterfaceNumber = 0,
92 .bInterfaceNumber = 1,
1120 uint8_t bInterfaceNumber) in netusb_interface_config() argument
1124 rndis_cfg.if0.bInterfaceNumber = bInterfaceNumber; in netusb_interface_config()
1125 rndis_cfg.if1.bInterfaceNumber = bInterfaceNumber + 1; in netusb_interface_config()
1126 rndis_cfg.iad.bFirstInterface = bInterfaceNumber; in netusb_interface_config()
/Zephyr-latest/subsys/usb/device/class/
Dloopback.c39 .bInterfaceNumber = 0,
161 uint8_t bInterfaceNumber) in loopback_interface_config() argument
165 loopback_cfg.if0.bInterfaceNumber = bInterfaceNumber; in loopback_interface_config()
Dcdc_acm.c455 uint8_t bInterfaceNumber) in cdc_interface_config() argument
461 desc->if0.bInterfaceNumber = bInterfaceNumber; in cdc_interface_config()
462 desc->if0_union.bControlInterface = bInterfaceNumber; in cdc_interface_config()
463 desc->if1.bInterfaceNumber = bInterfaceNumber + 1; in cdc_interface_config()
464 desc->if0_union.bSubordinateInterface0 = bInterfaceNumber + 1; in cdc_interface_config()
465 desc->iad_cdc.bFirstInterface = bInterfaceNumber; in cdc_interface_config()
1096 .bInterfaceNumber = iface_num, \
Dbluetooth.c66 .bInterfaceNumber = 0,
439 uint8_t bInterfaceNumber) in bluetooth_interface_config() argument
443 bluetooth_cfg.if0.bInterfaceNumber = bInterfaceNumber; in bluetooth_interface_config()
Dmsc.c134 .bInterfaceNumber = 0,
343 if (setup->wIndex != mass_cfg.if0.bInterfaceNumber || in mass_storage_class_handle_req()
954 uint8_t bInterfaceNumber) in mass_interface_config() argument
958 mass_cfg.if0.bInterfaceNumber = bInterfaceNumber; in mass_interface_config()
/Zephyr-latest/samples/subsys/dap/src/
Dmain.c217 .bInterfaceNumber = 0,
292 uint8_t bInterfaceNumber) in dapusb_interface_config() argument
296 dapusb_desc.if0.bInterfaceNumber = bInterfaceNumber; in dapusb_interface_config()
298 msosv2_cmsis_dap_desc.subset_header.bFirstInterface = bInterfaceNumber; in dapusb_interface_config()
/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c48 .bInterfaceNumber = 0, \
120 if_desc->bInterfaceNumber = iface_num; in interface_config()
172 LOG_DBG("iface %u", if_descr->bInterfaceNumber); in check_endpoint_allocation()
175 zassert_equal(if_descr->bInterfaceNumber, interfaces, in check_endpoint_allocation()
/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c307 uint8_t bInterfaceNumber) in audio_interface_config() argument
315 iad->bFirstInterface = bInterfaceNumber; in audio_interface_config()
319 iface->bInterfaceNumber = bInterfaceNumber; in audio_interface_config()
322 header->baInterfaceNr[0] = bInterfaceNumber + 1; in audio_interface_config()
327 iface->bInterfaceNumber = bInterfaceNumber + 1; in audio_interface_config()
332 iface->bInterfaceNumber = bInterfaceNumber + 1; in audio_interface_config()
335 header->baInterfaceNr[1] = bInterfaceNumber + 2; in audio_interface_config()
339 iface->bInterfaceNumber = bInterfaceNumber + 2; in audio_interface_config()
344 iface->bInterfaceNumber = bInterfaceNumber + 2; in audio_interface_config()
799 if (if_desc->bInterfaceNumber == iface) { in audio_custom_handler()
/Zephyr-latest/tests/subsys/usb/uac2/src/
Duac2_desc.c317 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER); in test_uac2_descriptors()
357 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER + 1); in test_uac2_descriptors()
371 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER + 1); in test_uac2_descriptors()
418 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER + 2); in test_uac2_descriptors()
432 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER + 2); in test_uac2_descriptors()
548 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER); in ZTEST()
576 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER + 1); in ZTEST()
590 zassert_equal(iface->bInterfaceNumber, FIRST_INTERFACE_NUMBER + 1); in ZTEST()
/Zephyr-latest/subsys/usb/device_next/class/
Dloopback.c169 .bInterfaceNumber = 0, \
222 .bInterfaceNumber = 1, \
254 .bInterfaceNumber = 2, \
284 .bInterfaceNumber = 2, \
Dusbd_cdc_ecm.c99 return desc->if0.bInterfaceNumber; in cdc_ecm_get_ctrl_if()
365 const uint8_t data_iface = desc->if1_1.bInterfaceNumber; in usbd_cdc_ecm_update()
446 const uint8_t if_num = desc->if0.bInterfaceNumber; in usbd_cdc_ecm_init()
662 .bInterfaceNumber = 0, \
718 .bInterfaceNumber = 1, \
730 .bInterfaceNumber = 1, \
Dbt_hci.c492 .bInterfaceNumber = 0, \
548 .bInterfaceNumber = 1, \
578 .bInterfaceNumber = 1, \
Dusbd_hid_macros.h128 .bInterfaceNumber = 0, \
Dusbd_cdc_ncm.c242 return desc->if0.bInterfaceNumber; in cdc_ncm_get_ctrl_if()
831 uint8_t data_iface = desc->if1_1.bInterfaceNumber; in usbd_cdc_ncm_update()
978 uint8_t if_num = desc->if0.bInterfaceNumber; in usbd_cdc_ncm_init()
1213 .bInterfaceNumber = 0, \
1277 .bInterfaceNumber = 1, \
1289 .bInterfaceNumber = 1, \
/Zephyr-latest/subsys/usb/device_next/
Dusbd_init.c151 ifd->bInterfaceNumber = tmp_nif; in init_configuration_inst()
155 ifd->bInterfaceNumber = tmp_nif - 1; in init_configuration_inst()
167 ifd->bInterfaceNumber, ifd->bAlternateSetting); in init_configuration_inst()
Dusbd_interface.c79 if (ifd->bInterfaceNumber == iface && in usbd_interface_modify()
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c116 .bInterfaceNumber = 0,
192 .bInterfaceNumber = 0,
204 .bInterfaceNumber = 0,
842 uint8_t bInterfaceNumber) in dfu_interface_config() argument
846 dfu_cfg.if0.bInterfaceNumber = bInterfaceNumber; in dfu_interface_config()
/Zephyr-latest/subsys/usb/device/class/hid/
Dcore.c57 .bInterfaceNumber = 0, \
70 .bInterfaceNumber = 0, \
619 uint8_t bInterfaceNumber) in hid_interface_config() argument
627 desc->if0.bInterfaceNumber = bInterfaceNumber; in hid_interface_config()
/Zephyr-latest/subsys/tracing/
Dtracing_backend_usb.c43 .bInterfaceNumber = 0,
/Zephyr-latest/samples/subsys/usb/webusb/src/
Dwebusb.c48 .bInterfaceNumber = 0, \
/Zephyr-latest/include/zephyr/usb/
Dusb_device.h124 uint8_t bInterfaceNumber);
/Zephyr-latest/tests/subsys/usb/device/src/
Dmain.c34 .bInterfaceNumber = 0, \
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c447 if (if_descr->bInterfaceNumber == 0U) { in usb_fix_descriptor()
578 if (if_desc->bInterfaceNumber == iface_num) { in usb_get_dev_data_by_iface()

12