/linux-6.6.21/drivers/mtd/devices/ |
D | sst25l.c | 52 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 …]
|
D | spear_smi.c | 845 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 …]
|
D | mtd_dataflash.c | 685 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()
|
D | st_spi_fsm.c | 260 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/ |
D | fujitsu.c | 11 static const struct flash_info fujitsu_nor_parts[] = {
|
D | everspin.c | 11 static const struct flash_info everspin_nor_parts[] = {
|
D | catalyst.c | 11 static const struct flash_info catalyst_nor_parts[] = {
|
D | xmc.c | 11 static const struct flash_info xmc_nor_parts[] = {
|
D | intel.c | 11 static const struct flash_info intel_nor_parts[] = {
|
D | esmt.c | 11 static const struct flash_info esmt_nor_parts[] = {
|
D | eon.c | 11 static const struct flash_info eon_nor_parts[] = {
|
D | gigadevice.c | 36 static const struct flash_info gigadevice_nor_parts[] = {
|
D | issi.c | 49 static const struct flash_info issi_nor_parts[] = {
|
D | macronix.c | 35 static const struct flash_info macronix_nor_parts[] = {
|
D | micron-st.c | 161 static const struct flash_info micron_nor_parts[] = { 176 static const struct flash_info st_nor_parts[] = {
|
D | xilinx.c | 39 static const struct flash_info xilinx_nor_parts[] = {
|
D | core.c | 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 …]
|
D | atmel.c | 165 static const struct flash_info atmel_nor_parts[] = {
|
D | winbond.c | 44 static const struct flash_info winbond_nor_parts[] = {
|
D | sst.c | 63 static const struct flash_info sst_nor_parts[] = {
|
D | core.h | 504 struct flash_info { struct 617 const struct flash_info *parts;
|
D | debugfs.c | 82 const struct flash_info *info = nor->info; in spi_nor_params_show()
|
D | spansion.c | 758 static const struct flash_info spansion_nor_parts[] = {
|
/linux-6.6.21/include/linux/mtd/ |
D | spi-nor.h | 338 struct flash_info; 397 const struct flash_info *info;
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 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 …]
|