Lines Matching refs:flash_info
52 struct flash_info { struct
62 static struct flash_info sst25l_flash_info[] = { argument
308 static struct flash_info *sst25l_match_device(struct spi_device *spi) in sst25l_match_device()
310 struct flash_info *flash_info = NULL; in sst25l_match_device() local
340 flash_info = &sst25l_flash_info[i]; in sst25l_match_device()
342 if (!flash_info) in sst25l_match_device()
345 return flash_info; in sst25l_match_device()
350 struct flash_info *flash_info; in sst25l_probe() local
355 flash_info = sst25l_match_device(spi); in sst25l_probe()
356 if (!flash_info) in sst25l_probe()
374 flash->mtd.erasesize = flash_info->erase_size; in sst25l_probe()
375 flash->mtd.writesize = flash_info->page_size; in sst25l_probe()
376 flash->mtd.writebufsize = flash_info->page_size; in sst25l_probe()
377 flash->mtd.size = flash_info->page_size * flash_info->nr_pages; in sst25l_probe()
382 dev_info(&spi->dev, "%s (%lld KiB)\n", flash_info->name, in sst25l_probe()