Home
last modified time | relevance | path

Searched refs:bankwidth (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.6.21/drivers/mtd/maps/
Dpcmciamtd.c46 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 …]
Dphysmap-gemini.c163 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()
Ddc21285.c154 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()
Dsolutionengine.c25 .bankwidth = 4,
31 .bankwidth = 4,
Dsc520cdp.c76 .bankwidth = 4,
82 .bankwidth = 4,
88 .bankwidth = 1,
Damd76xrom.c208 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()
Dimpa7.c35 .bankwidth = BUSWIDTH,
40 .bankwidth = BUSWIDTH,
Dck804xrom.c238 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()
Dichxrom.c235 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()
Dsa1100-flash.c86 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()
Dpxa2xx-flash.c59 info->map.bankwidth = flash->width; in pxa2xx_flash_probe()
81 info->map.bankwidth * 8); in pxa2xx_flash_probe()
Desb2rom.c301 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()
Dplat-ram.c141 info->map.bankwidth = pdata->bankwidth; in platram_probe()
Dphysmap-core.c341 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()
Dscx200_docflash.c172 scx200_docflash_map.bankwidth = 1; in init_scx200_docflash()
174 scx200_docflash_map.bankwidth = 2; in init_scx200_docflash()
Dmap_funcs.c35 BUG_ON(!map_bankwidth_supported(map->bankwidth)); in simple_map_init()
Dts5500_flash.c29 .bankwidth = 1,
Dnetsc520.c72 .bankwidth = 4,
Dcfi_flagadm.c61 .bankwidth = 2,
Dnettel.c70 .bankwidth = INTEL_BUSWIDTH,
108 .bankwidth = AMD_BUSWIDTH,
/linux-6.6.21/include/linux/mtd/
Dmap.h34 # 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))
Dplat-ram.h23 int bankwidth; member
/linux-6.6.21/drivers/mtd/lpddr/
Dqinfo_probe.c48 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/
Dcobalt-flash.c20 .bankwidth = 2, /* 16 bits */
90 BUG_ON(!map_bankwidth_supported(map->bankwidth)); in cobalt_flash_probe()
/linux-6.6.21/arch/mips/cavium-octeon/
Dflash_setup.c101 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()

12