Home
last modified time | relevance | path

Searched refs:sram (Results 1 – 17 of 17) sorted by relevance

/drivers/misc/
Dsram.c42 struct sram_dev *sram; in sram_probe() local
57 sram = devm_kzalloc(&pdev->dev, sizeof(*sram), GFP_KERNEL); in sram_probe()
58 if (!sram) in sram_probe()
61 sram->clk = devm_clk_get(&pdev->dev, NULL); in sram_probe()
62 if (IS_ERR(sram->clk)) in sram_probe()
63 sram->clk = NULL; in sram_probe()
65 clk_prepare_enable(sram->clk); in sram_probe()
67 sram->pool = devm_gen_pool_create(&pdev->dev, ilog2(SRAM_GRANULARITY), -1); in sram_probe()
68 if (!sram->pool) in sram_probe()
71 ret = gen_pool_add_virt(sram->pool, (unsigned long)virt_base, in sram_probe()
[all …]
DMakefile56 obj-$(CONFIG_SRAM) += sram.o
/drivers/crypto/
Dmv_cesa.c85 void __iomem *sram; member
248 copy_src_to_buf(p, cpg->sram + SRAM_DATA_IN_START + p->crypt_len, in setup_data_in()
270 memcpy(cpg->sram + SRAM_DATA_IV, req->info, 16); in mv_process_current_q()
275 memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_dec_key, in mv_process_current_q()
279 memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_enc_key, in mv_process_current_q()
300 memcpy(cpg->sram + SRAM_CONFIG, &op, in mv_process_current_q()
319 memcpy(req->info, cpg->sram + SRAM_DATA_IV_BUF, 16); in mv_crypto_algo_completion()
338 memcpy(cpg->sram + SRAM_HMAC_IV_IN, in mv_process_hash_current()
381 memcpy(cpg->sram + SRAM_CONFIG, &op, sizeof(struct sec_accel_config)); in mv_process_hash_current()
449 memcpy(req->result, cpg->sram + SRAM_DIGEST_BUF, in mv_hash_algo_completion()
[all …]
/drivers/usb/host/
Dohci-tmio.c193 struct resource *sram = platform_get_resource(dev, IORESOURCE_MEM, 2); in ohci_hcd_tmio_drv_probe() local
231 if (!dma_declare_coherent_memory(&dev->dev, sram->start, in ohci_hcd_tmio_drv_probe()
232 sram->start, in ohci_hcd_tmio_drv_probe()
233 resource_size(sram), in ohci_hcd_tmio_drv_probe()
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c209 u8 __iomem *sram; member
388 char __iomem *cmd_addr = mgp->sram + MXGEFW_ETH_CMD; in myri10ge_send_cmd()
537 submit = mgp->sram + MXGEFW_BOOT_DUMMY_RDMA; in myri10ge_dummy_rdma()
617 myri10ge_pio_copy(mgp->sram + MYRI10GE_FW_OFFSET + i, in myri10ge_load_hotplug_firmware()
621 readb(mgp->sram); in myri10ge_load_hotplug_firmware()
629 memcpy_fromio(fw_readback, mgp->sram + MYRI10GE_FW_OFFSET, fw->size); in myri10ge_load_hotplug_firmware()
656 hdr_offset = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); in myri10ge_adopt_running_firmware()
670 memcpy_fromio(hdr, mgp->sram + hdr_offset, bytes); in myri10ge_adopt_running_firmware()
782 submit = mgp->sram + MXGEFW_BOOT_HANDOFF; in myri10ge_load_firmware()
1013 (__iomem __be32 *) (mgp->sram + cmd.data0 + 8 * i); in myri10ge_reset()
[all …]
/drivers/net/wireless/
Dray_cs.c395 local->sram = ioremap(link->resource[2]->start, in ray_config()
426 dev_dbg(&link->dev, "ray_config sram=%p\n", local->sram); in ray_config()
454 return dev->sram + CCS_BASE; in ccs_base()
466 return dev->sram + CCS_BASE; in rcs_base()
487 memcpy_fromio(&local->startup_res, local->sram + ECF_TO_HOST_BASE, in ray_init()
547 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b4, in dl_startup_params()
550 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b5, in dl_startup_params()
662 (unsigned int)readb(local->sram + in verify_dl_startup()
750 iounmap(local->sram); in ray_release()
912 ptx = local->sram + addr; in ray_hw_xmit()
[all …]
Dray_cs.h28 void __iomem *sram; /* pointer to beginning of shared RAM */ member
Dmwl8k.c184 void __iomem *sram; member
2543 iowrite32(priv->rxq[0].rxd_dma, priv->sram + off); in mwl8k_cmd_get_hw_spec_ap()
2546 iowrite32(priv->rxq[0].rxd_dma, priv->sram + off); in mwl8k_cmd_get_hw_spec_ap()
5654 priv->sram + priv->txq_offset[i]); in mwl8k_init_txqs()
6028 priv->sram = pci_iomap(pdev, 0, 0x10000); in mwl8k_probe()
6029 if (priv->sram == NULL) { in mwl8k_probe()
6086 if (priv->sram != NULL) in mwl8k_probe()
6087 pci_iounmap(pdev, priv->sram); in mwl8k_probe()
6142 pci_iounmap(pdev, priv->sram); in mwl8k_remove()
/drivers/media/common/b2c2/
DMakefile2 b2c2-flexcop-objs += flexcop-sram.o flexcop-eeprom.o flexcop-misc.o
/drivers/dma/bestcomm/
DMakefile5 bestcomm-core-objs := bestcomm.o sram.o
/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c521 MVM_DEBUGFS_READ_WRITE_FILE_OPS(sram);
539 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c122 int sram; in iwl_dbgfs_sram_read() local
157 sram = priv->dbgfs_sram_offset & ~0x3; in iwl_dbgfs_sram_read()
160 val = iwl_trans_read_mem32(priv->trans, sram); in iwl_dbgfs_sram_read()
166 "%08X: ", sram + offset); in iwl_dbgfs_sram_read()
177 sram += 4; in iwl_dbgfs_sram_read()
179 val = iwl_trans_read_mem32(priv->trans, sram); in iwl_dbgfs_sram_read()
687 DEBUGFS_READ_WRITE_FILE_OPS(sram);
2393 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in iwl_dbgfs_register()
/drivers/media/dvb-frontends/
Ddib7000m.c151 sram = 0x0005; /* by default SRAM output is disabled */ in dib7000m_set_output_mode() local
173 sram |= 0x0c00; in dib7000m_set_output_mode()
194 ret |= dib7000m_write_word(state, 1805, sram); in dib7000m_set_output_mode()
Ddib8000.c380 u16 outreg, fifo_threshold, smo_mode, sram = 0x0205; /* by default SDRAM deintlv is enabled */ in dib8000_set_output_mode() local
403 sram &= 0xfdff; in dib8000_set_output_mode()
405 sram |= 0x0c00; in dib8000_set_output_mode()
433 dib8000_write_word(state, 1291, sram); in dib8000_set_output_mode()
/drivers/media/pci/bt8xx/
Dbttvp.h100 int sram; member
Dbttv-driver.c305 .sram = 0,
339 .sram = 1,
366 .sram = 0, /* like PAL, correct? */
392 .sram = -1,
418 .sram = -1,
444 .sram = -1,
470 .sram = -1,
500 .sram = -1,
882 int table_idx = bttv_tvnorms[btv->tvnorm].sram; in bt848A_set_timing()
/drivers/net/wireless/iwlegacy/
Ddebug.c837 DEBUGFS_READ_WRITE_FILE_OPS(sram);
1373 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()