/linux-6.6.21/drivers/mtd/maps/ |
D | pcmciamtd.c | 46 static int bankwidth = 2; variable 66 module_param(bankwidth, int, 0); 67 MODULE_PARM_DESC(bankwidth, "Set bankwidth (1=8 bit, 2=16 bit, default=2)"); 400 dev->pcmcia_map.bankwidth = t->geo[0].buswidth; in pcmciamtd_cistpl_geo() 437 if(!dev->pcmcia_map.bankwidth) in card_settings() 438 dev->pcmcia_map.bankwidth = 2; in card_settings() 445 if(bankwidth) { in card_settings() 446 dev->pcmcia_map.bankwidth = bankwidth; in card_settings() 447 pr_debug("bankwidth forced to %d\n", bankwidth); in card_settings() 458 dev->pcmcia_map.bankwidth << 3, dev->mtd_name); in card_settings() [all …]
|
D | physmap-gemini.c | 163 if (map->bankwidth != 2) in of_flash_probe_gemini() 165 map->bankwidth * 8); in of_flash_probe_gemini() 167 if (map->bankwidth != 1) in of_flash_probe_gemini() 169 map->bankwidth * 8); in of_flash_probe_gemini()
|
D | dc21285.c | 154 dc21285_map.bankwidth = 1; in init_dc21285() 160 dc21285_map.bankwidth = 2; in init_dc21285() 166 dc21285_map.bankwidth = 4; in init_dc21285() 176 dc21285_map.bankwidth*8); in init_dc21285()
|
D | solutionengine.c | 25 .bankwidth = 4, 31 .bankwidth = 4,
|
D | sc520cdp.c | 76 .bankwidth = 4, 82 .bankwidth = 4, 88 .bankwidth = 1,
|
D | amd76xrom.c | 208 for(map->map.bankwidth = 32; map->map.bankwidth; in amd76xrom_init_one() 209 map->map.bankwidth >>= 1) in amd76xrom_init_one() 213 if (!map_bankwidth_supported(map->map.bankwidth)) in amd76xrom_init_one()
|
D | impa7.c | 35 .bankwidth = BUSWIDTH, 40 .bankwidth = BUSWIDTH,
|
D | ck804xrom.c | 238 for(map->map.bankwidth = 32; map->map.bankwidth; in ck804xrom_init_one() 239 map->map.bankwidth >>= 1) in ck804xrom_init_one() 243 if (!map_bankwidth_supported(map->map.bankwidth)) in ck804xrom_init_one()
|
D | ichxrom.c | 235 for(map->map.bankwidth = 32; map->map.bankwidth; in ichxrom_init_one() 236 map->map.bankwidth >>= 1) in ichxrom_init_one() 240 if (!map_bankwidth_supported(map->map.bankwidth)) in ichxrom_init_one()
|
D | sa1100-flash.c | 86 subdev->map.bankwidth = (MSC0 & MSC_RBW) ? 2 : 4; in sa1100_probe_subdev() 90 subdev->map.bankwidth = ((MSC0 >> 16) & MSC_RBW) ? 2 : 4; in sa1100_probe_subdev() 124 subdev->map.bankwidth * 8); in sa1100_probe_subdev()
|
D | pxa2xx-flash.c | 59 info->map.bankwidth = flash->width; in pxa2xx_flash_probe() 81 info->map.bankwidth * 8); in pxa2xx_flash_probe()
|
D | esb2rom.c | 301 for(map->map.bankwidth = 32; map->map.bankwidth; in esb2rom_init_one() 302 map->map.bankwidth >>= 1) { in esb2rom_init_one() 305 if (!map_bankwidth_supported(map->map.bankwidth)) in esb2rom_init_one()
|
D | plat-ram.c | 141 info->map.bankwidth = pdata->bankwidth; in platram_probe()
|
D | physmap-core.c | 341 u32 bankwidth; in physmap_flash_of_init() local 356 err = of_property_read_u32(dp, "bank-width", &bankwidth); in physmap_flash_of_init() 370 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init() 443 info->maps[i].bankwidth = physmap_data->width; in physmap_flash_pdata_init()
|
D | scx200_docflash.c | 172 scx200_docflash_map.bankwidth = 1; in init_scx200_docflash() 174 scx200_docflash_map.bankwidth = 2; in init_scx200_docflash()
|
D | map_funcs.c | 35 BUG_ON(!map_bankwidth_supported(map->bankwidth)); in simple_map_init()
|
D | ts5500_flash.c | 29 .bankwidth = 1,
|
D | netsc520.c | 72 .bankwidth = 4,
|
D | cfi_flagadm.c | 61 .bankwidth = 2,
|
D | nettel.c | 70 .bankwidth = INTEL_BUSWIDTH, 108 .bankwidth = AMD_BUSWIDTH,
|
/linux-6.6.21/include/linux/mtd/ |
D | map.h | 34 # define map_bankwidth(map) ((map)->bankwidth) 50 # define map_bankwidth(map) ((map)->bankwidth) 71 # define map_bankwidth(map) ((map)->bankwidth) 93 # define map_bankwidth(map) ((map)->bankwidth) 113 # define map_bankwidth(map) ((map)->bankwidth) 201 int bankwidth; /* in octets. This isn't necessarily the width member 336 memcpy(r.x, ptr, map->bankwidth); in map_word_load() 404 memcpy_fromio(r.x, map->virt + ofs, map->bankwidth); in inline_map_read() 424 memcpy_toio(map->virt+ofs, datum.x, map->bankwidth); in inline_map_write() 459 #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth))
|
D | plat-ram.h | 23 int bankwidth; member
|
/linux-6.6.21/drivers/mtd/lpddr/ |
D | qinfo_probe.c | 48 int bankwidth = map_bankwidth(map) * 8; in lpddr_get_qinforec_pos() local 53 major = qinfo_array[i].major & ((1 << bankwidth) - 1); in lpddr_get_qinforec_pos() 54 minor = qinfo_array[i].minor & ((1 << bankwidth) - 1); in lpddr_get_qinforec_pos() 55 return minor | (major << bankwidth); in lpddr_get_qinforec_pos()
|
/linux-6.6.21/drivers/media/pci/cobalt/ |
D | cobalt-flash.c | 20 .bankwidth = 2, /* 16 bits */ 90 BUG_ON(!map_bankwidth_supported(map->bankwidth)); in cobalt_flash_probe()
|
/linux-6.6.21/arch/mips/cavium-octeon/ |
D | flash_setup.c | 101 flash_map.bankwidth = region_cfg.s.width + 1; in octeon_flash_probe() 105 WARN_ON(!map_bankwidth_supported(flash_map.bankwidth)); in octeon_flash_probe()
|