/linux-4.4.14/arch/sh/boards/mach-ap325rxa/ |
H A D | Makefile | 1 obj-y := setup.o sdram.o
|
/linux-4.4.14/arch/sh/boards/mach-migor/ |
H A D | Makefile | 1 obj-y := setup.o sdram.o
|
/linux-4.4.14/arch/sh/boards/mach-kfr2r09/ |
H A D | Makefile | 1 obj-y := setup.o sdram.o
|
H A D | sdram.S | 2 * KFR2R09 sdram self/auto-refresh setup code
|
/linux-4.4.14/arch/blackfin/mm/ |
H A D | isram-driver.c | 206 static __init int isram_read_test(char *sdram, void *l1inst) isram_read_test() argument 215 sdram[i] = i % 255; isram_read_test() 216 dma_memcpy(l1inst, sdram, test_len); isram_read_test() 221 memcpy(&data2, sdram + i, sizeof(data2)); isram_read_test() 232 static __init int isram_write_test(char *sdram, void *l1inst) isram_write_test() argument 240 memset(sdram, 0, test_len * 2); isram_write_test() 241 dma_memcpy(l1inst, sdram, test_len); isram_write_test() 243 sdram[i] = i % 255; isram_write_test() 247 memcpy(&data1, sdram + i, sizeof(data1)); isram_write_test() 257 dma_memcpy(sdram + test_len, l1inst, test_len); isram_write_test() 258 if (memcmp(sdram, sdram + test_len, test_len)) { isram_write_test() 267 _isram_memcpy_test(char pattern, void *sdram, void *l1inst, const char *smemcpy, _isram_memcpy_test() argument 270 memset(sdram, pattern, test_len); _isram_memcpy_test() 271 fmemcpy(l1inst, sdram, test_len); _isram_memcpy_test() 272 fmemcpy(sdram + test_len, l1inst, test_len); _isram_memcpy_test() 273 if (memcmp(sdram, sdram + test_len, test_len)) { _isram_memcpy_test() 275 smemcpy, l1inst, sdram, test_len, pattern); _isram_memcpy_test() 282 static __init int isram_memcpy_test(char *sdram, void *l1inst) isram_memcpy_test() argument 289 ret += _isram_memcpy_test(i, sdram, l1inst, isram_memcpy); isram_memcpy_test() 296 sdram[i] = i % 255; isram_memcpy_test() 297 dma_memcpy(l1inst, sdram, test_len); isram_memcpy_test() 305 if (memcmp(cmp, sdram + i, j)) { isram_memcpy_test() 309 hex_dump(sdram + i, j); isram_memcpy_test() 324 memset(sdram + test_len, 0, test_len); isram_memcpy_test() 325 dma_memcpy(l1inst, sdram + test_len, test_len); isram_memcpy_test() 331 isram_memcpy(l1inst + i, sdram + i, j); isram_memcpy_test() 333 if (memcmp(cmp, sdram + i, j)) { isram_memcpy_test() 337 hex_dump(sdram + i, j); isram_memcpy_test() 355 char *sdram; isram_test_init() local 372 sdram = kmalloc(test_len * 2, GFP_KERNEL); isram_test_init() 373 if (!sdram) { isram_test_init() 375 pr_warning("SKIP: could not allocate sdram\n"); isram_test_init() 381 pr_info("INFO: running initial dma_memcpy checks %p\n", sdram); isram_test_init() 382 if (_isram_memcpy_test(0xa, sdram, l1inst, dma_memcpy)) isram_test_init() 384 if (_isram_memcpy_test(0x5, sdram, l1inst, dma_memcpy)) isram_test_init() 388 ret += isram_read_test(sdram, l1inst); isram_test_init() 389 ret += isram_write_test(sdram, l1inst); isram_test_init() 390 ret += isram_memcpy_test(sdram, l1inst); isram_test_init() 394 kfree(sdram); isram_test_init()
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 17 * The SDRAM type can be passed on the command line as cpu_sa1110.sdram=type 147 struct sdram_params *sdram) sdram_calculate_timing() 161 if ((ns_to_cycles(sdram->tck, sd_khz) > 1) || sdram_calculate_timing() 167 twr = ns_to_cycles(sdram->twr, mem_khz); sdram_calculate_timing() 170 trp = ns_to_cycles(sdram->trp, mem_khz) - 1; sdram_calculate_timing() 176 sd->mdcnfg |= sdram->cas_latency << 12; sdram_calculate_timing() 177 sd->mdcnfg |= sdram->cas_latency << 28; sdram_calculate_timing() 189 ns_to_cycles(sdram->trcd, mem_khz)); sdram_calculate_timing() 216 sdram_update_refresh(u_int cpu_khz, struct sdram_params *sdram) sdram_update_refresh() argument 218 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; sdram_update_refresh() 234 struct sdram_params *sdram = &sdram_params; sa1110_target() local 239 sdram_calculate_timing(&sd, sa11x0_freq_table[ppcr].frequency, sdram); sa1110_target() 302 sdram_update_refresh(sa11x0_freq_table[ppcr].frequency, sdram); sa1110_target() 325 struct sdram_params *sdram; sa1110_find_sdram() local 327 for (sdram = sdram_tbl; sdram < sdram_tbl + ARRAY_SIZE(sdram_tbl); sa1110_find_sdram() 328 sdram++) sa1110_find_sdram() 329 if (strcmp(name, sdram->name) == 0) sa1110_find_sdram() 330 return sdram; sa1110_find_sdram() 339 struct sdram_params *sdram; sa1110_clk_init() local 358 sdram = sa1110_find_sdram(name); sa1110_clk_init() 359 if (sdram) { sa1110_clk_init() 362 sdram->tck, sdram->trcd, sdram->trp, sa1110_clk_init() 363 sdram->twr, sdram->refresh, sdram->cas_latency); sa1110_clk_init() 365 memcpy(&sdram_params, sdram, sizeof(sdram_params)); sa1110_clk_init() 373 module_param_string(sdram, sdram_name, sizeof(sdram_name), 0); 146 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, struct sdram_params *sdram) sdram_calculate_timing() argument
|
/linux-4.4.14/arch/sh/boards/mach-ecovec24/ |
H A D | Makefile | 9 obj-y := setup.o sdram.
|
H A D | sdram.S | 2 * Ecovec24 sdram self/auto-refresh setup code
|
/linux-4.4.14/arch/sh/boards/mach-se/7724/ |
H A D | Makefile | 10 obj-y := setup.o irq.o sdram.o
|
H A D | sdram.S | 2 * MS7724SE sdram self/auto-refresh setup code
|
/linux-4.4.14/drivers/net/usb/ |
H A D | sr9700.h | 116 /* Tx sdram Write Pointer Address Low */ 118 /* Tx sdram Write Pointer Address High */ 120 /* Tx sdram Read Pointer Address Low */ 122 /* Tx sdram Read Pointer Address High */ 124 /* Rx sdram Write Pointer Address Low */ 126 /* Rx sdram Write Pointer Address High */ 128 /* Rx sdram Read Pointer Address Low */ 130 /* Rx sdram Read Pointer Address High */
|
/linux-4.4.14/arch/m68k/coldfire/ |
H A D | m520x.c | 48 DEFINE_CLK(0, "sdram.0", 42, MCF_CLK); 73 &__clk_0_42, /* sdram.0 */ 91 &__clk_0_42, /* sdram.0 */
|
H A D | m53xx.c | 64 DEFINE_CLK(0, "sdram.0", 46, MCF_CLK); 103 &__clk_0_46, /* sdram.0 */ 128 &__clk_0_46, /* sdram.0 */
|
/linux-4.4.14/arch/mips/ralink/ |
H A D | rt288x.c | 29 static struct rt2880_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 16) }; 38 GRP("sdram", sdram_func, 1, RT2880_GPIO_MODE_SDRAM),
|
H A D | rt305x.c | 43 static struct rt2880_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 16) }; 61 GRP("sdram", sdram_func, 1, RT305X_GPIO_MODE_SDRAM),
|
H A D | mt7620.c | 52 /* does the board have sdram or ddram */
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pm.c | 17 static void __iomem *sdram; variable 86 sdram = mbar + 0x100; mpc52xx_pm_prepare() 156 mpc52xx_deep_sleep(sram, sdram, cdm, intr); mpc52xx_pm_enter()
|
H A D | mpc52xx_sleep.S | 68 lwz r8, 0x4(r4) /* sdram->ctrl */
|
/linux-4.4.14/drivers/video/fbdev/mbx/ |
H A D | mbxdebugfs.c | 14 struct dentry *sdram; member in struct:mbxfb_debugfs_data 233 dbg->sdram = debugfs_create_file("sdram", 0444, dbg->dir, mbxfb_debugfs_init() 245 debugfs_remove(dbg->sdram); mbxfb_debugfs_remove()
|
/linux-4.4.14/drivers/edac/ |
H A D | ppc4xx_edac.c | 88 * - IBM SDRAM (405GP, 405CR and 405EP) "ibm,sdram-4xx" 89 * - IBM DDR1 (440GP, 440GX, 440EP and 440GR) "ibm,sdram-4xx-ddr" 90 * - Denali DDR1/DDR2 (440EPX and 440GRX) "denali,sdram-4xx-ddr2" 144 * The ibm,sdram-4xx-ddr2 Device Control Registers (DCRs) are 198 .compatible = "ibm,sdram-4xx-ddr2" 662 * status registers that deal with ibm,sdram-4xx-ddr2 ECC errors. 690 * ibm,sdram-4xx-ddr2 ECC errors. 713 * This routine handles an ibm,sdram-4xx-ddr2 controller ECC 744 * This routine handles an ibm,sdram-4xx-ddr2 controller ECC 770 * associated with the ibm,sdram-4xx-ddr2 controller being 808 * (CE) and uncorrectable (UE) ECC errors for the ibm,sdram-4xx-ddr2 881 * associated with the ibm,sdram-4xx-ddr2 controller for which 888 * with the EDAC memory controller instance. An ibm,sdram-4xx-ddr2 1007 * ibm,sdram-4xx-ddr2 memory controller the instance is bound to. 1093 * associated with the ibm,sdram-4xx-ddr2 controller for which 1224 * This routine probes a specific ibm,sdram-4xx-ddr2 controller 1245 if (!of_device_is_compatible(np, "ibm,sdram-405ex") && ppc4xx_edac_probe() 1246 !of_device_is_compatible(np, "ibm,sdram-405exr")) { ppc4xx_edac_probe() 1348 * with the specified ibm,sdram-4xx-ddr2 controller described by the
|
H A D | altera_edac.c | 227 { .compatible = "altr,sdram-edac", .data = (void *)&c5_data}, 228 { .compatible = "altr,sdram-edac-a10", .data = (void *)&a10_data},
|
H A D | r82600_edac.c | 285 edac_dbg(2, "sdram refresh rate = %#0x\n", sdram_refresh_rate); r82600_probe1()
|
H A D | e752x_edac.c | 1042 "Invalid sdram scrub control value: 0x%x\n", scrubval); get_sdram_scrub_rate()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | board-rx51.c | 37 #include "sdram-nokia.h"
|
H A D | sdram-nokia.c | 21 #include "sdram-nokia.h"
|
H A D | Makefile | 235 obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o
|
H A D | sleep34xx.S | 105 str r0, [r3,#0x4] @ r0 has sdram address
|
/linux-4.4.14/drivers/media/platform/davinci/ |
H A D | ccdc_hw_device.h | 43 /* enable output to sdram */
|
/linux-4.4.14/arch/cris/arch-v10/lib/ |
H A D | dram_init.S | 87 or.d 0x80000000, $r1 ; Make sure sdram enable bit is set
|
/linux-4.4.14/arch/arm/mach-socfpga/ |
H A D | self-refresh.S | 34 * the sdram controller for the DDR on the board it
|
/linux-4.4.14/include/media/ |
H A D | adv7842.h | 192 unsigned sd_ram_ddr:1; /* ddr or sdr sdram */
|
/linux-4.4.14/include/linux/bcma/ |
H A D | bcma_regs.h | 77 #define BCMA_SOC_SDRAM_R2 0x80000000U /* Region 2 for sdram (512 MB) */
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
H A D | pm.c | 242 "marvell,armada-xp-sdram-controller"); mvebu_pm_suspend_init()
|
/linux-4.4.14/arch/frv/kernel/ |
H A D | setup.c | 121 uint8_t xbus, sdram, corebus, core, dsu; member in struct:clock_cmode 583 __sdram_clock_speed_HZ = CLOCK(__clkin_clock_speed_HZ, mode->sdram); determine_clocks() 592 __core_bus_clock_speed_HZ = CLOCK(__clkin_clock_speed_HZ, mode->sdram); determine_clocks() 593 __core_clock_speed_HZ = CLOCK(__clkin_clock_speed_HZ, mode->sdram); determine_clocks() 611 " ext=%luMHz res=%luMHz sdram=%luMHz cbus=%luMHz core=%luMHz dsu=%luMHz\n", determine_clocks()
|
/linux-4.4.14/drivers/clk/samsung/ |
H A D | clk-s3c2412.c | 174 GATE(HCLK_SDRAM, "sdram", "hclk", CLKCON, 8, CLK_IGNORE_UNUSED, 0),
|
/linux-4.4.14/include/media/davinci/ |
H A D | dm355_ccdc.h | 227 /* median filter for sdram */
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
H A D | badge4.c | 217 /* CPLD sdram type inputs; set up by blob */ badge4_init()
|
/linux-4.4.14/arch/arm/mach-tegra/ |
H A D | reset-handler.S | 40 * re-enabling sdram.
|
H A D | sleep-tegra20.S | 493 * puts sdram in self refresh
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
H A D | solo6x10-core.c | 443 sdram_attr->attr.name = "sdram"; solo_sysfs_init()
|
/linux-4.4.14/drivers/bus/ |
H A D | mvebu-mbus.c | 44 * (file 'sdram') and the list of CPU -> devices windows and their 965 s->debugfs_sdram = debugfs_create_file("sdram", S_IRUGO, mvebu_mbus_debugfs_init()
|
/linux-4.4.14/include/linux/ |
H A D | edac.h | 679 /* Translates sdram memory scrub rate given in bytes/sec to the 685 /* Get the current sdram memory scrub rate from the internal
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | adv7842.c | 2807 /* todo, improve settings for sdram */ adv7842_core_init() 2819 sdp_io_write(sd, 0x74, 0x00); /* must be zero for sdr sdram */ adv7842_core_init() 2961 v4l2_info(sd, "no sdram or no ddr sdram\n"); adv7842_command_ram_test()
|
/linux-4.4.14/include/linux/ssb/ |
H A D | ssb.h | 362 #define SSB_BOARD_BU4704SD 0x042E /* with sdram */
|
/linux-4.4.14/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_ipipeif.c | 742 .m = 1, /* clock = sdram clock * (m/n) */ ipipeif_set_default_config()
|
H A D | dm365_resizer.c | 350 pr_err("Error in calculating sdram offsets\n"); resizer_configure_output_win()
|
/linux-4.4.14/drivers/mtd/devices/ |
H A D | pmc551.c | 705 * some reason the sdram is in a wrote-protected state the init_pmc551()
|
/linux-4.4.14/arch/arm/common/ |
H A D | sa1111.c | 586 sa1111_configure_smc(struct sa1111 *sachip, int sdram, unsigned int drac, sa1111_configure_smc() argument
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.c | 2409 else if (!strcmp(this_opt, "sgram")) /* nosgram == sdram */ matroxfb_setup() 2411 else if (!strcmp(this_opt, "sdram")) matroxfb_setup()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | dma.c | 611 * Other bus: use zero SI_BUS BIGENDIAN kludge: use sdram dma_attach()
|
/linux-4.4.14/drivers/clk/bcm/ |
H A D | clk-bcm2835.c | 779 .name = "sdram",
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
H A D | radeon_pm.c | 2606 /* init sdram controller */ radeon_set_suspend()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_combios.c | 3243 /* sdram reset ? */ combios_detect_ram()
|
/linux-4.4.14/drivers/atm/ |
H A D | he.c | 1111 /* 4.8 sdram controller initialization */ he_start()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | dib8000.c | 2893 dprintk("init sdram"); dib8090p_init_sdram()
|