/hal_espressif-3.6.0/components/esp_lcd/src/ |
D | esp_lcd_panel_io_i2s.c | 67 esp_pm_lock_handle_t pm_lock; // lock APB frequency when necessary member 209 if (bus->pm_lock) { in esp_lcd_new_i80_bus() 210 esp_pm_lock_delete(bus->pm_lock); in esp_lcd_new_i80_bus() 225 if (bus->pm_lock) { in esp_lcd_del_i80_bus() 226 esp_pm_lock_delete(bus->pm_lock); in esp_lcd_del_i80_bus() 484 if (bus->pm_lock) { in panel_io_i80_tx_param() 485 esp_pm_lock_acquire(bus->pm_lock); in panel_io_i80_tx_param() 506 if (bus->pm_lock) { in panel_io_i80_tx_param() 507 esp_pm_lock_release(bus->pm_lock); in panel_io_i80_tx_param() 546 if (bus->pm_lock) { in panel_io_i80_tx_color() [all …]
|
D | esp_lcd_panel_io_i80.c | 60 esp_pm_lock_handle_t pm_lock; // Power management lock member 192 if (bus->pm_lock) { in esp_lcd_new_i80_bus() 193 esp_pm_lock_delete(bus->pm_lock); in esp_lcd_new_i80_bus() 212 if (bus->pm_lock) { in esp_lcd_del_i80_bus() 213 esp_pm_lock_delete(bus->pm_lock); in esp_lcd_del_i80_bus() 399 if (bus->pm_lock) { in panel_io_i80_tx_param() 400 esp_pm_lock_acquire(bus->pm_lock); in panel_io_i80_tx_param() 406 if (bus->pm_lock) { in panel_io_i80_tx_param() 407 esp_pm_lock_release(bus->pm_lock); in panel_io_i80_tx_param() 455 ret = esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "i80_bus_lcd", &bus->pm_lock); in lcd_i80_select_periph_clock() [all …]
|
D | esp_lcd_rgb_panel.c | 72 esp_pm_lock_handle_t pm_lock; // Power management lock member 209 if (rgb_panel->pm_lock) { in esp_lcd_new_rgb_panel() 210 esp_pm_lock_release(rgb_panel->pm_lock); in esp_lcd_new_rgb_panel() 211 esp_pm_lock_delete(rgb_panel->pm_lock); in esp_lcd_new_rgb_panel() 230 if (rgb_panel->pm_lock) { in rgb_panel_del() 231 esp_pm_lock_release(rgb_panel->pm_lock); in rgb_panel_del() 232 esp_pm_lock_delete(rgb_panel->pm_lock); in rgb_panel_del() 447 ret = esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "rgb_panel", &panel->pm_lock); in lcd_rgb_panel_select_periph_clock() 450 esp_pm_lock_acquire(panel->pm_lock); in lcd_rgb_panel_select_periph_clock()
|
/hal_espressif-3.6.0/components/driver/ |
D | spi_slave.c | 66 esp_pm_lock_handle_t pm_lock; member 175 &spihost[host]->pm_lock); in spi_slave_initialize() 181 esp_pm_lock_acquire(spihost[host]->pm_lock); in spi_slave_initialize() 235 if (spihost[host]->pm_lock) { in spi_slave_initialize() 236 esp_pm_lock_release(spihost[host]->pm_lock); in spi_slave_initialize() 237 esp_pm_lock_delete(spihost[host]->pm_lock); in spi_slave_initialize() 266 esp_pm_lock_release(spihost[host]->pm_lock); in spi_slave_free() 267 esp_pm_lock_delete(spihost[host]->pm_lock); in spi_slave_free()
|
D | twai.c | 87 esp_pm_lock_handle_t pm_lock; member 312 if (p_obj->pm_lock != NULL) { in twai_free_driver_obj() 313 ESP_ERROR_CHECK(esp_pm_lock_delete(p_obj->pm_lock)); in twai_free_driver_obj() 384 esp_err_t pm_err = esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "twai", &(p_obj->pm_lock)); in twai_alloc_driver_obj() 450 …ESP_ERROR_CHECK(esp_pm_lock_acquire(p_twai_obj->pm_lock)); //Acquire pm_lock to keep APB clock… in twai_driver_install() 478 ESP_ERROR_CHECK(esp_pm_lock_release(p_twai_obj_dummy->pm_lock)); in twai_driver_uninstall()
|
D | spi_slave_hd.c | 46 esp_pm_lock_handle_t pm_lock; member 141 ret = esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "spi_slave", &host->pm_lock); in spi_slave_hd_init() 146 esp_pm_lock_acquire(host->pm_lock); in spi_slave_hd_init() 235 if (host->pm_lock) { in spi_slave_hd_deinit() 236 esp_pm_lock_release(host->pm_lock); in spi_slave_hd_deinit() 237 esp_pm_lock_delete(host->pm_lock); in spi_slave_hd_deinit()
|
D | adc.c | 95 esp_pm_lock_handle_t pm_lock; //For power management member 192 ret = esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "adc_dma", &s_adc_digi_ctx->pm_lock); in adc_digi_initialize() 381 esp_pm_lock_acquire(s_adc_digi_ctx->pm_lock); in adc_digi_start() 446 if (s_adc_digi_ctx->pm_lock) { in adc_digi_stop() 447 esp_pm_lock_release(s_adc_digi_ctx->pm_lock); in adc_digi_stop() 526 if (s_adc_digi_ctx->pm_lock) { in adc_digi_deinitialize() 527 esp_pm_lock_delete(s_adc_digi_ctx->pm_lock); in adc_digi_deinitialize()
|
D | i2s.c | 101 esp_pm_lock_handle_t pm_lock; member 1891 esp_pm_lock_type_t pm_lock = ESP_PM_APB_FREQ_MAX; in i2s_driver_install() local 1894 pm_lock = ESP_PM_NO_LIGHT_SLEEP; in i2s_driver_install() 1897 …ESP_GOTO_ON_ERROR(esp_pm_lock_create(pm_lock, 0, "i2s_driver", &pre_alloc_i2s_obj->pm_lock), err, … in i2s_driver_install() 1995 if (p_i2s[i2s_num]->pm_lock) { in i2s_driver_uninstall() 1996 esp_pm_lock_delete(p_i2s[i2s_num]->pm_lock); in i2s_driver_uninstall() 1997 p_i2s[i2s_num]->pm_lock = NULL; in i2s_driver_uninstall() 2041 esp_pm_lock_acquire(p_i2s[i2s_num]->pm_lock); in i2s_write() 2065 esp_pm_lock_release(p_i2s[i2s_num]->pm_lock); in i2s_write() 2177 esp_pm_lock_acquire(p_i2s[i2s_num]->pm_lock); in i2s_read() [all …]
|
D | i2c.c | 157 esp_pm_lock_handle_t pm_lock; member 306 … if (esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "i2c_driver", &p_i2c->pm_lock) != ESP_OK) { in i2c_driver_install() 383 if (p_i2c_obj[i2c_num]->pm_lock) { in i2c_driver_install() 384 esp_pm_lock_delete(p_i2c_obj[i2c_num]->pm_lock); in i2c_driver_install() 385 p_i2c_obj[i2c_num]->pm_lock = NULL; in i2c_driver_install() 438 if (p_i2c->pm_lock) { in i2c_driver_delete() 439 esp_pm_lock_delete(p_i2c->pm_lock); in i2c_driver_delete() 440 p_i2c->pm_lock = NULL; in i2c_driver_delete() 1421 esp_pm_lock_acquire(p_i2c->pm_lock); in i2c_master_cmd_begin() 1499 esp_pm_lock_release(p_i2c->pm_lock); in i2c_master_cmd_begin()
|
D | spi_master.c | 619 esp_pm_lock_release(bus_attr->pm_lock); in spi_intr() 806 esp_pm_lock_acquire(host->bus_attr->pm_lock); in spi_device_queue_trans() 815 esp_pm_lock_release(host->bus_attr->pm_lock); in spi_device_queue_trans() 886 esp_pm_lock_acquire(host->bus_attr->pm_lock); in spi_device_acquire_bus() 917 esp_pm_lock_release(host->bus_attr->pm_lock); in spi_device_release_bus()
|
D | spi_common.c | 821 &bus_attr->pm_lock); in spi_bus_initialize() 837 esp_pm_lock_delete(bus_attr->pm_lock); in spi_bus_initialize() 876 esp_pm_lock_delete(bus_attr->pm_lock); in spi_bus_free()
|
/hal_espressif-3.6.0/components/esp_eth/src/ |
D | esp_eth_mac_esp.c | 61 esp_pm_lock_handle_t pm_lock; member 363 esp_pm_lock_acquire(emac->pm_lock); in emac_esp32_init() 377 esp_pm_lock_release(emac->pm_lock); in emac_esp32_deinit() 451 if (emac->pm_lock) { in esp_emac_free_driver_obj() 452 esp_pm_lock_delete(emac->pm_lock); in esp_emac_free_driver_obj() 489 …ESP_GOTO_ON_ERROR(esp_pm_lock_create(ESP_PM_APB_FREQ_MAX, 0, "emac_esp32", &emac->pm_lock), err, T… in esp_emac_alloc_driver_obj()
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | spi_common_internal.h | 68 esp_pm_lock_handle_t pm_lock; ///< Power management lock member
|