/kernel/linux/linux-5.10/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 | 210 for(map->map.bankwidth = 32; map->map.bankwidth; in amd76xrom_init_one() 211 map->map.bankwidth >>= 1) in amd76xrom_init_one() 215 if (!map_bankwidth_supported(map->map.bankwidth)) in amd76xrom_init_one()
|
D | impa7.c | 35 .bankwidth = BUSWIDTH, 40 .bankwidth = BUSWIDTH,
|
D | ck804xrom.c | 240 for(map->map.bankwidth = 32; map->map.bankwidth; in ck804xrom_init_one() 241 map->map.bankwidth >>= 1) in ck804xrom_init_one() 245 if (!map_bankwidth_supported(map->map.bankwidth)) in ck804xrom_init_one()
|
D | ichxrom.c | 237 for(map->map.bankwidth = 32; map->map.bankwidth; in ichxrom_init_one() 238 map->map.bankwidth >>= 1) in ichxrom_init_one() 242 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 | 61 info->map.bankwidth = flash->width; in pxa2xx_flash_probe() 83 info->map.bankwidth * 8); in pxa2xx_flash_probe()
|
D | esb2rom.c | 302 for(map->map.bankwidth = 32; map->map.bankwidth; in esb2rom_init_one() 303 map->map.bankwidth >>= 1) { in esb2rom_init_one() 306 if (!map_bankwidth_supported(map->map.bankwidth)) in esb2rom_init_one()
|
D | plat-ram.c | 143 info->map.bankwidth = pdata->bankwidth; in platram_probe()
|
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 | physmap-core.c | 345 u32 bankwidth; in physmap_flash_of_init() local 360 err = of_property_read_u32(dp, "bank-width", &bankwidth); in physmap_flash_of_init() 374 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init() 447 info->maps[i].bankwidth = physmap_data->width; in physmap_flash_pdata_init()
|
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 | uclinux.c | 81 mapp->bankwidth = 4; in uclinux_mtd_init()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | flash_setup.c | 100 flash_map.bankwidth = region_cfg.s.width + 1; in octeon_flash_probe() 104 WARN_ON(!map_bankwidth_supported(flash_map.bankwidth)); in octeon_flash_probe()
|
/kernel/linux/linux-5.10/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()
|