Searched refs:flash_info (Results 1 – 8 of 8) sorted by relevance
56 struct flash_info { struct66 static struct flash_info sst25l_flash_info[] = { argument312 static struct flash_info *sst25l_match_device(struct spi_device *spi) in sst25l_match_device()314 struct flash_info *flash_info = NULL; in sst25l_match_device() local344 flash_info = &sst25l_flash_info[i]; in sst25l_match_device()346 if (!flash_info) in sst25l_match_device()349 return flash_info; in sst25l_match_device()354 struct flash_info *flash_info; in sst25l_probe() local359 flash_info = sst25l_match_device(spi); in sst25l_probe()360 if (!flash_info) in sst25l_probe()[all …]
780 struct spear_smi_flash_info *flash_info; in spear_smi_probe_config_dt() local782 flash_info = &pdata->board_flash_info[i]; in spear_smi_probe_config_dt()812 struct spear_smi_flash_info *flash_info; in spear_smi_setup_banks() local824 flash_info = &pdata->board_flash_info[bank]; in spear_smi_setup_banks()825 if (!flash_info) in spear_smi_setup_banks()832 flash->fast_mode = flash_info->fast_mode ? 1 : 0; in spear_smi_setup_banks()842 flash->base_addr = devm_ioremap(&pdev->dev, flash_info->mem_base, in spear_smi_setup_banks()843 flash_info->size); in spear_smi_setup_banks()850 if (flash_info->name) in spear_smi_setup_banks()851 flash->mtd.name = flash_info->name; in spear_smi_setup_banks()[all …]
683 struct flash_info { struct702 static struct flash_info dataflash_data[] = { argument740 static struct flash_info *jedec_lookup(struct spi_device *spi, in jedec_lookup()743 struct flash_info *info; in jedec_lookup()778 static struct flash_info *jedec_probe(struct spi_device *spi) in jedec_probe()785 struct flash_info *info; in jedec_probe()847 struct flash_info *info; in dataflash_probe()
265 struct flash_info *info;292 struct flash_info { struct321 static struct flash_info flash_types[] = { argument1393 struct flash_info *info = fsm->info; in stfsm_s25fl_config()1850 static struct flash_info *stfsm_jedec_probe(struct stfsm *fsm) in stfsm_jedec_probe()1852 struct flash_info *info; in stfsm_jedec_probe()2023 struct flash_info *info; in stfsm_probe()
44 struct flash_info { struct98 static const struct flash_info *spi_nor_match_id(const char *name); argument246 const struct flash_info *info) in spi_nor_set_4byte_opcodes()266 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte()974 static const struct flash_info spi_nor_ids[] = {1269 static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id()1273 const struct flash_info *info; in spi_nor_read_id()1734 static int s3an_nor_scan(const struct flash_info *info, struct spi_nor *nor) in s3an_nor_scan()2455 const struct flash_info *info, in spi_nor_init_params()2647 const struct flash_info *info) in spi_nor_select_erase()[all …]
245 struct flash_info;287 const struct flash_info *info;
4157 if (bp->flash_info->flags & BNX2_NV_WREN) { in bnx2_enable_nvram_write()4217 if (bp->flash_info->flags & BNX2_NV_BUFFERED) in bnx2_nvram_erase_page()4261 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_read_dword()4262 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_read_dword()4263 bp->flash_info->page_bits) + in bnx2_nvram_read_dword()4264 (offset % bp->flash_info->page_size); in bnx2_nvram_read_dword()4307 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_write_dword()4308 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_write_dword()4309 bp->flash_info->page_bits) + in bnx2_nvram_write_dword()4310 (offset % bp->flash_info->page_size); in bnx2_nvram_write_dword()[all …]
6978 const struct flash_spec *flash_info; member