Home
last modified time | relevance | path

Searched refs:hs_desc (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/subsys/usb/device_next/
Dusbd_desc.c122 struct usb_device_descriptor *hs_desc, *fs_desc; in usbd_add_descriptor() local
127 hs_desc = uds_ctx->hs_desc; in usbd_add_descriptor()
129 if (!fs_desc || !hs_desc || usbd_is_initialized(uds_ctx)) { in usbd_add_descriptor()
167 hs_desc->iManufacturer = desc_nd->str.idx; in usbd_add_descriptor()
171 hs_desc->iProduct = desc_nd->str.idx; in usbd_add_descriptor()
175 hs_desc->iSerialNumber = desc_nd->str.idx; in usbd_add_descriptor()
Dusbd_device.c48 return uds_ctx->hs_desc; in get_device_descriptor()
79 struct usb_device_descriptor *fs_desc, *hs_desc; in usbd_device_set_vid() local
92 hs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_HS); in usbd_device_set_vid()
93 hs_desc->idVendor = sys_cpu_to_le16(vid); in usbd_device_set_vid()
103 struct usb_device_descriptor *fs_desc, *hs_desc; in usbd_device_set_pid() local
116 hs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_HS); in usbd_device_set_pid()
117 hs_desc->idProduct = sys_cpu_to_le16(pid); in usbd_device_set_pid()
127 struct usb_device_descriptor *fs_desc, *hs_desc; in usbd_device_set_bcd_device() local
140 hs_desc = get_device_descriptor(uds_ctx, USBD_SPEED_HS); in usbd_device_set_bcd_device()
141 hs_desc->bcdDevice = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_device()
Dusbd_device.h49 desc = uds_ctx->hs_desc; in usbd_get_num_configs()
74 desc = uds_ctx->hs_desc; in usbd_set_num_configs()
Dusbd_ch9.c623 head = uds_ctx->hs_desc; in sreq_get_desc_dev()
674 uds_ctx->hs_desc : uds_ctx->fs_desc; in sreq_get_dev_qualifier()
736 dev_dsc = uds_ctx->hs_desc; in sreq_get_desc_bos()
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dsfunc.c38 const struct usb_desc_header **const hs_desc; member
109 return data->hs_desc; in sfunc_get_desc()
267 .hs_desc = sfunc_hs_desc_##n, \
/Zephyr-latest/subsys/usb/device_next/class/
Dloopback.c54 const struct usb_desc_header **const hs_desc; member
130 return data->hs_desc; in lb_get_desc()
357 .hs_desc = lb_hs_desc_##x, \
Dbt_hci.c114 const struct usb_desc_header **const hs_desc; member
453 return data->hs_desc; in bt_hci_get_desc()
646 .hs_desc = bt_hci_hs_desc_##n, \
Dusbd_cdc_ecm.c86 const struct usb_desc_header **const hs_desc; member
479 return data->hs_desc; in usbd_cdc_ecm_get_desc()
826 .hs_desc = cdc_ecm_hs_desc_##n, \
Dusbd_hid.c69 const struct usb_desc_header **hs_desc; member
483 return dcfg->hs_desc; in usbd_hid_get_desc()
763 .hs_desc = hid_hs_desc_##n, \
Dusbd_msc.c117 const struct usb_desc_header **const hs_desc; member
759 return ctx->hs_desc; in msc_bot_get_desc()
869 .hs_desc = msc_bot_hs_desc_##x, \
Dusbd_cdc_acm.c89 const struct usb_desc_header **const hs_desc; member
339 return data->hs_desc; in usbd_cdc_acm_get_desc()
1264 .hs_desc = cdc_acm_hs_desc_##n, \
Dusbd_cdc_ncm.c223 const struct usb_desc_header **const hs_desc; member
1013 return data->hs_desc; in usbd_cdc_ncm_get_desc()
1387 .hs_desc = cdc_ncm_hs_desc_##n, \
/Zephyr-latest/include/zephyr/usb/
Dusbd.h305 void *hs_desc; member
509 .hs_desc = &hs_desc_##device_name, \