Home
last modified time | relevance | path

Searched refs:sram_size (Results 1 – 23 of 23) sorted by relevance

/linux-3.4.99/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c30 static char *sram_size; variable
38 if (!sram_size || (strict_strtoul(sram_size, 0, &val) < 0)) in get_cache_sram_size()
59 sram_size = str; in get_size_from_cmdline()
96 sram_params.sram_size = get_cache_sram_size(); in mpc85xx_l2ctlr_of_probe()
97 if ((int)sram_params.sram_size <= 0) { in mpc85xx_l2ctlr_of_probe()
111 rem = l2cache_size % sram_params.sram_size; in mpc85xx_l2ctlr_of_probe()
112 ways = LOCK_WAYS_FULL * sram_params.sram_size / l2cache_size; in mpc85xx_l2ctlr_of_probe()
Dfsl_85xx_cache_ctlr.h93 unsigned int sram_size; member
Dfsl_85xx_cache_sram.c100 cache_sram->size = sram_params.sram_size; in instantiate_cache_sram()
/linux-3.4.99/arch/arm/mach-mmp/
Dsram.c34 u32 sram_size; member
89 info->sram_size = resource_size(res); in sram_probe()
90 info->sram_virt = ioremap(info->sram_phys, info->sram_size); in sram_probe()
102 info->sram_phys, info->sram_size, -1); in sram_probe()
/linux-3.4.99/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c22 static int sram_size; variable
91 sram_size = 0x4000; /* bestcomm driver soon */ in mpc52xx_pm_prepare()
129 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
172 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()
Dlite5200_pm.c19 static const int sram_size = 0x4000; /* 16 kBytes */ variable
108 _memcpy_fromio(saved_sram, sram, sram_size); in lite5200_save_regs()
114 _memcpy_toio(sram, saved_sram, sram_size); in lite5200_restore_regs()
/linux-3.4.99/arch/arm/mach-at91/
Dat91sam9rl.c273 unsigned long sram_size; in at91sam9rl_map_io() local
277 sram_size = 2 * SZ_16K; in at91sam9rl_map_io()
281 sram_size = SZ_16K; in at91sam9rl_map_io()
285 at91_init_sram(0, AT91SAM9RL_SRAM_BASE, sram_size); in at91sam9rl_map_io()
Dat91sam9260.c306 unsigned long sram_size; in at91sam9xe_map_io() local
310 sram_size = 2 * SZ_16K; in at91sam9xe_map_io()
314 sram_size = SZ_16K; in at91sam9xe_map_io()
317 at91_init_sram(0, AT91SAM9XE_SRAM_BASE, sram_size); in at91sam9xe_map_io()
/linux-3.4.99/sound/soc/davinci/
Ddavinci-pcm.h23 unsigned sram_size; member
Ddavinci-i2s.c678 dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK].sram_size = in davinci_i2s_probe()
680 dev->dma_params[SNDRV_PCM_STREAM_CAPTURE].sram_size = in davinci_i2s_probe()
Ddavinci-mcasp.c915 dma_data->sram_size = pdata->sram_size_playback; in davinci_mcasp_probe()
932 dma_data->sram_size = pdata->sram_size_capture; in davinci_mcasp_probe()
Ddavinci-pcm.c680 allocate_sram(substream, params->sram_size, ppcm); in davinci_pcm_open()
/linux-3.4.99/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h22 unsigned sram_size; member
Dmyri10ge.c215 int sram_size; member
605 if (fw->size >= mgp->sram_size - MYRI10GE_FW_OFFSET || in myri10ge_load_hotplug_firmware()
668 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > mgp->sram_size) { in myri10ge_adopt_running_firmware()
1926 if ((hdr_off & 3) || hdr_off + sizeof(*hdr) > mgp->sram_size) { in myri10ge_led()
3987 mgp->sram_size = ntohl(__raw_readl(mgp->sram + ss_offset)); in myri10ge_probe()
3988 if (mgp->sram_size > mgp->board_span || in myri10ge_probe()
3989 mgp->sram_size <= MYRI10GE_FW_OFFSET) { in myri10ge_probe()
3992 mgp->sram_size, mgp->board_span); in myri10ge_probe()
3996 mgp->sram + mgp->sram_size, MYRI10GE_EEPROM_STRINGS_SIZE); in myri10ge_probe()
/linux-3.4.99/arch/arm/plat-orion/include/plat/
Dcommon.h109 unsigned long sram_size,
/linux-3.4.99/drivers/crypto/
Dmv_cesa.c91 int sram_size; member
1027 cp->sram_size = resource_size(res); in mv_probe()
1028 cp->max_req_size = cp->sram_size - SRAM_CFG_SPACE; in mv_probe()
1029 cp->sram = ioremap(res->start, cp->sram_size); in mv_probe()
1118 memset(cp->sram, 0, cp->sram_size); in mv_remove()
/linux-3.4.99/drivers/usb/gadget/
Dlangwell_udc.h217 unsigned int sram_size; member
Dlangwell_udc.c2899 dev->sram_size = pci_resource_len(pdev, 1); in sram_init()
2901 dev->sram_addr, dev->sram_size); in sram_init()
2908 dev->sram_addr, dev->sram_size, DMA_MEMORY_MAP)) { in sram_init()
/linux-3.4.99/drivers/net/hippi/
Drrunner.c520 u32 sram_size, rev; in rr_init() local
560 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_init()
561 printk(" SRAM size 0x%06x\n", sram_size); in rr_init()
1487 u32 p2len, p2size, nr_seg, revision, io, sram_size; in rr_load_firmware() local
1515 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_load_firmware()
1517 for (i = 200; i < sram_size / 4; i++){ in rr_load_firmware()
Drrunner.h617 u32 sram_size; member
/linux-3.4.99/arch/arm/plat-orion/
Dcommon.c930 unsigned long sram_size, in orion_crypto_init() argument
937 orion_crypto_resources[2].end = srambase + sram_size - 1; in orion_crypto_init()
/linux-3.4.99/drivers/atm/
Dnicstar.h709 int sram_size; /* In k x 32bit words. 32 or 128 */ member
Dnicstar.c502 card->sram_size = 128; in ns_init_card()
504 card->sram_size = 32; in ns_init_card()
505 PRINTK("nicstar%d: %dK x 32bit SRAM size.\n", i, card->sram_size); in ns_init_card()
510 if (card->sram_size == 128) in ns_init_card()
515 if (card->sram_size == 32) { in ns_init_card()