Searched refs:flash_info (Results 1 – 25 of 25) sorted by relevance
52 struct flash_info { struct62 static struct flash_info sst25l_flash_info[] = { argument308 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() local340 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() local355 flash_info = sst25l_match_device(spi); in sst25l_probe()356 if (!flash_info) in sst25l_probe()[all …]
845 struct spear_smi_flash_info *flash_info; in spear_smi_setup_banks() local857 flash_info = &pdata->board_flash_info[bank]; in spear_smi_setup_banks()858 if (!flash_info) in spear_smi_setup_banks()865 flash->fast_mode = flash_info->fast_mode ? 1 : 0; in spear_smi_setup_banks()875 flash->base_addr = devm_ioremap(&pdev->dev, flash_info->mem_base, in spear_smi_setup_banks()876 flash_info->size); in spear_smi_setup_banks()883 if (flash_info->name) in spear_smi_setup_banks()884 flash->mtd.name = flash_info->name; in spear_smi_setup_banks()893 flash->mtd.size = flash_info->size; in spear_smi_setup_banks()911 if (flash_info->partitions) { in spear_smi_setup_banks()[all …]
685 struct flash_info { struct704 static struct flash_info dataflash_data[] = { argument742 static struct flash_info *jedec_lookup(struct spi_device *spi, in jedec_lookup()745 struct flash_info *info; in jedec_lookup()780 static struct flash_info *jedec_probe(struct spi_device *spi) in jedec_probe()787 struct flash_info *info; in jedec_probe()849 struct flash_info *info; in dataflash_probe()
260 struct flash_info *info;287 struct flash_info { struct316 static struct flash_info flash_types[] = { argument1388 struct flash_info *info = fsm->info; in stfsm_s25fl_config()1845 static struct flash_info *stfsm_jedec_probe(struct stfsm *fsm) in stfsm_jedec_probe()1847 struct flash_info *info; in stfsm_jedec_probe()2018 struct flash_info *info; in stfsm_probe()
11 static const struct flash_info fujitsu_nor_parts[] = {
11 static const struct flash_info everspin_nor_parts[] = {
11 static const struct flash_info catalyst_nor_parts[] = {
11 static const struct flash_info xmc_nor_parts[] = {
11 static const struct flash_info intel_nor_parts[] = {
11 static const struct flash_info esmt_nor_parts[] = {
11 static const struct flash_info eon_nor_parts[] = {
36 static const struct flash_info gigadevice_nor_parts[] = {
49 static const struct flash_info issi_nor_parts[] = {
2020 static const struct flash_info spi_nor_generic_flash = {2031 static const struct flash_info *spi_nor_match_id(struct spi_nor *nor, in spi_nor_match_id()2034 const struct flash_info *part; in spi_nor_match_id()2051 static const struct flash_info *spi_nor_detect(struct spi_nor *nor) in spi_nor_detect()2053 const struct flash_info *info; in spi_nor_detect()2993 const struct flash_info *info = nor->info; in spi_nor_init_default_params()3356 static const struct flash_info *spi_nor_match_name(struct spi_nor *nor, in spi_nor_match_name()3373 static const struct flash_info *spi_nor_get_flash_info(struct spi_nor *nor, in spi_nor_get_flash_info()3376 const struct flash_info *info = NULL; in spi_nor_get_flash_info()3389 const struct flash_info *jinfo; in spi_nor_get_flash_info()[all …]
161 static const struct flash_info micron_nor_parts[] = {176 static const struct flash_info st_nor_parts[] = {
35 static const struct flash_info macronix_nor_parts[] = {
39 static const struct flash_info xilinx_nor_parts[] = {
165 static const struct flash_info atmel_nor_parts[] = {
504 struct flash_info { struct617 const struct flash_info *parts;
44 static const struct flash_info winbond_nor_parts[] = {
63 static const struct flash_info sst_nor_parts[] = {
82 const struct flash_info *info = nor->info; in spi_nor_params_show()
758 static const struct flash_info spansion_nor_parts[] = {
4133 if (bp->flash_info->flags & BNX2_NV_WREN) { in bnx2_enable_nvram_write()4193 if (bp->flash_info->flags & BNX2_NV_BUFFERED) in bnx2_nvram_erase_page()4237 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_read_dword()4238 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_read_dword()4239 bp->flash_info->page_bits) + in bnx2_nvram_read_dword()4240 (offset % bp->flash_info->page_size); in bnx2_nvram_read_dword()4283 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_write_dword()4284 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_write_dword()4285 bp->flash_info->page_bits) + in bnx2_nvram_write_dword()4286 (offset % bp->flash_info->page_size); in bnx2_nvram_write_dword()[all …]
6977 const struct flash_spec *flash_info; member