Searched refs:sram (Results 1 - 124 of 124) sorted by relevance

/linux-4.1.27/arch/sh/boards/mach-sdk7786/
H A DMakefile4 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
H A Dsram.c18 #include <asm/sram.h>
/linux-4.1.27/arch/blackfin/mm/
H A DMakefile5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
H A Disram-driver.c32 * On the Blackfin, L1 instruction sram (which operates at core speeds) can not
135 * Either dest or src can be in L1 instruction sram.
H A Dsram-alloc.c889 ptr = proc_create("sram", S_IRUGO, NULL, &sram_proc_ops); sram_proc_init()
891 printk(KERN_WARNING "unable to create /proc/sram\n"); sram_proc_init()
/linux-4.1.27/arch/powerpc/boot/
H A Dtreeboot-walnut.c25 void *devp, *sram; walnut_flashsel_fixup() local
47 sram = finddevice("/plb/ebc/sram"); walnut_flashsel_fixup()
48 if (!sram) walnut_flashsel_fixup()
49 fatal("Couldn't locate sram node\n\r"); walnut_flashsel_fixup()
51 if (getprop(sram, "reg", reg_sram, sizeof(reg_sram)) != sizeof(reg_sram)) walnut_flashsel_fixup()
52 fatal("sram reg property has unexpected size\n\r"); walnut_flashsel_fixup()
60 setprop(sram, "reg", reg_sram, sizeof(reg_sram)); walnut_flashsel_fixup()
/linux-4.1.27/include/linux/
H A Dintel_pmic_gpio.h9 /* sram address for gpiointr register, the langwell chip will map
10 * the PMIC spi GPIO expander's GPIOINTR register in sram.
/linux-4.1.27/drivers/misc/
H A Dsram.c60 struct sram_dev *sram; sram_probe() local
89 sram = devm_kzalloc(&pdev->dev, sizeof(*sram), GFP_KERNEL); sram_probe()
90 if (!sram) sram_probe()
93 sram->clk = devm_clk_get(&pdev->dev, NULL); sram_probe()
94 if (IS_ERR(sram->clk)) sram_probe()
95 sram->clk = NULL; sram_probe()
97 clk_prepare_enable(sram->clk); sram_probe()
99 sram->pool = devm_gen_pool_create(&pdev->dev, ilog2(SRAM_GRANULARITY), -1); sram_probe()
100 if (!sram->pool) sram_probe()
128 "reserved block %s outside the sram area\n", for_each_available_child_of_node()
179 ret = gen_pool_add_virt(sram->pool,
191 platform_set_drvdata(pdev, sram);
200 if (sram->clk)
201 clk_disable_unprepare(sram->clk);
207 struct sram_dev *sram = platform_get_drvdata(pdev); sram_remove() local
209 if (gen_pool_avail(sram->pool) < gen_pool_size(sram->pool)) sram_remove()
212 if (sram->clk) sram_remove()
213 clk_disable_unprepare(sram->clk); sram_remove()
220 { .compatible = "mmio-sram" },
227 .name = "sram",
/linux-4.1.27/drivers/dma/bestcomm/
H A DMakefile5 bestcomm-core-objs := bestcomm.o sram.o
H A Dsram.c27 #include <linux/fsl/bestcomm/sram.h>
62 /* Get address and size of the sram */ bcom_sram_init()
85 /* sram is not really __iomem */ bcom_sram_init()
H A Dbestcomm.c26 #include <linux/fsl/bestcomm/sram.h>
34 { .compatible = "fsl,mpc5200-sram", },
35 { .compatible = "mpc5200-sram", },
/linux-4.1.27/arch/arm/plat-omap/
H A DMakefile8 obj-y := sram.o dma.o counter_32k.o
H A Dsram.c2 * linux/arch/arm/plat-omap/sram.c
29 #include <plat/sram.h>
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c9 extern void mpc52xx_deep_sleep(void __iomem *sram, void __iomem *sdram_regs,
21 static void __iomem *sram; variable
90 sram = mbar + 0x8000; /* Those will be handled by the */ mpc52xx_pm_prepare()
129 memcpy(saved_sram, sram, sram_size); mpc52xx_pm_enter()
131 /* copy low level suspend code to sram */ mpc52xx_pm_enter()
132 memcpy(sram, mpc52xx_ds_sram, mpc52xx_ds_sram_size); mpc52xx_pm_enter()
156 mpc52xx_deep_sleep(sram, sdram, cdm, intr); mpc52xx_pm_enter()
172 memcpy(sram, saved_sram, sram_size); mpc52xx_pm_enter()
H A Dlite5200_pm.c9 extern void lite5200_low_power(void __iomem *sram, void __iomem *mbar);
18 static void __iomem *sram; variable
84 sram = mbar + 0x8000; lite5200_pm_prepare()
108 _memcpy_fromio(saved_sram, sram, sram_size); lite5200_save_regs()
114 _memcpy_toio(sram, saved_sram, sram_size); lite5200_restore_regs()
216 lite5200_low_power(sram, mbar); lite5200_pm_enter()
H A Dlite5200_sleep.S75 /* copy code to sram */
100 /* jump to sram */
179 /* local udelay in sram is needed */
H A Dmpc52xx_sleep.S46 /* jump to sram */
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dpm.c19 #include <mach/sram.h>
116 void *sram; avr32_pm_enter() local
120 sram = avr32_pm_map_sram(); avr32_pm_enter()
122 /* Switch to in-sram exception handlers */ avr32_pm_enter()
124 sysreg_write(EVBA, (unsigned long)sram); avr32_pm_enter()
142 sram = avr32_pm_map_sram(); avr32_pm_enter()
144 /* Switch to in-sram exception handlers */ avr32_pm_enter()
146 sysreg_write(EVBA, (unsigned long)sram); avr32_pm_enter()
H A Dat32ap700x.c30 #include <mach/sram.h>
/linux-4.1.27/arch/sh/include/asm/
H A Dsram.h9 /* arch/sh/mm/sram.c */
/linux-4.1.27/arch/arm/mach-rockchip/
H A Dplatsmp.c127 pr_err("%s: sram or pmu missing for cpu boot\n", __func__); rockchip_boot_secondary()
151 * (e.g: cpu frequency, bootrom frequency, sram frequency, ...) rockchip_boot_secondary()
164 * rockchip_smp_prepare_sram - populate necessary sram block
165 * Starting cores execute the code residing at the start of the on-chip sram
166 * after power-on. Therefore make sure, this sram region is reserved and
168 * core to the real startup code in ram into the sram-region.
169 * @node: mmio-sram device node
193 /* set the boot function for the sram code */ rockchip_smp_prepare_sram()
196 /* copy the trampoline to sram, that runs during startup of the core */ rockchip_smp_prepare_sram()
266 node = of_find_compatible_node(NULL, NULL, "rockchip,rk3066-smp-sram"); rockchip_smp_prepare_cpus()
268 pr_err("%s: could not find sram dt node\n", __func__); rockchip_smp_prepare_cpus()
274 pr_err("%s: could not map sram registers\n", __func__); rockchip_smp_prepare_cpus()
H A Dsleep.S23 * ddr to sram for system resumeing.
H A Dpm.c197 "rockchip,rk3288-pmu-sram"); rk3288_suspend_init()
/linux-4.1.27/arch/arm/mach-mmp/
H A Dsram.c2 * linux/arch/arm/mach-mmp/sram.c
4 * based on mach-davinci/sram.c - DaVinci simple SRAM allocator
9 * Add for mmp sram support - Leo Yan <leoy@marvell.com>
157 .name = "mmp-sram",
/linux-4.1.27/arch/arm/mach-davinci/
H A Dsram.c2 * mach-davinci/sram.c - DaVinci simple SRAM allocator
17 #include <mach/sram.h>
H A DMakefile8 usb.o common.o sram.o aemif.o
H A Dpm.c24 #include <mach/sram.h>
H A Ddevices-da8xx.c26 #include <mach/sram.h>
H A Dboard-da850-evm.c46 #include <mach/sram.h>
/linux-4.1.27/arch/arm/mach-omap1/
H A DMakefile6 obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
H A Dsram-init.c24 #include "sram.h"
H A Dsram.S2 * linux/arch/arm/plat-omap/sram-fn.S
H A Ddevices.c34 #include "sram.h"
H A Dpm.c65 #include "sram.h"
H A Dclock.c31 #include "sram.h"
H A Dclock_data.c32 #include "sram.h"
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c380 /* From dir/quad_path_gain_lin to sram. */ ar9003_aic_cal_post_process()
391 aic_sram[i].sram.vga_dir_sign = ar9003_aic_cal_post_process()
393 aic_sram[i].sram.vga_quad_sign= ar9003_aic_cal_post_process()
403 aic_sram[i].sram.com_att_6db = ar9003_aic_cal_post_process()
406 aic_sram[i].sram.valid = 1; ar9003_aic_cal_post_process()
408 aic_sram[i].sram.rot_dir_att_db = ar9003_aic_cal_post_process()
412 aic_sram[i].sram.rot_quad_att_db = ar9003_aic_cal_post_process()
419 aic->aic_sram[i] = (SM(aic_sram[i].sram.vga_dir_sign, ar9003_aic_cal_post_process()
421 SM(aic_sram[i].sram.vga_quad_sign, ar9003_aic_cal_post_process()
423 SM(aic_sram[i].sram.com_att_6db, ar9003_aic_cal_post_process()
425 SM(aic_sram[i].sram.valid, ar9003_aic_cal_post_process()
427 SM(aic_sram[i].sram.rot_dir_att_db, ar9003_aic_cal_post_process()
429 SM(aic_sram[i].sram.rot_quad_att_db, ar9003_aic_cal_post_process()
H A Dar9003_aic.h53 struct ath_aic_sram_info sram; member in struct:ath_aic_out_info
/linux-4.1.27/firmware/av7110/
H A DBoot.S63 ldr r3, sram
70 ldr pc, sram // jump to the copied code
107 sram: .word 0x9e000800 label
/linux-4.1.27/arch/sh/mm/
H A Dsram.c13 #include <asm/sram.h>
H A DMakefile43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_85xx_l2ctlr.c69 __setup("cache-sram-size=", get_size_from_cmdline);
70 __setup("cache-sram-offset=", get_offset_from_cmdline);
95 "Entire L2 as cache, provide valid sram offset and size\n"); mpc85xx_l2ctlr_of_probe()
103 dev_err(&dev->dev, "Illegal cache-sram-size in command line\n"); mpc85xx_l2ctlr_of_probe()
H A Dfsl_85xx_cache_sram.c89 dev_err(&dev->dev, "Already initialized cache-sram\n"); instantiate_cache_sram()
/linux-4.1.27/arch/arm/mach-davinci/include/mach/
H A Dsram.h2 * mach/sram.h - DaVinci simple SRAM allocator
/linux-4.1.27/include/linux/fsl/bestcomm/
H A Dsram.h2 * Handling of a sram zone for bestcomm
H A Dbestcomm_priv.h27 #include "sram.h"
/linux-4.1.27/drivers/media/common/b2c2/
H A Dflexcop-sram.c3 * flexcop-sram.c - functions for controlling the SRAM
40 deb_sram("sram dest: %x target: %x\n", dest, target); flexcop_sram_set_dest()
323 dprintk("%s: sram size = 32K\n", __func__);
331 dprintk("%s: sram size = 128K\n", __func__);
339 dprintk("%s: sram size = 64K\n", __func__);
347 dprintk("%s: sram size = 32K\n", __func__);
H A Dflexcop-common.h149 /* from flexcop-sram.c */
165 /* from flexcop-sram.c */
H A Dflexcop.c50 "16=sram,32=reg (|-able))."
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Dixp4xx_qmgr.c197 if (__raw_readl(&qmgr_regs->sram[queue])) { qmgr_request_queue()
211 if (addr + len > ARRAY_SIZE(qmgr_regs->sram)) { qmgr_request_queue()
223 __raw_writel(cfg | (addr << 14), &qmgr_regs->sram[queue]); qmgr_request_queue()
246 cfg = __raw_readl(&qmgr_regs->sram[queue]); qmgr_release_queue()
273 __raw_writel(0, &qmgr_regs->sram[queue]); qmgr_release_queue()
311 __raw_writel(0, &qmgr_regs->sram[i]); qmgr_init()
/linux-4.1.27/drivers/crypto/
H A Dmv_cesa.c85 void __iomem *sram; member in struct:crypto_priv
248 copy_src_to_buf(p, cpg->sram + SRAM_DATA_IN_START + p->crypt_len, setup_data_in()
270 memcpy(cpg->sram + SRAM_DATA_IV, req->info, 16); mv_process_current_q()
275 memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_dec_key, mv_process_current_q()
279 memcpy(cpg->sram + SRAM_DATA_KEY_P, ctx->aes_enc_key, mv_process_current_q()
300 memcpy(cpg->sram + SRAM_CONFIG, &op, mv_process_current_q()
319 memcpy(req->info, cpg->sram + SRAM_DATA_IV_BUF, 16); mv_crypto_algo_completion()
338 memcpy(cpg->sram + SRAM_HMAC_IV_IN, mv_process_hash_current()
381 memcpy(cpg->sram + SRAM_CONFIG, &op, sizeof(struct sec_accel_config)); mv_process_hash_current()
446 memcpy(req->result, cpg->sram + SRAM_DIGEST_BUF, mv_hash_algo_completion()
483 cpg->sram + SRAM_DATA_OUT_START + sram_offset, dequeue_complete_req()
572 memcpy(cpg->sram + SRAM_DATA_IN_START, ctx->buffer, mv_start_new_hash_req()
1050 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "sram"); mv_probe()
1057 cp->sram = ioremap(res->start, cp->sram_size); mv_probe()
1058 if (!cp->sram) { mv_probe()
1138 iounmap(cp->sram); mv_probe()
1159 memset(cp->sram, 0, cp->sram_size); mv_remove()
1160 iounmap(cp->sram); mv_remove()
/linux-4.1.27/sound/soc/intel/atom/sst/
H A Dsst.c472 fw_save->sram = kzalloc(SST_MAILBOX_SIZE, GFP_KERNEL); intel_sst_suspend()
473 if (!fw_save->sram) { intel_sst_suspend()
475 goto sram; intel_sst_suspend()
486 memcpy32_fromio(fw_save->sram, ctx->mailbox, SST_MAILBOX_SIZE); intel_sst_suspend()
493 kfree(fw_save->sram); intel_sst_suspend()
494 sram: intel_sst_suspend()
522 memcpy32_toio(ctx->mailbox, fw_save->sram, SST_MAILBOX_SIZE); intel_sst_resume()
525 kfree(fw_save->sram); intel_sst_resume()
H A Dsst.h343 void *sram; member in struct:sst_fw_save
/linux-4.1.27/drivers/net/wireless/
H A Dray_cs.h29 void __iomem *sram; /* pointer to beginning of shared RAM */ member in struct:ray_dev_t
H A Dray_cs.c394 local->sram = ioremap(link->resource[2]->start, ray_config()
425 dev_dbg(&link->dev, "ray_config sram=%p\n", local->sram); ray_config()
453 return dev->sram + CCS_BASE; ccs_base()
465 return dev->sram + CCS_BASE; rcs_base()
486 memcpy_fromio(&local->startup_res, local->sram + ECF_TO_HOST_BASE, ray_init()
546 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b4, dl_startup_params()
549 memcpy_toio(local->sram + HOST_TO_ECF_BASE, &local->sparm.b5, dl_startup_params()
661 (unsigned int)readb(local->sram + verify_dl_startup()
749 iounmap(local->sram); ray_release()
911 ptx = local->sram + addr; ray_hw_xmit()
1402 struct status __iomem *p = local->sram + STATUS_BASE; ray_get_wireless_stats()
1571 writeb(ccs, local->sram + SCB_BASE); interrupt_ecf()
1691 struct status __iomem *p = local->sram + STATUS_BASE; ray_get_stats()
1740 writeb(value[i], local->sram + HOST_TO_ECF_BASE); ray_update_parm()
1756 void __iomem *p = local->sram + HOST_TO_ECF_BASE; ray_update_multi_list()
1862 rcsindex = readb(&((struct scb __iomem *)(local->sram))->rcs_index); ray_interrupt()
2710 ptx = local->sram + addr; build_auth_frame()
H A Dmwl8k.c188 void __iomem *sram; member in struct:mwl8k_priv
2554 iowrite32(priv->rxq[0].rxd_dma, priv->sram + off); mwl8k_cmd_get_hw_spec_ap()
2557 iowrite32(priv->rxq[0].rxd_dma, priv->sram + off); mwl8k_cmd_get_hw_spec_ap()
5841 priv->sram + priv->txq_offset[i]); mwl8k_init_txqs()
6213 priv->sram = pci_iomap(pdev, 0, 0x10000); mwl8k_probe()
6214 if (priv->sram == NULL) { mwl8k_probe()
6271 if (priv->sram != NULL) mwl8k_probe()
6272 pci_iounmap(pdev, priv->sram); mwl8k_probe()
6326 pci_iounmap(pdev, priv->sram); mwl8k_remove()
/linux-4.1.27/arch/x86/platform/ts5500/
H A Dts5500.c72 * @sram: Flag for SRAM option.
82 bool sram; member in struct:ts5500_sbc
140 sbc->sram = tmp & TS5500_SRAM; ts5500_detect_config()
193 TS5500_ATTR_BOOL(sram); variable
/linux-4.1.27/drivers/usb/host/
H A Dohci-tmio.c192 struct resource *sram = platform_get_resource(dev, IORESOURCE_MEM, 2); ohci_hcd_tmio_drv_probe() local
230 if (!dma_declare_coherent_memory(&dev->dev, sram->start, ohci_hcd_tmio_drv_probe()
231 sram->start, ohci_hcd_tmio_drv_probe()
232 resource_size(sram), ohci_hcd_tmio_drv_probe()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dpxa3xx.c106 static void __iomem *sram; variable
120 void (*fn)(unsigned int) = (void __force *)(sram + 0x8000); pxa3xx_cpu_standby()
122 memcpy_toio(sram + 0x8000, pm_enter_standby_start, pxa3xx_cpu_standby()
221 sram = ioremap(ISRAM_START, ISRAM_SIZE); pxa3xx_init_pm()
222 if (!sram) { pxa3xx_init_pm()
H A Dzeus.c383 .name = "pxa2xx-8bit-sram",
/linux-4.1.27/arch/arm/mach-omap2/
H A Dsram.h10 #include <plat/sram.h>
H A Dsdrc2xxx.c33 #include "sram.h"
H A Dclkt34xx_dpll3m2.c28 #include "sram.h"
H A Domap4-common.c42 #include "sram.h"
H A Dclkt2xxx_dpllcore.c34 #include "sram.h"
H A Dpm34xx.c51 #include "sram.h"
556 pr_err("Memory allocation failed when allocating for secure sram context\n"); omap3_pm_init()
H A Ddma.c197 * after secure sram context save and restore. configure_dma_errata()
H A Dpm24xx.c51 #include "sram.h"
H A Dsram.c31 #include "sram.h"
H A DMakefile11 omap_device.o sram.o drm.o
H A Dclkt2xxx_virt_prcm_set.c43 #include "sram.h"
H A Dio.c45 #include "sram.h"
H A Dsram34xx.S2 * linux/arch/arm/mach-omap3/sram.S
H A Dsleep34xx.S34 #include "sram.h"
/linux-4.1.27/arch/arm/mach-at91/
H A Dpm.c359 for_each_compatible_node(node, NULL, "mmio-sram") { at91_pm_sram_init()
368 pr_warn("%s: failed to find sram device!\n", __func__); at91_pm_sram_init()
374 pr_warn("%s: sram pool unavailable!\n", __func__); at91_pm_sram_init()
380 pr_warn("%s: unable to alloc sram!\n", __func__); at91_pm_sram_init()
H A Dpm_suspend.S198 * @r2: base address of the sram controller
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c221 u8 __iomem *sram; member in struct:myri10ge_priv
399 char __iomem *cmd_addr = mgp->sram + MXGEFW_ETH_CMD; myri10ge_send_cmd()
548 submit = mgp->sram + MXGEFW_BOOT_DUMMY_RDMA; myri10ge_dummy_rdma()
629 myri10ge_pio_copy(mgp->sram + MYRI10GE_FW_OFFSET + i, myri10ge_load_hotplug_firmware()
633 readb(mgp->sram); myri10ge_load_hotplug_firmware()
641 memcpy_fromio(fw_readback, mgp->sram + MYRI10GE_FW_OFFSET, fw->size); myri10ge_load_hotplug_firmware()
668 hdr_offset = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); myri10ge_adopt_running_firmware()
682 memcpy_fromio(hdr, mgp->sram + hdr_offset, bytes); myri10ge_adopt_running_firmware()
786 * the sram before handoff. However, the very first interfaces myri10ge_load_firmware()
794 submit = mgp->sram + MXGEFW_BOOT_HANDOFF; myri10ge_load_firmware()
1115 (__iomem __be32 *) (mgp->sram + cmd.data0 + 8 * i); myri10ge_reset()
1119 mgp->irq_deassert = (__iomem __be32 *) (mgp->sram + cmd.data0); myri10ge_reset()
1123 mgp->intr_coal_delay_ptr = (__iomem __be32 *) (mgp->sram + cmd.data0); myri10ge_reset()
1137 (mgp->sram + dca_tag_off + 4 * i); myri10ge_reset()
2059 hdr_off = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); myri10ge_led()
2065 hdr_len = swab32(readl(mgp->sram + hdr_off + myri10ge_led()
2073 pattern = swab32(readl(mgp->sram + pattern_off + 4)); myri10ge_led()
2074 writel(swab32(pattern), mgp->sram + pattern_off); myri10ge_led()
2425 (mgp->sram + cmd.data0); myri10ge_get_txrx()
2431 (mgp->sram + cmd.data0); myri10ge_get_txrx()
2436 (mgp->sram + cmd.data0); myri10ge_get_txrx()
2439 (mgp->sram + MXGEFW_ETH_SEND_GO + 64 * slice); myri10ge_get_txrx()
2441 (mgp->sram + MXGEFW_ETH_SEND_STOP + 64 * slice); myri10ge_get_txrx()
2518 itable = mgp->sram + cmd.data0; myri10ge_open()
3462 /* a sram parity error can cause a surprise link myri10ge_mask_surprise_down()
3463 * down; since we expect and can recover from sram myri10ge_mask_surprise_down()
4038 mgp->sram = ioremap_wc(mgp->iomem_base, mgp->board_span); myri10ge_probe()
4039 if (mgp->sram == NULL) { myri10ge_probe()
4046 swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)) & 0xffffc; myri10ge_probe()
4048 mgp->sram_size = swab32(readl(mgp->sram + ss_offset)); myri10ge_probe()
4057 mgp->sram + mgp->sram_size, MYRI10GE_EEPROM_STRINGS_SIZE); myri10ge_probe()
4162 iounmap(mgp->sram); myri10ge_probe()
4206 iounmap(mgp->sram); myri10ge_remove()
/linux-4.1.27/drivers/mtd/nand/
H A Datmel_nand.c111 /* Point to the sram bank which include readed data via NFC */
1901 /* Enable Data transfer to sram */ nfc_nand_command()
1969 void *sram = host->nfc->sram_bank0 + nfc_get_sram_off(host); nfc_sram_write_page() local
1976 /* Copy page data to sram that will write to nand via NFC */ nfc_sram_write_page()
1980 memcpy(sram, buf, len); nfc_sram_write_page()
1982 memcpy(sram, buf, len); nfc_sram_write_page()
1987 memcpy(sram + len, chip->oob_poi, mtd->oobsize); nfc_sram_write_page()
1996 * When use NFC sram, need set up PMECC before send nfc_sram_write_page()
1998 * is sent, nfc will do transfer from sram and nand. nfc_sram_write_page()
2249 dev_err(host->dev, "Disable use nfc sram for data transfer.\n"); atmel_nand_probe()
2342 dev_warn(&pdev->dev, "Fail to ioremap the NFC sram with error: %ld. So disable NFC sram.\n", atmel_nand_nfc_probe()
2351 "atmel,write-by-sram"); atmel_nand_nfc_probe()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvpp2.c862 union mvpp2_prs_sram_entry sram; member in struct:mvpp2_prs_entry
988 /* Update parser tcam and sram hw entries */ mvpp2_prs_hw_write()
1004 /* Write sram index - indirect access */ mvpp2_prs_hw_write()
1007 mvpp2_write(priv, MVPP2_PRS_SRAM_DATA_REG(i), pe->sram.word[i]); mvpp2_prs_hw_write()
1031 /* Write sram index - indirect access */ mvpp2_prs_hw_read()
1034 pe->sram.word[i] = mvpp2_read(priv, MVPP2_PRS_SRAM_DATA_REG(i)); mvpp2_prs_hw_read()
1169 /* Set bits in sram sw entry */ mvpp2_prs_sram_bits_set()
1173 pe->sram.byte[MVPP2_BIT_TO_BYTE(bit_num)] |= (val << (bit_num % 8)); mvpp2_prs_sram_bits_set()
1176 /* Clear bits in sram sw entry */ mvpp2_prs_sram_bits_clear()
1180 pe->sram.byte[MVPP2_BIT_TO_BYTE(bit_num)] &= ~(val << (bit_num % 8)); mvpp2_prs_sram_bits_clear()
1183 /* Update ri bits in sram sw entry */ mvpp2_prs_sram_ri_update()
1204 /* Obtain ri bits from sram sw entry */ mvpp2_prs_sram_ri_get()
1207 return pe->sram.word[MVPP2_PRS_SRAM_RI_WORD]; mvpp2_prs_sram_ri_get()
1210 /* Update ai bits in sram sw entry */ mvpp2_prs_sram_ai_update()
1231 /* Read ai bits from sram sw entry */ mvpp2_prs_sram_ai_get()
1239 bits = (pe->sram.byte[ai_off] >> ai_shift) | mvpp2_prs_sram_ai_get()
1240 (pe->sram.byte[ai_en_off] << (8 - ai_shift)); mvpp2_prs_sram_ai_get()
1245 /* In sram sw entry set lookup ID field of the tcam key to be used in the next
1258 /* In the sram sw entry set sign and value of the next lookup offset
1273 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_SHIFT_OFFS)] = mvpp2_prs_sram_shift_set()
1285 /* In the sram sw entry set sign and value of the user defined offset
1304 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_UDF_OFFS + mvpp2_prs_sram_offset_set()
1307 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_UDF_OFFS + mvpp2_prs_sram_offset_set()
1321 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_OP_SEL_UDF_OFFS + mvpp2_prs_sram_offset_set()
1326 pe->sram.byte[MVPP2_BIT_TO_BYTE(MVPP2_PRS_SRAM_OP_SEL_UDF_OFFS + mvpp2_prs_sram_offset_set()
1953 pe.sram.word[MVPP2_PRS_SRAM_RI_WORD] = 0x0; mvpp2_prs_ip4_proto()
1954 pe.sram.word[MVPP2_PRS_SRAM_RI_CTRL_WORD] = 0x0; mvpp2_prs_ip4_proto()
2248 /* Clear all sram ai bits for next iteration */ mvpp2_prs_dsa_init()
2405 pe.sram.word[MVPP2_PRS_SRAM_RI_WORD] = 0x0; mvpp2_prs_etype_init()
2406 pe.sram.word[MVPP2_PRS_SRAM_RI_CTRL_WORD] = 0x0; mvpp2_prs_etype_init()
2606 pe.sram.word[MVPP2_PRS_SRAM_RI_WORD] = 0x0; mvpp2_prs_pppoe_init()
2607 pe.sram.word[MVPP2_PRS_SRAM_RI_CTRL_WORD] = 0x0; mvpp2_prs_pppoe_init()
2897 /* Clear all tcam and sram entries */ mvpp2_prs_default_init()
H A Dmv643xx_eth.c2732 mv643xx_eth_property(pnp, "tx-sram-addr", ppd.tx_sram_addr); mv643xx_eth_shared_of_add_port()
2733 mv643xx_eth_property(pnp, "tx-sram-size", ppd.tx_sram_size); mv643xx_eth_shared_of_add_port()
2735 mv643xx_eth_property(pnp, "rx-sram-addr", ppd.rx_sram_addr); mv643xx_eth_shared_of_add_port()
2736 mv643xx_eth_property(pnp, "rx-sram-size", ppd.rx_sram_size); mv643xx_eth_shared_of_add_port()
3182 netdev_notice(dev, "configured with sram\n"); mv643xx_eth_probe()
/linux-4.1.27/arch/m68k/coldfire/
H A Dm5441x.c49 DEFINE_CLK(0, "mcfddr-sram.0", 46, MCF_CLK);
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/
H A Dqmgr.h57 u32 sram[2048]; /* 0x2000 - 0x3FFF - config and buffer */ member in struct:qmgr_regs
/linux-4.1.27/drivers/atm/
H A Didt77252.h353 unsigned long srambase; /* SAR's sram base address */
357 spinlock_t cmd_lock; /* for r/w utility/sram */
374 unsigned int sramsize; /* SAR's sram size */
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Ddebugfs.c107 int sram; iwl_dbgfs_sram_read() local
140 /* adjust sram address since reads are only on even u32 boundaries */ iwl_dbgfs_sram_read()
142 sram = priv->dbgfs_sram_offset & ~0x3; iwl_dbgfs_sram_read()
144 /* read the first u32 from sram */ iwl_dbgfs_sram_read()
145 val = iwl_trans_read_mem32(priv->trans, sram); iwl_dbgfs_sram_read()
151 "%08X: ", sram + offset); iwl_dbgfs_sram_read()
160 /* if all bytes processed, read the next u32 from sram */ iwl_dbgfs_sram_read()
162 sram += 4; iwl_dbgfs_sram_read()
164 val = iwl_trans_read_mem32(priv->trans, sram); iwl_dbgfs_sram_read()
672 DEBUGFS_READ_WRITE_FILE_OPS(sram); variable
2377 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); iwl_dbgfs_register()
/linux-4.1.27/drivers/scsi/
H A DNCR_Q720.c204 /* enable the sram mapping */ NCR_Q720_probe()
/linux-4.1.27/drivers/gpu/drm/bridge/
H A Dptn3460.c111 DRM_ERROR("Failed to transfer EDID to sram, ret=%d\n", ret); ptn3460_select_edid()
/linux-4.1.27/drivers/uio/
H A Duio_pruss.c35 MODULE_PARM_DESC(sram_pool_sz, "sram pool size to allocate ");
/linux-4.1.27/arch/blackfin/kernel/
H A Dmodule.c28 * in mod->arch to correctly free L1 I/D sram later. module_frob_arch_sections()
H A Dsetup.c1335 cache = "dbank-A/B\t: cache/sram"; show_cpuinfo()
1345 cache = "dbank-A/B\t: sram/sram"; show_cpuinfo()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_ioc_ct.c237 * sram memory access bfa_ioc_ct_reg_init()
295 * sram memory access bfa_ioc_ct2_reg_init()
H A Dbfa_ioc_cb.c185 * sram memory access bfa_ioc_cb_reg_init()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc_ct.c305 * sram memory access bfa_ioc_ct_reg_init()
363 * sram memory access bfa_ioc_ct2_reg_init()
/linux-4.1.27/drivers/media/pci/cx25821/
H A Dcx25821.h41 #include "cx25821-sram.h"
H A Dcx25821-core.c29 #include "cx25821-sram.h"
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dfwio.c221 /* send the block to sram */ cw1200_load_firmware_cw1200()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddib7000m.c151 sram = 0x0005; /* by default SRAM output is disabled */ dib7000m_set_output_mode() local
173 sram |= 0x0c00; dib7000m_set_output_mode()
194 ret |= dib7000m_write_word(state, 1805, sram); dib7000m_set_output_mode()
H A Ddib8000.c404 u16 outreg, fifo_threshold, smo_mode, sram = 0x0205; /* by default SDRAM deintlv is enabled */ dib8000_set_output_mode() local
427 sram &= 0xfdff; dib8000_set_output_mode()
429 sram |= 0x0c00; dib8000_set_output_mode()
457 dib8000_write_word(state, 1291, sram); dib8000_set_output_mode()
1035 /* sram lead in, rdy */ dib8000_reset()
3254 *timeout = now + msecs_to_jiffies(200 * locks); /* give the mpeg lock 800ms if sram is present */ dib8000_tune()
4308 dib8000_i2c_write16(&client, 1287, 0x0003); /* sram lead in, rdy */ dib8000_i2c_enumeration()
4310 /* sram lead in, rdy */ dib8000_i2c_enumeration()
H A Ddib7000p.c2086 dib7000p_write_word(dpst, 1287, 0x0003); /* sram lead in, rdy */ dib7000p_i2c_enumeration()
2089 dib7000p_write_word(dpst, 1287, 0x0003); /* sram lead in, rdy */ dib7000p_i2c_enumeration()
2743 dib7000p_write_word(st, 1287, 0x0003); /* sram lead in, rdy */ dib7000p_init()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-driver.c304 .sram = 0,
338 .sram = 1,
365 .sram = 0, /* like PAL, correct? */
391 .sram = -1,
417 .sram = -1,
443 .sram = -1,
469 .sram = -1,
499 .sram = -1,
881 int table_idx = bttv_tvnorms[btv->tvnorm].sram; bt848A_set_timing()
H A Dbttvp.h101 int sram; member in struct:bttv_tvnorm
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885.h383 /* sram configuration */
H A Dcx23885-core.c501 dprintk(2, "[bridge %d] sram setup %s: bpl=%d lines=%d\n", cx23885_sram_channel_setup()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
H A Dinternal.h256 * @scd_base_addr: scheduler sram base address in SRAM
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/
H A Dfw.c379 "signature:%x, version:%x, size:%x, imemsize:%x, sram size:%x\n", rtl92s_download_fw()
/linux-4.1.27/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c344 { .compatible = "fsl,mpc5121-sram", },
/linux-4.1.27/arch/arm/plat-orion/
H A Dcommon.c862 .name = "sram",
/linux-4.1.27/arch/arm/mach-imx/
H A Dpm-imx6.c446 node = of_find_compatible_node(NULL, NULL, "mmio-sram"); imx6q_suspend_init()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-core.c366 dprintk(2,"sram setup %s: bpl=%d lines=%d\n", ch->name, bpl, lines); cx88_sram_channel_setup()
563 /* init sram */ cx88_reset()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Ddebug.c837 DEBUGFS_READ_WRITE_FILE_OPS(sram); variable
1373 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); il_dbgfs_register()
H A Dcommon.h1276 u32 scd_base_addr; /* scheduler sram base address */
/linux-4.1.27/drivers/net/ethernet/amd/
H A Dpcnet32.c1546 int fdx, mii, fset, dxsuflo, sram; pcnet32_probe1() local
1583 fdx = mii = fset = dxsuflo = sram = 0; pcnet32_probe1()
1616 sram = 1; pcnet32_probe1()
1640 sram = 1; pcnet32_probe1()
1675 if (sram) { pcnet32_probe1()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c918 * t3_get_tp_version - read the tp sram version
922 * Reads the protocol sram version from sram.
941 * t3_check_tpsram_version - read the tp sram version
944 * Reads the protocol sram version from flash.
980 * Checks if an adapter's tp sram is compatible with the driver.
2934 * t3_set_proto_sram - set the contents of the protocol sram
H A Dcommon.h77 PROTO_SRAM_LINES = 128, /* size of TP sram */
/linux-4.1.27/drivers/edac/
H A Dmv64x60_edac.c285 "sram", 1, NULL, 0, 0, NULL, 0, mv64x60_sram_err_probe()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs.c1482 MVM_DEBUGFS_READ_WRITE_FILE_OPS(sram, 64);
1521 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, S_IWUSR | S_IRUSR); iwl_mvm_dbgfs_register()
/linux-4.1.27/sound/soc/davinci/
H A Ddavinci-mcasp.c1540 ret = of_property_read_u32(np, "sram-size-playback", &val); davinci_mcasp_set_pdata_from_of()
1544 ret = of_property_read_u32(np, "sram-size-capture", &val); davinci_mcasp_set_pdata_from_of()
/linux-4.1.27/drivers/net/ethernet/fujitsu/
H A Dfmvj18x_cs.c526 netdev_info(dev, "%s, sram %s, port %#3lx, irq %d, hw_addr %pM\n", fmvj18x_config()
/linux-4.1.27/drivers/pinctrl/bcm/
H A Dpinctrl-cygnus-mux.c681 CYGNUS_PIN_FUNCTION(sram),
/linux-4.1.27/sound/soc/codecs/
H A Dsn95031.c805 pr_debug("interrupt id read in sram = 0x%x\n", jack_data->intr_id); sn95031_jack_detection()
/linux-4.1.27/drivers/net/hippi/
H A Drrunner.c1551 printk("%s: segment %i, sram address %06x, length %04x, segptr %06x\n", rr_load_firmware()
/linux-4.1.27/drivers/net/ethernet/natsemi/
H A Dns83820.c2041 ns83820_run_bist(ndev, "sram bist", PTSCR_RBIST_EN, ns83820_init_one()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_pci.c972 * Test for the presence of external sram in an
/linux-4.1.27/drivers/usb/serial/
H A Dio_edgeport.c2008 * writes a number of bytes to the Edgeport device's sram starting at the
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2200.c2740 /* write the eeprom data to sram */ ipw_eeprom_init_sram()
3659 /* initialize the eeprom region of sram */ ipw_load()
3707 * sram, one transmit queue for sending commands to the device firmware,

Completed in 5960 milliseconds