| /Linux-v5.10/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 | 679 struct flash_info { struct 698 static struct flash_info dataflash_data[] = { argument 736 static struct flash_info *jedec_lookup(struct spi_device *spi, in jedec_lookup() 739 struct flash_info *info; in jedec_lookup() 774 static struct flash_info *jedec_probe(struct spi_device *spi) in jedec_probe() 781 struct flash_info *info; in jedec_probe() 843 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-v5.10/drivers/mtd/spi-nor/ |
| D | micron-st.c | 11 static const struct flash_info micron_parts[] = { 20 static const struct flash_info st_parts[] = {
|
| D | fujitsu.c | 11 static const struct flash_info fujitsu_parts[] = {
|
| D | xmc.c | 11 static const struct flash_info xmc_parts[] = {
|
| D | esmt.c | 11 static const struct flash_info esmt_parts[] = {
|
| D | everspin.c | 11 static const struct flash_info everspin_parts[] = {
|
| D | catalyst.c | 11 static const struct flash_info catalyst_parts[] = {
|
| D | intel.c | 11 static const struct flash_info intel_parts[] = {
|
| D | eon.c | 11 static const struct flash_info eon_parts[] = {
|
| D | atmel.c | 11 static const struct flash_info atmel_parts[] = {
|
| D | gigadevice.c | 26 static const struct flash_info gigadevice_parts[] = {
|
| D | issi.c | 33 static const struct flash_info issi_parts[] = {
|
| D | xilinx.c | 11 static const struct flash_info xilinx_parts[] = {
|
| D | macronix.c | 36 static const struct flash_info macronix_parts[] = {
|
| D | core.h | 254 struct flash_info { struct 378 const struct flash_info *parts;
|
| D | spansion.c | 32 static const struct flash_info spansion_parts[] = {
|
| D | core.c | 2029 static const struct flash_info * 2030 spi_nor_search_part_by_id(const struct flash_info *parts, unsigned int nparts, in spi_nor_search_part_by_id() 2044 static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id() 2046 const struct flash_info *info; in spi_nor_read_id() 2720 const struct flash_info *info = nor->info; in spi_nor_info_init_params() 2988 static const struct flash_info *spi_nor_match_id(struct spi_nor *nor, in spi_nor_match_id() 3035 const struct flash_info *info) in spi_nor_debugfs_init() 3044 static const struct flash_info *spi_nor_get_flash_info(struct spi_nor *nor, in spi_nor_get_flash_info() 3047 const struct flash_info *info = NULL; in spi_nor_get_flash_info() 3062 const struct flash_info *jinfo; in spi_nor_get_flash_info() [all …]
|
| D | winbond.c | 36 static const struct flash_info winbond_parts[] = {
|
| D | sst.c | 11 static const struct flash_info sst_parts[] = {
|
| /Linux-v5.10/include/linux/mtd/ |
| D | spi-nor.h | 325 struct flash_info; 366 const struct flash_info *info;
|
| /Linux-v5.10/drivers/net/ethernet/broadcom/ |
| D | bnx2.c | 4149 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 …]
|
| D | bnx2.h | 6978 const struct flash_spec *flash_info; member
|