Home
last modified time | relevance | path

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

123

/hal_espressif-latest/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-latest/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.c129 esp_err_t err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_generic_reset()
137 err = chip->host->driver->common_command(chip->host, &t); in spi_flash_chip_generic_reset()
157 chip->host->driver->erase_chip(chip->host); in spi_flash_chip_generic_erase_chip()
183 chip->host->driver->erase_sector(chip->host, start_address); in spi_flash_chip_generic_erase_sector()
209 chip->host->driver->erase_block(chip->host, start_address); in spi_flash_chip_generic_erase_block()
244 …uint32_t read_len = chip->host->driver->read_data_slicer(chip->host, address, length, &align_addre… in spi_flash_chip_generic_read()
247 err = chip->host->driver->read(chip->host, temp_buffer, align_address, read_len); in spi_flash_chip_generic_read()
267 chip->host->driver->program_page(chip->host, buffer, address, length); in spi_flash_chip_generic_page_program()
288 …uint32_t page_len = chip->host->driver->write_data_slicer(chip->host, address, length, &align_addr… in spi_flash_chip_generic_write()
314 chip->host->driver->set_write_protect(chip->host, write_protect); in spi_flash_chip_generic_set_write_protect()
[all …]
DKconfig118 menu "SPI Flash driver"
167 bool "Enable SPI flash ROM driver patched functions"
170 Enable this flag to use patched versions of SPI flash ROM driver functions.
180 Enable this flag to use new SPI flash driver functions from ROM instead of ESP-IDF.
225 devices on a same bus, but may reduce the speed of esp_flash driver access to the
228 If you only need to use esp_flash driver to access the main flash chip, disable
281 SPI Flash driver uses the flash size configured in bootloader header by default.
292 bool "Override default chip driver list"
295 …This option allows the chip driver list to be customized, instead of using the default list provid…
337 size. Note that the default chip driver supports the GD chips with product ID
/hal_espressif-latest/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-latest/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-latest/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-latest/components/esp_netif/include/
Desp_netif_defaults.h129 .driver = NULL, \
140 .driver = NULL, \
152 .driver = NULL, \
163 .driver = NULL, \
174 .driver = NULL, \
/hal_espressif-latest/components/esp_adc/
DCMakeLists.txt29 # legacy calibration driver
36 PRIV_REQUIRES driver efuse
/hal_espressif-latest/zephyr/esp32s2/
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
204 ../../components/driver/deprecated/dac_common_legacy.c
206 ../../components/driver/gpio/rtc_io.c
221 ../../components/driver/gpio/rtc_io.c
[all …]
/hal_espressif-latest/zephyr/esp32/
DCMakeLists.txt67 ../../components/driver/include
68 ../../components/driver/deprecated
69 ../../components/driver/gpio/include
70 ../../components/driver/uart/include
71 ../../components/driver/touch_sensor/include
72 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
73 ../../components/driver/spi/include
211 ../../components/driver/deprecated/dac_common_legacy.c
213 ../../components/driver/gpio/rtc_io.c
218 ../../components/driver/gpio/gpio.c
[all …]
/hal_espressif-latest/components/esp_pm/
DCMakeLists.txt3 PRIV_REQUIRES esp_system driver esp_timer
/hal_espressif-latest/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-latest/zephyr/esp32s3/
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
207 ../../components/driver/gpio/rtc_io.c
253 ../../components/driver/gpio/gpio.c
257 ../../components/driver/gpio/rtc_io.c
[all …]
/hal_espressif-latest/components/esp_psram/
DCMakeLists.txt8 # [refactor-todo]: requires "driver" for `spicommon_periph_claim`
9 list(APPEND priv_requires driver)
/hal_espressif-latest/components/hal/include/hal/
Dreadme.md4 versions. The HAL layer may update very frequently with the driver. Please don't use them in the ap…
25 To develop your own driver, it is suggested to copy the HAL layer to your own code and keep them un…
/hal_espressif-latest/components/esp_timer/
DCMakeLists.txt22 PRIV_REQUIRES soc driver)
/hal_espressif-latest/zephyr/esp32c3/
DCMakeLists.txt68 ../../components/driver/include
69 ../../components/driver/deprecated
70 ../../components/driver/gpio/include
71 ../../components/driver/uart/include
72 ../../components/driver/touch_sensor/include
73 ../../components/driver/touch_sensor/${CONFIG_SOC_SERIES}/include
74 ../../components/driver/spi/include
205 ../../components/driver/gpio/rtc_io.c
208 ../../components/driver/gpio/gpio.c
216 ../../components/driver/deprecated/rtc_temperature_legacy.c
[all …]
/hal_espressif-latest/zephyr/esp32c2/
DCMakeLists.txt66 ../../components/driver/include
67 ../../components/driver/deprecated
68 ../../components/driver/gpio/include
69 ../../components/driver/uart/include
70 ../../components/driver/touch_sensor/include
71 ../../components/driver/spi/include
171 ../../components/driver/gpio/rtc_io.c
174 ../../components/driver/gpio/gpio.c
295 ../../components/driver/deprecated/rtc_temperature_legacy.c
316 ../../components/driver/gpio/rtc_io.c
/hal_espressif-latest/components/esp_rom/esp32s2/ld/
Desp32s2.rom.spiflash.ld2 * SPI flash driver function, compatibility names.
/hal_espressif-latest/components/esp_rom/esp32/ld/
Desp32.rom.spiflash.ld2 Address table for SPI driver functions in ESP32 ROM.

123