Searched refs:flash_is_locked (Results 1 – 2 of 2) sorted by relevance
326 if (flash->flash_is_locked) { in spi_flash_cmd_erase_ops()327 if (flash->flash_is_locked(flash, offset, len) > 0) { in spi_flash_cmd_erase_ops()381 if (flash->flash_is_locked) { in spi_flash_cmd_write_ops()382 if (flash->flash_is_locked(flash, offset, len) > 0) { in spi_flash_cmd_write_ops()1189 flash->flash_is_locked = stm_is_locked; in spi_flash_scan()1198 flash->flash_is_locked = sst26_is_locked; in spi_flash_scan()
90 int (*flash_is_locked)(struct spi_flash *flash, u32 ofs, size_t len); member