Searched refs:sdram (Results 1 - 55 of 55) sorted by relevance

/linux-4.4.14/arch/sh/boards/mach-ap325rxa/
H A DMakefile1 obj-y := setup.o sdram.o
/linux-4.4.14/arch/sh/boards/mach-migor/
H A DMakefile1 obj-y := setup.o sdram.o
/linux-4.4.14/arch/sh/boards/mach-kfr2r09/
H A DMakefile1 obj-y := setup.o sdram.o
H A Dsdram.S2 * KFR2R09 sdram self/auto-refresh setup code
/linux-4.4.14/arch/blackfin/mm/
H A Disram-driver.c206 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 Dsa1110-cpufreq.c17 * 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 DMakefile9 obj-y := setup.o sdram.
H A Dsdram.S2 * Ecovec24 sdram self/auto-refresh setup code
/linux-4.4.14/arch/sh/boards/mach-se/7724/
H A DMakefile10 obj-y := setup.o irq.o sdram.o
H A Dsdram.S2 * MS7724SE sdram self/auto-refresh setup code
/linux-4.4.14/drivers/net/usb/
H A Dsr9700.h116 /* 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 Dm520x.c48 DEFINE_CLK(0, "sdram.0", 42, MCF_CLK);
73 &__clk_0_42, /* sdram.0 */
91 &__clk_0_42, /* sdram.0 */
H A Dm53xx.c64 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 Drt288x.c29 static struct rt2880_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 16) };
38 GRP("sdram", sdram_func, 1, RT2880_GPIO_MODE_SDRAM),
H A Drt305x.c43 static struct rt2880_pmx_func sdram_func[] = { FUNC("sdram", 0, 24, 16) };
61 GRP("sdram", sdram_func, 1, RT305X_GPIO_MODE_SDRAM),
H A Dmt7620.c52 /* does the board have sdram or ddram */
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pm.c17 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 Dmpc52xx_sleep.S68 lwz r8, 0x4(r4) /* sdram->ctrl */
/linux-4.4.14/drivers/video/fbdev/mbx/
H A Dmbxdebugfs.c14 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 Dppc4xx_edac.c88 * - 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 Daltera_edac.c227 { .compatible = "altr,sdram-edac", .data = (void *)&c5_data},
228 { .compatible = "altr,sdram-edac-a10", .data = (void *)&a10_data},
H A Dr82600_edac.c285 edac_dbg(2, "sdram refresh rate = %#0x\n", sdram_refresh_rate); r82600_probe1()
H A De752x_edac.c1042 "Invalid sdram scrub control value: 0x%x\n", scrubval); get_sdram_scrub_rate()
/linux-4.4.14/arch/arm/mach-omap2/
H A Dboard-rx51.c37 #include "sdram-nokia.h"
H A Dsdram-nokia.c21 #include "sdram-nokia.h"
H A DMakefile235 obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o sdram-nokia.o
H A Dsleep34xx.S105 str r0, [r3,#0x4] @ r0 has sdram address
/linux-4.4.14/drivers/media/platform/davinci/
H A Dccdc_hw_device.h43 /* enable output to sdram */
/linux-4.4.14/arch/cris/arch-v10/lib/
H A Ddram_init.S87 or.d 0x80000000, $r1 ; Make sure sdram enable bit is set
/linux-4.4.14/arch/arm/mach-socfpga/
H A Dself-refresh.S34 * the sdram controller for the DDR on the board it
/linux-4.4.14/include/media/
H A Dadv7842.h192 unsigned sd_ram_ddr:1; /* ddr or sdr sdram */
/linux-4.4.14/include/linux/bcma/
H A Dbcma_regs.h77 #define BCMA_SOC_SDRAM_R2 0x80000000U /* Region 2 for sdram (512 MB) */
/linux-4.4.14/arch/arm/mach-mvebu/
H A Dpm.c242 "marvell,armada-xp-sdram-controller"); mvebu_pm_suspend_init()
/linux-4.4.14/arch/frv/kernel/
H A Dsetup.c121 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 Dclk-s3c2412.c174 GATE(HCLK_SDRAM, "sdram", "hclk", CLKCON, 8, CLK_IGNORE_UNUSED, 0),
/linux-4.4.14/include/media/davinci/
H A Ddm355_ccdc.h227 /* median filter for sdram */
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dbadge4.c217 /* CPLD sdram type inputs; set up by blob */ badge4_init()
/linux-4.4.14/arch/arm/mach-tegra/
H A Dreset-handler.S40 * re-enabling sdram.
H A Dsleep-tegra20.S493 * puts sdram in self refresh
/linux-4.4.14/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c443 sdram_attr->attr.name = "sdram"; solo_sysfs_init()
/linux-4.4.14/drivers/bus/
H A Dmvebu-mbus.c44 * (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 Dedac.h679 /* 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 Dadv7842.c2807 /* 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 Dssb.h362 #define SSB_BOARD_BU4704SD 0x042E /* with sdram */
/linux-4.4.14/drivers/staging/media/davinci_vpfe/
H A Ddm365_ipipeif.c742 .m = 1, /* clock = sdram clock * (m/n) */ ipipeif_set_default_config()
H A Ddm365_resizer.c350 pr_err("Error in calculating sdram offsets\n"); resizer_configure_output_win()
/linux-4.4.14/drivers/mtd/devices/
H A Dpmc551.c705 * some reason the sdram is in a wrote-protected state the init_pmc551()
/linux-4.4.14/arch/arm/common/
H A Dsa1111.c586 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 Dmatroxfb_base.c2409 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 Ddma.c611 * Other bus: use zero SI_BUS BIGENDIAN kludge: use sdram dma_attach()
/linux-4.4.14/drivers/clk/bcm/
H A Dclk-bcm2835.c779 .name = "sdram",
/linux-4.4.14/drivers/video/fbdev/aty/
H A Dradeon_pm.c2606 /* init sdram controller */ radeon_set_suspend()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_combios.c3243 /* sdram reset ? */ combios_detect_ram()
/linux-4.4.14/drivers/atm/
H A Dhe.c1111 /* 4.8 sdram controller initialization */ he_start()
/linux-4.4.14/drivers/media/dvb-frontends/
H A Ddib8000.c2893 dprintk("init sdram"); dib8090p_init_sdram()

Completed in 1755 milliseconds