Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 73) sorted by relevance

123

/hal_espressif-3.7.0/components/esp_wifi/src/
Dwifi_netif.c65 wifi_netif_driver_t driver = h; in wifi_transmit() local
66 return esp_wifi_internal_tx(driver->wifi_if, buffer, len); in wifi_transmit()
71 wifi_netif_driver_t driver = h; in wifi_transmit_wrap() local
73 return esp_wifi_internal_tx_by_ref(driver->wifi_if, buffer, len, netstack_buf); in wifi_transmit_wrap()
75 return esp_wifi_internal_tx(driver->wifi_if, buffer, len); in wifi_transmit_wrap()
81 wifi_netif_driver_t driver = args; in wifi_driver_start() local
82 driver->base.netif = esp_netif; in wifi_driver_start()
84 .handle = driver, in wifi_driver_start()
105 wifi_netif_driver_t driver = calloc(1, sizeof(struct wifi_netif_driver)); in esp_wifi_create_if_driver() local
106 if (driver == NULL) { in esp_wifi_create_if_driver()
[all …]
Dwifi_default.c43 wifi_netif_driver_t driver = esp_netif_get_io_driver(esp_netif); in wifi_start() local
45 if ((ret = esp_wifi_get_if_mac(driver, mac)) != ESP_OK) { in wifi_start()
51 if (esp_wifi_is_if_ready_when_started(driver)) { in wifi_start()
52 if ((ret = esp_wifi_register_if_rxcb(driver, esp_netif_receive, esp_netif)) != ESP_OK) { in wifi_start()
53 ESP_LOGE(TAG, "esp_wifi_register_if_rxcb for if=%p failed with %d", driver, ret); in wifi_start()
89 wifi_netif_driver_t driver = esp_netif_get_io_driver(esp_netif); in wifi_default_action_sta_connected() local
91 if (!esp_wifi_is_if_ready_when_started(driver)) { in wifi_default_action_sta_connected()
93 … if ((ret = esp_wifi_register_if_rxcb(driver, esp_netif_receive, esp_netif)) != ESP_OK) { in wifi_default_action_sta_connected()
94 ESP_LOGE(TAG, "esp_wifi_register_if_rxcb for if=%p failed with %d", driver, ret); in wifi_default_action_sta_connected()
310 wifi_netif_driver_t driver = esp_netif_get_io_driver(esp_netif); in disconnect_and_destroy() local
[all …]
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/dma/main/
Dtest_async_memcpy.c110 async_memcpy_t driver = NULL; variable
111 TEST_ESP_OK(esp_async_memcpy_install(&config, &driver));
115 TEST_ESP_OK(esp_async_memcpy(driver, dbuf, sbuf, 256, NULL, NULL));
125 TEST_ESP_OK(esp_async_memcpy_uninstall(driver));
132 async_memcpy_t driver = NULL; variable
133 TEST_ESP_OK(esp_async_memcpy_install(&config, &driver));
146 …TEST_ESP_OK(esp_async_memcpy(driver, test_context.to_addr, test_context.from_addr, test_context.bu…
152 TEST_ESP_OK(esp_async_memcpy_uninstall(driver));
158 async_memcpy_t driver = NULL; variable
159 TEST_ESP_OK(esp_async_memcpy_install(&config, &driver));
[all …]
/hal_espressif-3.7.0/components/spi_flash/
Dmemspi_host_driver.c71 host->inst.driver = &esp_flash_default_host; in memspi_host_init_pointers()
73 host->inst.driver = &esp_flash_gpspi_host; in memspi_host_init_pointers()
76 host->inst.driver = &esp_flash_default_host; in memspi_host_init_pointers()
95 host->driver->common_command(host, &t); in memspi_host_read_id_hs()
120 esp_err_t err = host->driver->common_command(host, &t); in memspi_host_read_status_hs()
140 host->driver->common_command(host, &t); in memspi_host_erase_chip()
152 host->driver->common_command(host, &t); in memspi_host_erase_sector()
164 host->driver->common_command(host, &t); in memspi_host_erase_block()
178 host->driver->common_command(host, &t); in memspi_host_program_page()
190 host->driver->common_command(host, &t); in memspi_host_read()
[all …]
Dspi_flash_chip_winbond.c66 …uint32_t read_len = chip->host->driver->read_data_slicer(chip->host, address, length, &align_addre… in spi_flash_chip_winbond_read()
69 err = chip->host->driver->read(chip->host, temp_buffer, align_address, read_len); in spi_flash_chip_winbond_read()
112 if (chip->host->driver->flush_cache) { in spi_flash_chip_winbond_erase_sector()
113 … err = chip->host->driver->flush_cache(chip->host, start_address, chip->chip_drv->sector_size); in spi_flash_chip_winbond_erase_sector()
136 if (chip->host->driver->flush_cache) { in spi_flash_chip_winbond_erase_block()
137 …err = chip->host->driver->flush_cache(chip->host, start_address, chip->chip_drv->block_erase_size); in spi_flash_chip_winbond_erase_block()
213 return chip->host->driver->common_command(chip->host, &t); in spi_flash_command_winbond_program_4B()
224 return chip->host->driver->common_command(chip->host, &t); in spi_flash_command_winbond_erase_sector_4B()
235 return chip->host->driver->common_command(chip->host, &t); in spi_flash_command_erase_block_4B()
Dspi_flash_chip_mxic_opi.c77 err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_set_write_protect()
110 chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_read_id()
144 esp_err_t err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_read_reg()
182 err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_erase_chip()
212 err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_erase_sector()
241 err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_erase_block()
272 chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_page_program()
293 …uint32_t page_len = chip->host->driver->write_data_slicer(chip->host, address, length, &align_addr… in spi_flash_chip_mxic_opi_write()
325 esp_err_t err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_mxic_opi_get_io_mode()
384 …return chip->host->driver->configure_host_io_mode(chip->host, read_command, addr_bitlen, dummy_cyc… in spi_flash_chip_xmic_opi_config_host_io_mode()
Dspi_flash_chip_generic.c128 esp_err_t err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_generic_reset()
136 err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_generic_reset()
156 chip->host->driver->erase_chip(chip->host); in spi_flash_chip_generic_erase_chip()
182 chip->host->driver->erase_sector(chip->host, start_address); in spi_flash_chip_generic_erase_sector()
208 chip->host->driver->erase_block(chip->host, start_address); in spi_flash_chip_generic_erase_block()
243 …uint32_t read_len = chip->host->driver->read_data_slicer(chip->host, address, length, &align_addre… in spi_flash_chip_generic_read()
246 err = chip->host->driver->read(chip->host, temp_buffer, align_address, read_len); in spi_flash_chip_generic_read()
266 chip->host->driver->program_page(chip->host, buffer, address, length); in spi_flash_chip_generic_page_program()
287 …uint32_t page_len = chip->host->driver->write_data_slicer(chip->host, address, length, &align_addr… in spi_flash_chip_generic_write()
376 chip->host->driver->set_write_protect(chip->host, write_protect); in spi_flash_chip_generic_set_write_protect()
[all …]
DKconfig1 menu "SPI Flash driver"
50 bool "Enable SPI flash ROM driver patched functions"
53 Enable this flag to use patched versions of SPI flash ROM driver functions.
63 Enable this flag to use new SPI flash driver functions from ROM instead of ESP-IDF.
108 devices on a same bus, but may reduce the speed of esp_flash driver access to the
111 If you only need to use esp_flash driver to access the main flash chip, disable
178 SPI Flash driver uses the flash size configured in bootloader header by default.
189 bool "Override default chip driver list"
192 …This option allows the chip driver list to be customized, instead of using the default list provid…
256 size. Note that the default chip driver supports the GD chips with product ID
/hal_espressif-3.7.0/components/hal/
Dspi_flash_hal_iram.c31 host->driver->poll_cmd_done(host); in spi_flash_hal_erase_chip()
34 host->driver->poll_cmd_done(host); in spi_flash_hal_erase_chip()
48 host->driver->poll_cmd_done(host); in spi_flash_hal_erase_sector()
51 host->driver->poll_cmd_done(host); in spi_flash_hal_erase_sector()
64 host->driver->poll_cmd_done(host); in spi_flash_hal_erase_block()
67 host->driver->poll_cmd_done(host); in spi_flash_hal_erase_block()
78 host->driver->poll_cmd_done(host); in spi_flash_hal_program_page()
85 host->driver->poll_cmd_done(host); in spi_flash_hal_set_write_protect()
/hal_espressif-3.7.0/components/esp_netif/
DREADME.md44 * `........` Initialization line from user code to esp-netif and comm driver
48 * `********` Events agregated in ESP-NETIP propagates to driver, user code and network stack
62 3) IO driver specific options (transmit, tx_free functions, IO driver handle)
69 ### B) Communication driver, IO driver, media driver
74 network stack are passed to the IO driver
79 * IO API: for passing data between IO driver and network stack
87 * driver conversion utilities
/hal_espressif-3.7.0/components/esp_hw_support/
DREADME.md13 ### esp_etm driver design
15 `esp_etm` driver is divided into two parts:
17 * The **core** driver, which focuses on ETM channel allocation and offers APIs to connect the chann…
18driver, and can be located in different components. Usually, the task and event extensions will si…
20 …am, we take the GPIO and GPTimer as the example to illustrate the architecture of `esp_etm` driver.
/hal_espressif-3.7.0/components/esp_netif/include/
Desp_netif_defaults.h129 .driver = NULL, \
140 .driver = NULL, \
152 .driver = NULL, \
163 .driver = NULL, \
174 .driver = NULL, \
/hal_espressif-3.7.0/zephyr/esp32c6/
DCMakeLists.txt63 ../../components/driver/include
64 ../../components/driver/deprecated
65 ../../components/driver/gpio/include
66 ../../components/driver/uart/include
67 ../../components/driver/touch_sensor/include
68 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
69 ../../components/driver/spi/include
137 ../../components/driver/gpio/rtc_io.c
141 ../../components/driver/gpio/gpio.c
/hal_espressif-3.7.0/components/esp_adc/
DCMakeLists.txt29 # legacy calibration driver
36 PRIV_REQUIRES driver efuse
/hal_espressif-3.7.0/zephyr/esp32s2/
DCMakeLists.txt62 ../../components/driver/include
63 ../../components/driver/deprecated
64 ../../components/driver/gpio/include
65 ../../components/driver/uart/include
66 ../../components/driver/touch_sensor/include
67 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
68 ../../components/driver/spi/include
199 ../../components/driver/deprecated/dac_common_legacy.c
201 ../../components/driver/gpio/rtc_io.c
208 ../../components/driver/deprecated/adc_legacy.c
[all …]
/hal_espressif-3.7.0/components/esp_netif/test_apps/test_app_vfs_l2tap/main/
DCMakeLists.txt3 PRIV_REQUIRES cmock test_utils esp_netif driver esp_eth)
/hal_espressif-3.7.0/zephyr/esp32/
DCMakeLists.txt64 ../../components/driver/include
65 ../../components/driver/deprecated
66 ../../components/driver/gpio/include
67 ../../components/driver/uart/include
68 ../../components/driver/touch_sensor/include
69 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
70 ../../components/driver/spi/include
216 ../../components/driver/deprecated/dac_common_legacy.c
218 ../../components/driver/gpio/rtc_io.c
223 ../../components/driver/gpio/gpio.c
[all …]
/hal_espressif-3.7.0/components/spi_flash/test/
DCMakeLists.txt4 driver esp_timer)
/hal_espressif-3.7.0/components/esp_pm/
DCMakeLists.txt3 PRIV_REQUIRES esp_system driver esp_timer
/hal_espressif-3.7.0/components/driver/deprecated/driver/
Dperiph_ctrl.h7 #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions.
Drtc_cntl.h7 #warning driver/rtc_cntl.h header is no longer used, and will be removed in future versions.
/hal_espressif-3.7.0/components/esp_event/test_apps/main/
DCMakeLists.txt7 PRIV_REQUIRES esp_event driver esp_timer unity test_utils
/hal_espressif-3.7.0/zephyr/esp32c3/
DCMakeLists.txt63 ../../components/driver/include
64 ../../components/driver/deprecated
65 ../../components/driver/gpio/include
66 ../../components/driver/uart/include
67 ../../components/driver/touch_sensor/include
68 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
69 ../../components/driver/spi/include
183 ../../components/driver/gpio/rtc_io.c
188 ../../components/driver/gpio/gpio.c
196 ../../components/driver/deprecated/rtc_temperature_legacy.c
[all …]
/hal_espressif-3.7.0/components/newlib/test_apps/newlib/main/
DCMakeLists.txt12 … PRIV_REQUIRES unity vfs cmock driver esp_timer spi_flash test_utils pthread esp_psram
/hal_espressif-3.7.0/zephyr/esp32s3/
DCMakeLists.txt65 ../../components/driver/include
66 ../../components/driver/deprecated
67 ../../components/driver/gpio/include
68 ../../components/driver/uart/include
69 ../../components/driver/touch_sensor/include
70 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
71 ../../components/driver/spi/include
205 ../../components/driver/deprecated/adc_legacy.c
210 ../../components/driver/gpio/rtc_io.c
247 ../../components/driver/gpio/gpio.c
[all …]

123