Home
last modified time | relevance | path

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

12

/linux-5.19.10/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.c693 struct flash_info { struct
712 static struct flash_info dataflash_data[] = { argument
750 static struct flash_info *jedec_lookup(struct spi_device *spi, in jedec_lookup()
753 struct flash_info *info; in jedec_lookup()
788 static struct flash_info *jedec_probe(struct spi_device *spi) in jedec_probe()
795 struct flash_info *info; in jedec_probe()
857 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-5.19.10/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.c26 static const struct flash_info gigadevice_nor_parts[] = {
Dissi.c32 static const struct flash_info issi_nor_parts[] = {
Dmacronix.c35 static const struct flash_info macronix_nor_parts[] = {
Dcore.c1635 static const struct flash_info *spi_nor_match_id(struct spi_nor *nor, in spi_nor_match_id()
1638 const struct flash_info *part; in spi_nor_match_id()
1655 static const struct flash_info *spi_nor_detect(struct spi_nor *nor) in spi_nor_detect()
1657 const struct flash_info *info; in spi_nor_detect()
2536 const struct flash_info *info = nor->info; in spi_nor_init_default_params()
2857 static const struct flash_info *spi_nor_match_name(struct spi_nor *nor, in spi_nor_match_name()
2874 static const struct flash_info *spi_nor_get_flash_info(struct spi_nor *nor, in spi_nor_get_flash_info()
2877 const struct flash_info *info = NULL; in spi_nor_get_flash_info()
2890 const struct flash_info *jinfo; in spi_nor_get_flash_info()
2945 const struct flash_info *info; in spi_nor_scan()
Dmicron-st.c155 static const struct flash_info micron_nor_parts[] = {
170 static const struct flash_info st_nor_parts[] = {
Dxilinx.c38 static const struct flash_info xilinx_nor_parts[] = {
Datmel.c161 static const struct flash_info atmel_nor_parts[] = {
Dcore.h484 struct flash_info { struct
592 const struct flash_info *parts;
Dwinbond.c44 static const struct flash_info winbond_nor_parts[] = {
Dsst.c61 static const struct flash_info sst_nor_parts[] = {
Ddebugfs.c79 const struct flash_info *info = nor->info; in spi_nor_params_show()
Dspansion.c220 static const struct flash_info spansion_nor_parts[] = {
/linux-5.19.10/include/linux/mtd/
Dspi-nor.h339 struct flash_info;
382 const struct flash_info *info;
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbnx2.c4149 if (bp->flash_info->flags & BNX2_NV_WREN) { in bnx2_enable_nvram_write()
4209 if (bp->flash_info->flags & BNX2_NV_BUFFERED) in bnx2_nvram_erase_page()
4253 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_read_dword()
4254 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_read_dword()
4255 bp->flash_info->page_bits) + in bnx2_nvram_read_dword()
4256 (offset % bp->flash_info->page_size); in bnx2_nvram_read_dword()
4299 if (bp->flash_info->flags & BNX2_NV_TRANSLATE) { in bnx2_nvram_write_dword()
4300 offset = ((offset / bp->flash_info->page_size) << in bnx2_nvram_write_dword()
4301 bp->flash_info->page_bits) + in bnx2_nvram_write_dword()
4302 (offset % bp->flash_info->page_size); in bnx2_nvram_write_dword()
[all …]

12