/linux-4.1.27/arch/sh/boards/mach-sdk7786/ |
H A D | Makefile | 4 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
|
H A D | sram.c | 18 #include <asm/sram.h>
|
/linux-4.1.27/arch/blackfin/mm/ |
H A D | Makefile | 5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
|
H A D | isram-driver.c | 32 * 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 D | sram-alloc.c | 889 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 D | treeboot-walnut.c | 25 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 D | intel_pmic_gpio.h | 9 /* 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 D | sram.c | 60 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 D | Makefile | 5 bestcomm-core-objs := bestcomm.o sram.o
|
H A D | sram.c | 27 #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 D | bestcomm.c | 26 #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 D | Makefile | 8 obj-y := sram.o dma.o counter_32k.o
|
H A D | sram.c | 2 * linux/arch/arm/plat-omap/sram.c 29 #include <plat/sram.h>
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pm.c | 9 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 D | lite5200_pm.c | 9 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 D | lite5200_sleep.S | 75 /* copy code to sram */ 100 /* jump to sram */ 179 /* local udelay in sram is needed */
|
H A D | mpc52xx_sleep.S | 46 /* jump to sram */
|
/linux-4.1.27/arch/avr32/mach-at32ap/ |
H A D | pm.c | 19 #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 D | at32ap700x.c | 30 #include <mach/sram.h>
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | sram.h | 9 /* arch/sh/mm/sram.c */
|
/linux-4.1.27/arch/arm/mach-rockchip/ |
H A D | platsmp.c | 127 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 D | sleep.S | 23 * ddr to sram for system resumeing.
|
H A D | pm.c | 197 "rockchip,rk3288-pmu-sram"); rk3288_suspend_init()
|
/linux-4.1.27/arch/arm/mach-mmp/ |
H A D | sram.c | 2 * 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 D | sram.c | 2 * mach-davinci/sram.c - DaVinci simple SRAM allocator 17 #include <mach/sram.h>
|
H A D | Makefile | 8 usb.o common.o sram.o aemif.o
|
H A D | pm.c | 24 #include <mach/sram.h>
|
H A D | devices-da8xx.c | 26 #include <mach/sram.h>
|
H A D | board-da850-evm.c | 46 #include <mach/sram.h>
|
/linux-4.1.27/arch/arm/mach-omap1/ |
H A D | Makefile | 6 obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
|
H A D | sram-init.c | 24 #include "sram.h"
|
H A D | sram.S | 2 * linux/arch/arm/plat-omap/sram-fn.S
|
H A D | devices.c | 34 #include "sram.h"
|
H A D | pm.c | 65 #include "sram.h"
|
H A D | clock.c | 31 #include "sram.h"
|
H A D | clock_data.c | 32 #include "sram.h"
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_aic.c | 380 /* 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 D | ar9003_aic.h | 53 struct ath_aic_sram_info sram; member in struct:ath_aic_out_info
|
/linux-4.1.27/firmware/av7110/ |
H A D | Boot.S | 63 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 D | sram.c | 13 #include <asm/sram.h>
|
H A D | Makefile | 43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | fsl_85xx_l2ctlr.c | 69 __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 D | fsl_85xx_cache_sram.c | 89 dev_err(&dev->dev, "Already initialized cache-sram\n"); instantiate_cache_sram()
|
/linux-4.1.27/arch/arm/mach-davinci/include/mach/ |
H A D | sram.h | 2 * mach/sram.h - DaVinci simple SRAM allocator
|
/linux-4.1.27/include/linux/fsl/bestcomm/ |
H A D | sram.h | 2 * Handling of a sram zone for bestcomm
|
H A D | bestcomm_priv.h | 27 #include "sram.h"
|
/linux-4.1.27/drivers/media/common/b2c2/ |
H A D | flexcop-sram.c | 3 * 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 D | flexcop-common.h | 149 /* from flexcop-sram.c */ 165 /* from flexcop-sram.c */
|
H A D | flexcop.c | 50 "16=sram,32=reg (|-able))."
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | ixp4xx_qmgr.c | 197 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 D | mv_cesa.c | 85 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 D | sst.c | 472 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 D | sst.h | 343 void *sram; member in struct:sst_fw_save
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | ray_cs.h | 29 void __iomem *sram; /* pointer to beginning of shared RAM */ member in struct:ray_dev_t
|
H A D | ray_cs.c | 394 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 D | mwl8k.c | 188 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 D | ts5500.c | 72 * @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 D | ohci-tmio.c | 192 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 D | pxa3xx.c | 106 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 D | zeus.c | 383 .name = "pxa2xx-8bit-sram",
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | sram.h | 10 #include <plat/sram.h>
|
H A D | sdrc2xxx.c | 33 #include "sram.h"
|
H A D | clkt34xx_dpll3m2.c | 28 #include "sram.h"
|
H A D | omap4-common.c | 42 #include "sram.h"
|
H A D | clkt2xxx_dpllcore.c | 34 #include "sram.h"
|
H A D | pm34xx.c | 51 #include "sram.h" 556 pr_err("Memory allocation failed when allocating for secure sram context\n"); omap3_pm_init()
|
H A D | dma.c | 197 * after secure sram context save and restore. configure_dma_errata()
|
H A D | pm24xx.c | 51 #include "sram.h"
|
H A D | sram.c | 31 #include "sram.h"
|
H A D | Makefile | 11 omap_device.o sram.o drm.o
|
H A D | clkt2xxx_virt_prcm_set.c | 43 #include "sram.h"
|
H A D | io.c | 45 #include "sram.h"
|
H A D | sram34xx.S | 2 * linux/arch/arm/mach-omap3/sram.S
|
H A D | sleep34xx.S | 34 #include "sram.h"
|
/linux-4.1.27/arch/arm/mach-at91/ |
H A D | pm.c | 359 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 D | pm_suspend.S | 198 * @r2: base address of the sram controller
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 221 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 D | atmel_nand.c | 111 /* 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 D | mvpp2.c | 862 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 D | mv643xx_eth.c | 2732 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 D | m5441x.c | 49 DEFINE_CLK(0, "mcfddr-sram.0", 46, MCF_CLK);
|
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/ |
H A D | qmgr.h | 57 u32 sram[2048]; /* 0x2000 - 0x3FFF - config and buffer */ member in struct:qmgr_regs
|
/linux-4.1.27/drivers/atm/ |
H A D | idt77252.h | 353 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 D | debugfs.c | 107 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 D | NCR_Q720.c | 204 /* enable the sram mapping */ NCR_Q720_probe()
|
/linux-4.1.27/drivers/gpu/drm/bridge/ |
H A D | ptn3460.c | 111 DRM_ERROR("Failed to transfer EDID to sram, ret=%d\n", ret); ptn3460_select_edid()
|
/linux-4.1.27/drivers/uio/ |
H A D | uio_pruss.c | 35 MODULE_PARM_DESC(sram_pool_sz, "sram pool size to allocate ");
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | module.c | 28 * in mod->arch to correctly free L1 I/D sram later. module_frob_arch_sections()
|
H A D | setup.c | 1335 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 D | bfa_ioc_ct.c | 237 * sram memory access bfa_ioc_ct_reg_init() 295 * sram memory access bfa_ioc_ct2_reg_init()
|
H A D | bfa_ioc_cb.c | 185 * sram memory access bfa_ioc_cb_reg_init()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc_ct.c | 305 * 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 D | cx25821.h | 41 #include "cx25821-sram.h"
|
H A D | cx25821-core.c | 29 #include "cx25821-sram.h"
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | fwio.c | 221 /* send the block to sram */ cw1200_load_firmware_cw1200()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | dib7000m.c | 151 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 D | dib8000.c | 404 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 D | dib7000p.c | 2086 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 D | bttv-driver.c | 304 .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 D | bttvp.h | 101 int sram; member in struct:bttv_tvnorm
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885.h | 383 /* sram configuration */
|
H A D | cx23885-core.c | 501 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 D | internal.h | 256 * @scd_base_addr: scheduler sram base address in SRAM
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | fw.c | 379 "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 D | mpc512x_shared.c | 344 { .compatible = "fsl,mpc5121-sram", },
|
/linux-4.1.27/arch/arm/plat-orion/ |
H A D | common.c | 862 .name = "sram",
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | pm-imx6.c | 446 node = of_find_compatible_node(NULL, NULL, "mmio-sram"); imx6q_suspend_init()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 366 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 D | debug.c | 837 DEBUGFS_READ_WRITE_FILE_OPS(sram); variable 1373 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); il_dbgfs_register()
|
H A D | common.h | 1276 u32 scd_base_addr; /* scheduler sram base address */
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 1546 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 D | t3_hw.c | 918 * 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 D | common.h | 77 PROTO_SRAM_LINES = 128, /* size of TP sram */
|
/linux-4.1.27/drivers/edac/ |
H A D | mv64x60_edac.c | 285 "sram", 1, NULL, 0, 0, NULL, 0, mv64x60_sram_err_probe()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | debugfs.c | 1482 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 D | davinci-mcasp.c | 1540 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 D | fmvj18x_cs.c | 526 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 D | pinctrl-cygnus-mux.c | 681 CYGNUS_PIN_FUNCTION(sram),
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | sn95031.c | 805 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 D | rrunner.c | 1551 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 D | ns83820.c | 2041 ns83820_run_bist(ndev, "sram bist", PTSCR_RBIST_EN, ns83820_init_one()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_pci.c | 972 * Test for the presence of external sram in an
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | io_edgeport.c | 2008 * writes a number of bytes to the Edgeport device's sram starting at the
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
H A D | ipw2200.c | 2740 /* 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,
|