Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.10/drivers/crypto/marvell/cesa/
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()
441 u32 sram_size; in mv_cesa_probe() local
463 sram_size = CESA_SA_DEFAULT_SRAM_SIZE; in mv_cesa_probe()
465 &sram_size); in mv_cesa_probe()
466 if (sram_size < CESA_SA_MIN_SRAM_SIZE) in mv_cesa_probe()
467 sram_size = CESA_SA_MIN_SRAM_SIZE; in mv_cesa_probe()
[all …]
Dcesa.h196 #define CESA_SA_SRAM_PAYLOAD_SIZE (cesa_dev->sram_size - \
420 unsigned int sram_size; member
/Linux-v5.10/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.10/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.10/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()
1870 if ((hdr_off & 3) || hdr_off + sizeof(*hdr) > mgp->sram_size) { in myri10ge_led()
3812 mgp->sram_size = swab32(readl(mgp->sram + ss_offset)); in myri10ge_probe()
3813 if (mgp->sram_size > mgp->board_span || in myri10ge_probe()
3814 mgp->sram_size <= MYRI10GE_FW_OFFSET) { in myri10ge_probe()
3817 mgp->sram_size, mgp->board_span); in myri10ge_probe()
3821 mgp->sram + mgp->sram_size, MYRI10GE_EEPROM_STRINGS_SIZE); in myri10ge_probe()
/Linux-v5.10/arch/arm/plat-orion/include/plat/
Dcommon.h100 unsigned long sram_size,
/Linux-v5.10/drivers/remoteproc/
Dmtk_common.h89 size_t sram_size; member
Dmtk_scp.c409 if (da < scp->sram_size) { in scp_da_to_va()
411 if (offset >= 0 && (offset + len) < scp->sram_size) in scp_da_to_va()
658 scp->sram_size = resource_size(res); in scp_probe()
/Linux-v5.10/drivers/net/hippi/
Drrunner.c507 u32 sram_size, rev; in rr_init() local
547 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_init()
548 printk(" SRAM size 0x%06x\n", sram_size); in rr_init()
1473 u32 p2len, p2size, nr_seg, revision, io, sram_size; in rr_load_firmware() local
1501 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_load_firmware()
1503 for (i = 200; i < sram_size / 4; i++){ in rr_load_firmware()
Drrunner.h618 u32 sram_size; member
/Linux-v5.10/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.10/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.h94 unsigned long sram_size; member
Dc8sectpfe-core.c691 fei->sram_size = resource_size(res); in c8sectpfe_probe()
722 memset_io(fei->sram, 0x0, fei->sram_size); in c8sectpfe_probe()
/Linux-v5.10/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h264 unsigned int sram_size; member
/Linux-v5.10/drivers/misc/habanalabs/common/
Dhabanalabs_ioctl.c62 hw_ip.sram_size = prop->sram_size - sram_kmd_size; in hw_ip_info()
Dhabanalabs.h356 u32 sram_size; member
/Linux-v5.10/include/uapi/misc/
Dhabanalabs.h295 __u32 sram_size; member
/Linux-v5.10/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.10/drivers/misc/habanalabs/goya/
Dgoya.c400 prop->sram_size = SRAM_SIZE; in goya_get_fixed_properties()
401 prop->sram_end_address = prop->sram_base_address + prop->sram_size; in goya_get_fixed_properties()
4805 u32 size = hdev->pldm ? 0x10000 : prop->sram_size; in goya_context_switch()

12