/hal_espressif-3.6.0/examples/system/efuse/main/ |
D | efuse_main.c | 137 device_desc_t device_desc = { 0 }; in app_main() local 138 read_efuse_fields(&device_desc); in app_main() 143 if (device_desc.device_role == 0) { in app_main() 144 device_desc.module_version = 1; in app_main() 145 device_desc.device_role = 2; in app_main() 146 device_desc.setting_1 = 3; in app_main() 147 device_desc.setting_2 = 4; in app_main() 148 device_desc.custom_secure_version = 5; in app_main() 149 write_efuse_fields(&device_desc, coding_scheme); in app_main() 150 read_device_desc_efuse_fields(&device_desc); in app_main()
|
/hal_espressif-3.6.0/components/usb/test/usb_host/ |
D | msc_client_async_enum.c | 122 const usb_device_desc_t *device_desc; in msc_client_async_enum_task() local 124 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_get_device_descriptor(msc_obj.dev_hdl, &device_desc)); in msc_client_async_enum_task() 125 TEST_ASSERT_EQUAL(device_desc_ref->bLength, device_desc->bLength); in msc_client_async_enum_task() 126 … TEST_ASSERT_EQUAL(0, memcmp(device_desc_ref, device_desc, device_desc_ref->bLength)); in msc_client_async_enum_task()
|
D | ctrl_client_async_seq.c | 143 const usb_device_desc_t *device_desc; in ctrl_client_async_seq_task() local 144 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_get_device_descriptor(ctrl_obj.dev_hdl, &device_desc)); in ctrl_client_async_seq_task() 145 TEST_ASSERT_EQUAL(ctrl_obj.test_param.idVendor, device_desc->idVendor); in ctrl_client_async_seq_task() 146 TEST_ASSERT_EQUAL(ctrl_obj.test_param.idProduct, device_desc->idProduct); in ctrl_client_async_seq_task()
|
D | msc_client_async_seq.c | 178 const usb_device_desc_t *device_desc; in msc_client_async_seq_task() local 179 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_get_device_descriptor(msc_obj.dev_hdl, &device_desc)); in msc_client_async_seq_task() 180 TEST_ASSERT_EQUAL(msc_obj.test_param.idVendor, device_desc->idVendor); in msc_client_async_seq_task() 181 TEST_ASSERT_EQUAL(msc_obj.test_param.idProduct, device_desc->idProduct); in msc_client_async_seq_task()
|
D | msc_client_async_dconn.c | 188 const usb_device_desc_t *device_desc; in msc_client_async_dconn_task() local 189 … TEST_ASSERT_EQUAL(ESP_OK, usb_host_get_device_descriptor(msc_obj.dev_hdl, &device_desc)); in msc_client_async_dconn_task() 190 TEST_ASSERT_EQUAL(msc_obj.test_param.idVendor, device_desc->idVendor); in msc_client_async_dconn_task() 191 TEST_ASSERT_EQUAL(msc_obj.test_param.idProduct, device_desc->idProduct); in msc_client_async_dconn_task()
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/ |
D | cdc_acm_host.c | 343 const usb_device_desc_t *device_desc; in cdc_acm_find_and_open_usb_device() local 344 ESP_ERROR_CHECK(usb_host_get_device_descriptor(cdc_dev->dev_hdl, &device_desc)); in cdc_acm_find_and_open_usb_device() 345 if (device_desc->idVendor == vid && device_desc->idProduct == pid) { in cdc_acm_find_and_open_usb_device() 371 const usb_device_desc_t *device_desc; in cdc_acm_find_and_open_usb_device() local 372 ESP_ERROR_CHECK(usb_host_get_device_descriptor(current_device, &device_desc)); in cdc_acm_find_and_open_usb_device() 373 if (device_desc->idVendor == vid && device_desc->idProduct == pid) { in cdc_acm_find_and_open_usb_device() 627 const usb_device_desc_t *device_desc; in cdc_acm_find_intf_and_ep_desc() local 632 ESP_ERROR_CHECK(usb_host_get_device_descriptor(cdc_dev->dev_hdl, &device_desc)); in cdc_acm_find_intf_and_ep_desc() 635 …if ((device_desc->bDeviceClass == USB_CLASS_MISC) && (device_desc->bDeviceSubClass == USB_SUBCLASS… in cdc_acm_find_intf_and_ep_desc() 636 (device_desc->bDeviceProtocol == USB_DEVICE_PROTOCOL_IAD)) { in cdc_acm_find_intf_and_ep_desc() [all …]
|
/hal_espressif-3.6.0/components/usb/ |
D | hub.c | 431 …const usb_device_desc_t *device_desc = (usb_device_desc_t *)(transfer->data_buffer + sizeof(usb_se… in enum_stage_transfer_check() local 433 if (device_desc->bDescriptorType != USB_B_DESCRIPTOR_TYPE_DEVICE) { in enum_stage_transfer_check() 439 if (hcd_pipe_update_mps(enum_ctrl->pipe, device_desc->bMaxPacketSize0) != ESP_OK) { in enum_stage_transfer_check() 445 enum_ctrl->bMaxPacketSize0 = device_desc->bMaxPacketSize0; in enum_stage_transfer_check() 458 …const usb_device_desc_t *device_desc = (const usb_device_desc_t *)(transfer->data_buffer + sizeof(… in enum_stage_transfer_check() local 459 ESP_ERROR_CHECK(usbh_hub_enum_fill_dev_desc(enum_ctrl->dev_hdl, device_desc)); in enum_stage_transfer_check() 460 enum_ctrl->iManufacturer = device_desc->iManufacturer; in enum_stage_transfer_check() 461 enum_ctrl->iProduct = device_desc->iProduct; in enum_stage_transfer_check() 462 enum_ctrl->iSerialNumber = device_desc->iSerialNumber; in enum_stage_transfer_check()
|
D | usbh.c | 977 …rr_t usbh_hub_enum_fill_dev_desc(usb_device_handle_t dev_hdl, const usb_device_desc_t *device_desc) in usbh_hub_enum_fill_dev_desc() argument 979 USBH_CHECK(dev_hdl != NULL && device_desc != NULL, ESP_ERR_INVALID_ARG); in usbh_hub_enum_fill_dev_desc() 982 memcpy((usb_device_desc_t *)dev_obj->constant.desc, device_desc, sizeof(usb_device_desc_t)); in usbh_hub_enum_fill_dev_desc()
|
D | usb_host.c | 902 … usb_host_get_device_descriptor(usb_device_handle_t dev_hdl, const usb_device_desc_t **device_desc) in usb_host_get_device_descriptor() argument 904 HOST_CHECK(dev_hdl != NULL && device_desc != NULL, ESP_ERR_INVALID_ARG); in usb_host_get_device_descriptor() 905 return usbh_dev_get_desc(dev_hdl, device_desc); in usb_host_get_device_descriptor()
|
/hal_espressif-3.6.0/components/usb/test/hcd/ |
D | test_hcd_common.c | 292 …usb_device_desc_t *device_desc = (usb_device_desc_t *)(urb->transfer.data_buffer + sizeof(usb_setu… in test_hcd_enum_device() local 293 TEST_ASSERT_EQUAL(ESP_OK, hcd_pipe_update_mps(default_pipe, device_desc->bMaxPacketSize0)); in test_hcd_enum_device()
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/ |
D | msc_host.c | 472 const usb_device_desc_t *device_desc; in msc_host_print_descriptors() local 474 MSC_RETURN_ON_ERROR( usb_host_get_device_descriptor(dev->handle, &device_desc) ); in msc_host_print_descriptors() 476 usb_print_device_descriptor(device_desc); in msc_host_print_descriptors()
|
/hal_espressif-3.6.0/components/usb/include/usb/ |
D | usb_host.h | 330 …usb_host_get_device_descriptor(usb_device_handle_t dev_hdl, const usb_device_desc_t **device_desc);
|
/hal_espressif-3.6.0/components/usb/private_include/ |
D | usbh.h | 378 …r_t usbh_hub_enum_fill_dev_desc(usb_device_handle_t dev_hdl, const usb_device_desc_t *device_desc);
|