Searched refs:s_psram_size (Results 1 – 2 of 2) sorted by relevance
111 static uint32_t s_psram_size = 0; //this stands for physical psram size in bytes variable367 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()
103 static uint32_t s_psram_size; //this stands for physical psram size in bytes variable326 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()