Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c17 static char *sram_size; variable
26 if (!sram_size || (kstrtouint(sram_size, 0, &size) < 0)) in get_cache_sram_params()
33 sram_params->sram_size = size; in get_cache_sram_params()
43 sram_size = str; in get_size_from_cmdline()
83 rem = l2cache_size % sram_params.sram_size; in mpc85xx_l2ctlr_of_probe()
84 ways = LOCK_WAYS_FULL * sram_params.sram_size / l2cache_size; in mpc85xx_l2ctlr_of_probe()
Dfsl_85xx_cache_ctlr.h80 unsigned int sram_size; member
Dfsl_85xx_cache_sram.c87 cache_sram->size = sram_params.sram_size; in instantiate_cache_sram()
/Linux-v5.4/drivers/crypto/marvell/
Dcesa.c385 cesa->sram_size, in mv_cesa_get_sram()
403 if (!res || resource_size(res) < cesa->sram_size) in mv_cesa_get_sram()
411 cesa->sram_size, in mv_cesa_get_sram()
426 cesa->sram_size); in mv_cesa_put_sram()
429 cesa->sram_size, DMA_BIDIRECTIONAL, 0); in mv_cesa_put_sram()
442 u32 sram_size; in mv_cesa_probe() local
464 sram_size = CESA_SA_DEFAULT_SRAM_SIZE; in mv_cesa_probe()
466 &sram_size); in mv_cesa_probe()
467 if (sram_size < CESA_SA_MIN_SRAM_SIZE) in mv_cesa_probe()
468 sram_size = CESA_SA_MIN_SRAM_SIZE; in mv_cesa_probe()
[all …]
Dcesa.h198 #define CESA_SA_SRAM_PAYLOAD_SIZE (cesa_dev->sram_size - \
416 unsigned int sram_size; member
/Linux-v5.4/arch/arm/mach-mmp/
Dsram.c31 u32 sram_size; member
86 info->sram_size = resource_size(res); in sram_probe()
87 info->sram_virt = ioremap(info->sram_phys, info->sram_size); in sram_probe()
99 info->sram_phys, info->sram_size, -1); in sram_probe()
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c23 static int sram_size; variable
92 sram_size = 0x4000; /* bestcomm driver soon */ in mpc52xx_pm_prepare()
133 memcpy(saved_sram, sram, sram_size); in mpc52xx_pm_enter()
176 memcpy(sram, saved_sram, sram_size); in mpc52xx_pm_enter()
Dlite5200_pm.c20 static const int sram_size = 0x4000; /* 16 kBytes */ variable
109 _memcpy_fromio(saved_sram, sram, sram_size); in lite5200_save_regs()
115 _memcpy_toio(sram, saved_sram, sram_size); in lite5200_restore_regs()
/Linux-v5.4/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h23 unsigned sram_size; member
Dmyri10ge.c206 int sram_size; member
591 if (fw->size >= mgp->sram_size - MYRI10GE_FW_OFFSET || in myri10ge_load_hotplug_firmware()
654 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > mgp->sram_size) { in myri10ge_adopt_running_firmware()
1882 if ((hdr_off & 3) || hdr_off + sizeof(*hdr) > mgp->sram_size) { in myri10ge_led()
3846 mgp->sram_size = swab32(readl(mgp->sram + ss_offset)); in myri10ge_probe()
3847 if (mgp->sram_size > mgp->board_span || in myri10ge_probe()
3848 mgp->sram_size <= MYRI10GE_FW_OFFSET) { in myri10ge_probe()
3851 mgp->sram_size, mgp->board_span); in myri10ge_probe()
3855 mgp->sram + mgp->sram_size, MYRI10GE_EEPROM_STRINGS_SIZE); in myri10ge_probe()
/Linux-v5.4/arch/arm/plat-orion/include/plat/
Dcommon.h100 unsigned long sram_size,
/Linux-v5.4/drivers/misc/habanalabs/
Dhabanalabs_ioctl.c61 hw_ip.sram_size = prop->sram_size - sram_kmd_size; in hw_ip_info()
Dhabanalabs.h207 u32 sram_size; member
/Linux-v5.4/drivers/net/hippi/
Drrunner.c504 u32 sram_size, rev; in rr_init() local
544 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_init()
545 printk(" SRAM size 0x%06x\n", sram_size); in rr_init()
1466 u32 p2len, p2size, nr_seg, revision, io, sram_size; in rr_load_firmware() local
1494 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_load_firmware()
1496 for (i = 200; i < sram_size / 4; i++){ in rr_load_firmware()
Drrunner.h618 u32 sram_size; member
/Linux-v5.4/include/uapi/misc/
Dhabanalabs.h113 __u32 sram_size; member
/Linux-v5.4/arch/arm/plat-orion/
Dcommon.c847 unsigned long sram_size, in orion_crypto_init() argument
854 orion_crypto_resources[2].end = srambase + sram_size - 1; in orion_crypto_init()
/Linux-v5.4/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.h94 unsigned long sram_size; member
Dc8sectpfe-core.c693 fei->sram_size = resource_size(res); in c8sectpfe_probe()
724 memset_io(fei->sram, 0x0, fei->sram_size); in c8sectpfe_probe()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h308 unsigned int sram_size; member
/Linux-v5.4/drivers/atm/
Dnicstar.h710 int sram_size; /* In k x 32bit words. 32 or 128 */ member
Dnicstar.c492 card->sram_size = 128; in ns_init_card()
494 card->sram_size = 32; in ns_init_card()
495 PRINTK("nicstar%d: %dK x 32bit SRAM size.\n", i, card->sram_size); in ns_init_card()
500 if (card->sram_size == 128) in ns_init_card()
505 if (card->sram_size == 32) { in ns_init_card()
/Linux-v5.4/drivers/misc/habanalabs/goya/
Dgoya.c364 prop->sram_size = SRAM_SIZE; in goya_get_fixed_properties()
365 prop->sram_end_address = prop->sram_base_address + prop->sram_size; in goya_get_fixed_properties()
4645 u32 size = hdev->pldm ? 0x10000 : prop->sram_size; in goya_context_switch()