Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/mtd/devices/
Dsst25l.c52 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()
[all …]
Dspear_smi.c845 struct spear_smi_flash_info *flash_info; in spear_smi_setup_banks() local
857 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 …]
Dmtd_dataflash.c685 struct flash_info { struct
704 static struct flash_info dataflash_data[] = { argument
742 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()
Dst_spi_fsm.c260 struct flash_info *info;
287 struct flash_info { struct
316 static struct flash_info flash_types[] = { argument
1388 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()
/linux-6.6.21/drivers/mtd/spi-nor/
Dfujitsu.c11 static const struct flash_info fujitsu_nor_parts[] = {
Deverspin.c11 static const struct flash_info everspin_nor_parts[] = {
Dcatalyst.c11 static const struct flash_info catalyst_nor_parts[] = {
Dxmc.c11 static const struct flash_info xmc_nor_parts[] = {
Dintel.c11 static const struct flash_info intel_nor_parts[] = {
Desmt.c11 static const struct flash_info esmt_nor_parts[] = {
Deon.c11 static const struct flash_info eon_nor_parts[] = {
Dgigadevice.c36 static const struct flash_info gigadevice_nor_parts[] = {
Dissi.c49 static const struct flash_info issi_nor_parts[] = {
Dmacronix.c35 static const struct flash_info macronix_nor_parts[] = {
Dmicron-st.c161 static const struct flash_info micron_nor_parts[] = {
176 static const struct flash_info st_nor_parts[] = {
Dxilinx.c39 static const struct flash_info xilinx_nor_parts[] = {
Dcore.c2020 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 …]
Datmel.c165 static const struct flash_info atmel_nor_parts[] = {
Dwinbond.c44 static const struct flash_info winbond_nor_parts[] = {
Dsst.c63 static const struct flash_info sst_nor_parts[] = {
Dcore.h504 struct flash_info { struct
617 const struct flash_info *parts;
Ddebugfs.c82 const struct flash_info *info = nor->info; in spi_nor_params_show()
Dspansion.c758 static const struct flash_info spansion_nor_parts[] = {
/linux-6.6.21/include/linux/mtd/
Dspi-nor.h338 struct flash_info;
397 const struct flash_info *info;
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dbnx2.c4133 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 …]

12