Home
last modified time | relevance | path

Searched refs:s_psram_size (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/esp_psram/esp32s3/
Desp_psram_impl_quad.c111 static uint32_t s_psram_size = 0; //this stands for physical psram size in bytes variable
367 s_psram_size = PSRAM_SIZE_8MB; in esp_psram_impl_enable()
371 s_psram_size = 0; in esp_psram_impl_enable()
373 s_psram_size = psram_size_lut[s_psram_manufacturer][density]; in esp_psram_impl_enable()
432 *out_size_bytes = s_psram_size; in esp_psram_impl_get_physical_size()
433 return (s_psram_size ? ESP_OK : ESP_ERR_INVALID_STATE); in esp_psram_impl_get_physical_size()
448 *out_size_bytes = s_psram_size; in esp_psram_impl_get_available_size()
449 return (s_psram_size ? ESP_OK : ESP_ERR_INVALID_STATE); in esp_psram_impl_get_available_size()
Desp_psram_impl_octal.c103 static uint32_t s_psram_size; //this stands for physical psram size in bytes variable
326 s_psram_size = mode_reg.mr2.density == 0x1 ? PSRAM_SIZE_4MB : in esp_psram_impl_enable()
392 *out_size_bytes = s_psram_size; in esp_psram_impl_get_physical_size()
393 return (s_psram_size ? ESP_OK : ESP_ERR_INVALID_STATE); in esp_psram_impl_get_physical_size()
407 *out_size_bytes = s_psram_size * 15 / 16; in esp_psram_impl_get_available_size()
409 *out_size_bytes = s_psram_size; in esp_psram_impl_get_available_size()
411 return (s_psram_size ? ESP_OK : ESP_ERR_INVALID_STATE); in esp_psram_impl_get_available_size()