Home
last modified time | relevance | path

Searched refs:flash_info (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/mtd/devices/
Dsst25l.c59 struct flash_info { struct
69 static struct flash_info __initdata sst25l_flash_info[] = { argument
338 static struct flash_info *__devinit sst25l_match_device(struct spi_device *spi) in sst25l_match_device()
340 struct flash_info *flash_info = NULL; in sst25l_match_device() local
370 flash_info = &sst25l_flash_info[i]; in sst25l_match_device()
372 if (!flash_info) in sst25l_match_device()
375 return flash_info; in sst25l_match_device()
380 struct flash_info *flash_info; in sst25l_probe() local
385 flash_info = sst25l_match_device(spi); in sst25l_probe()
386 if (!flash_info) in sst25l_probe()
[all …]
Dmtd_dataflash.c724 struct flash_info { struct
742 static struct flash_info __devinitdata dataflash_data [] = { argument
777 static struct flash_info *__devinit jedec_probe(struct spi_device *spi) in jedec_probe()
783 struct flash_info *info; in jedec_probe()
864 struct flash_info *info; in dataflash_probe()
Dm25p80.c600 struct flash_info { struct
623 ((kernel_ulong_t)&(struct flash_info) { \ argument
633 ((kernel_ulong_t)&(struct flash_info) { \
762 struct flash_info *info; in jedec_probe()
805 struct flash_info *info; in m25p_probe()
/linux-2.6.39/drivers/net/
Dbnx2.c4031 if (bp->flash_info->flags & BNX2_NV_WREN) { in bnx2_enable_nvram_write()
4091 if (bp->flash_info->flags & BNX2_NV_BUFFERED) in bnx2_nvram_erase_page()
4135 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_read_dword()
4136 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_read_dword()
4137 bp->flash_info->page_bits) + in bnx2_nvram_read_dword()
4138 (offset % bp->flash_info->page_size); in bnx2_nvram_read_dword()
4181 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_write_dword()
4182 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_write_dword()
4183 bp->flash_info->page_bits) + in bnx2_nvram_write_dword()
4184 (offset % bp->flash_info->page_size); in bnx2_nvram_write_dword()
[all …]
Dbnx2.h6914 const struct flash_spec *flash_info; member