Home
last modified time | relevance | path

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

/drivers/crypto/marvell/
Dcesa.c394 cesa->sram_size, in mv_cesa_get_sram()
412 if (!res || resource_size(res) < cesa->sram_size) in mv_cesa_get_sram()
434 cesa->sram_size); in mv_cesa_put_sram()
447 u32 sram_size; in mv_cesa_probe() local
472 sram_size = CESA_SA_DEFAULT_SRAM_SIZE; in mv_cesa_probe()
474 &sram_size); in mv_cesa_probe()
475 if (sram_size < CESA_SA_MIN_SRAM_SIZE) in mv_cesa_probe()
476 sram_size = CESA_SA_MIN_SRAM_SIZE; in mv_cesa_probe()
478 cesa->sram_size = sram_size; in mv_cesa_probe()
Dcesa.h197 #define CESA_SA_SRAM_PAYLOAD_SIZE (cesa_dev->sram_size - \
415 unsigned int sram_size; member
/drivers/crypto/
Dmv_cesa.c104 int sram_size; member
1032 u32 sram_size = MV_CESA_DEFAULT_SRAM_SIZE; in mv_cesa_get_sram() local
1035 &sram_size); in mv_cesa_get_sram()
1037 cp->sram_size = sram_size; in mv_cesa_get_sram()
1041 cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size, in mv_cesa_get_sram()
1051 if (!res || resource_size(res) < cp->sram_size) in mv_cesa_get_sram()
1093 cp->max_req_size = cp->sram_size - SRAM_CFG_SPACE; in mv_probe()
1183 memset(cp->sram, 0, cp->sram_size); in mv_remove()
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp_gen_header.h23 unsigned sram_size; member
Dmyri10ge.c207 int sram_size; member
592 if (fw->size >= mgp->sram_size - MYRI10GE_FW_OFFSET || in myri10ge_load_hotplug_firmware()
655 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > mgp->sram_size) { in myri10ge_adopt_running_firmware()
1884 if ((hdr_off & 3) || hdr_off + sizeof(*hdr) > mgp->sram_size) { in myri10ge_led()
3850 mgp->sram_size = swab32(readl(mgp->sram + ss_offset)); in myri10ge_probe()
3851 if (mgp->sram_size > mgp->board_span || in myri10ge_probe()
3852 mgp->sram_size <= MYRI10GE_FW_OFFSET) { in myri10ge_probe()
3855 mgp->sram_size, mgp->board_span); in myri10ge_probe()
3859 mgp->sram + mgp->sram_size, MYRI10GE_EEPROM_STRINGS_SIZE); in myri10ge_probe()
/drivers/net/hippi/
Drrunner.c508 u32 sram_size, rev; in rr_init() local
548 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_init()
549 printk(" SRAM size 0x%06x\n", sram_size); in rr_init()
1474 u32 p2len, p2size, nr_seg, revision, io, sram_size; in rr_load_firmware() local
1502 sram_size = rr_read_eeprom_word(rrpriv, 8); in rr_load_firmware()
1504 for (i = 200; i < sram_size / 4; i++){ in rr_load_firmware()
Drrunner.h618 u32 sram_size; member
/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.h97 unsigned long sram_size; member
Dc8sectpfe-core.c696 fei->sram_size = res->end - res->start; in c8sectpfe_probe()
731 memset_io(fei->sram, 0x0, fei->sram_size); in c8sectpfe_probe()
/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h308 unsigned int sram_size; member
/drivers/atm/
Dnicstar.h710 int sram_size; /* In k x 32bit words. 32 or 128 */ member
Dnicstar.c493 card->sram_size = 128; in ns_init_card()
495 card->sram_size = 32; in ns_init_card()
496 PRINTK("nicstar%d: %dK x 32bit SRAM size.\n", i, card->sram_size); in ns_init_card()
501 if (card->sram_size == 128) in ns_init_card()
506 if (card->sram_size == 32) { in ns_init_card()