components/spi_flash/esp_flash_api.c
//init suspend mode cmd, uses internal.
init suspend mode cmd, uses internal.
init suspend mode cmd uses internal .
esp_err_t esp_flash_suspend_cmd_init(esp_flash_t* chip)
{
    ESP_EARLY_LOGW(TAG, "Flash suspend feature is enabled");
    if (chip->chip_drv->get_chip_caps == NULL) {
        ESP_EARLY_LOGW(TAG, "get_chip_caps function pointer hasn't been initialized");
    } else {
        if ((chip->chip_drv->get_chip_caps(chip) & SPI_FLASH_CHIP_CAP_SUSPEND) == 0) {
            ESP_EARLY_LOGW(TAG, "Suspend and resume may not supported for this flash model yet.");
        }
    }
    return chip->chip_drv->sus_setup(chip);
}
esp_err_t esp_flash_suspend_cmd_init ( esp_flash_t * chip ) { ESP_EARLY_LOGW ( TAG , " " ) ; if ( chip -> chip_drv -> get_chip_caps == NULL ) { ESP_EARLY_LOGW ( TAG , " " ) ; } else { if ( ( chip -> chip_drv -> get_chip_caps ( chip ) & SPI_FLASH_CHIP_CAP_SUSPEND ) == 0 ) { ESP_EARLY_LOGW ( TAG , " " ) ; } } return chip -> chip_drv -> sus_setup ( chip ) ; }
init suspend mode cmd, uses internal.
init suspend mode cmd uses internal .
// chip caps get failed, pass the flash capability check.