Searched refs:msc_device (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/components/msc/src/ |
D | msc_host.c | 256 msc_device_t *msc_device = find_msc_device(event->dev_gone.dev_hdl); in client_event_cb() local 257 if (msc_device) { in client_event_cb() 260 .device.handle = msc_device, in client_event_cb() 345 msc_device_t *msc_device; in msc_host_install_device() local 349 MSC_GOTO_ON_FALSE( msc_device = calloc(1, sizeof(msc_device_t)), ESP_ERR_NO_MEM ); in msc_host_install_device() 354 STAILQ_INSERT_TAIL(&devices_tailq, msc_device, tailq_entry); in msc_host_install_device() 357 MSC_GOTO_ON_FALSE( msc_device->transfer_done = xSemaphoreCreateBinary(), ESP_ERR_NO_MEM); in msc_host_install_device() 358 …ON_ERROR( usb_host_device_open(s_msc_driver->client_handle, device_address, &msc_device->handle) ); in msc_host_install_device() 359 MSC_GOTO_ON_ERROR( usb_host_get_active_config_descriptor(msc_device->handle, &config_desc) ); in msc_host_install_device() 360 MSC_GOTO_ON_ERROR( extract_config_from_descriptor(config_desc, &msc_device->config) ); in msc_host_install_device() [all …]
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/main/ |
D | msc_example_main.c | 128 msc_host_device_handle_t msc_device; in app_main() local 155 ESP_ERROR_CHECK( msc_host_install_device(device_address, &msc_device) ); in app_main() 157 msc_host_print_descriptors(msc_device); in app_main() 160 ESP_ERROR_CHECK( msc_host_get_device_info(msc_device, &info) ); in app_main() 170 ESP_ERROR_CHECK( msc_host_vfs_register(msc_device, "/usb", &mount_config, &vfs_handle) ); in app_main() 175 ESP_ERROR_CHECK( msc_host_uninstall_device(msc_device) ); in app_main()
|
/hal_espressif-3.6.0/components/tinyusb/ |
D | CMakeLists.txt | 48 "tinyusb/src/class/msc/msc_device.c"
|