Home
last modified time | relevance | path

Searched refs:if_desc (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c339 const struct usb_if_descriptor *if_desc = (void *)desc; in ecm_status_interface() local
340 uint8_t iface_num = if_desc->bInterfaceNumber; in ecm_status_interface()
341 uint8_t alt_set = if_desc->bAlternateSetting; in ecm_status_interface()
343 LOG_DBG("iface %u alt_set %u", iface_num, if_desc->bAlternateSetting); in ecm_status_interface()
Dfunction_eem.c224 const struct usb_if_descriptor *if_desc = (void *)desc; in eem_status_interface() local
225 uint8_t iface_num = if_desc->bInterfaceNumber; in eem_status_interface()
/Zephyr-latest/subsys/usb/device/class/hid/
Dcore.c293 struct usb_if_descriptor *if_desc = (void *)cfg->interface_descriptor; in usb_set_hid_report_size() local
295 CONTAINER_OF(if_desc, struct usb_hid_config, if0); in usb_set_hid_report_size()
297 LOG_DBG("if_desc %p desc %p size %u", if_desc, desc, size); in usb_set_hid_report_size()
621 struct usb_if_descriptor *if_desc = (struct usb_if_descriptor *)head; in hid_interface_config() local
623 CONTAINER_OF(if_desc, struct usb_hid_config, if0); in hid_interface_config()
650 struct usb_if_descriptor *if_desc = cfg->interface_descriptor; in usb_hid_set_proto_code() local
653 if_desc->bInterfaceProtocol = proto_code; in usb_hid_set_proto_code()
/Zephyr-latest/tests/subsys/usb/desc_sections/src/
Ddesc_sections.c116 struct usb_if_descriptor *if_desc = (struct usb_if_descriptor *)head; in interface_config() local
120 if_desc->bInterfaceNumber = iface_num; in interface_config()
/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c773 const struct usb_if_descriptor *if_desc; in audio_custom_handler() local
795 if_desc = (struct usb_if_descriptor *)((uint8_t *)header + in audio_custom_handler()
799 if (if_desc->bInterfaceNumber == iface) { in audio_custom_handler()
800 ep_desc = (struct usb_ep_descriptor *)((uint8_t *)if_desc + in audio_custom_handler()
810 if_desc = (struct usb_if_descriptor *)((uint8_t *)if_desc + in audio_custom_handler()
812 ep_desc = (struct usb_ep_descriptor *)((uint8_t *)if_desc + in audio_custom_handler()
/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c575 const struct usb_if_descriptor *if_desc = in usb_get_dev_data_by_iface() local
578 if (if_desc->bInterfaceNumber == iface_num) { in usb_get_dev_data_by_iface()
Dusb_device.c759 const uint8_t *if_desc = NULL; in usb_set_interface() local
778 if_desc = (void *)p; in usb_set_interface()
800 usb_dev.status_callback(USB_DC_INTERFACE, if_desc); in usb_set_interface()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c457 struct usb_if_descriptor *if_desc = (struct usb_if_descriptor *) head; in cdc_interface_config() local
459 CONTAINER_OF(if_desc, struct usb_cdc_acm_config, if0); in cdc_interface_config()