Home
last modified time | relevance | path

Searched refs:ram (Results 1 – 25 of 100) sorted by relevance

1234

/linux-3.4.99/arch/powerpc/mm/
Dfsl_booke_mmu.c149 unsigned long calc_cam_sz(unsigned long ram, unsigned long virt, in calc_cam_sz() argument
152 unsigned int camsize = __ilog2(ram); in calc_cam_sz()
174 unsigned long map_mem_in_cams(unsigned long ram, int max_cam_idx) in map_mem_in_cams() argument
182 for (i = 0; ram && i < max_cam_idx; i++) { in map_mem_in_cams()
185 cam_sz = calc_cam_sz(ram, virt, phys); in map_mem_in_cams()
188 ram -= cam_sz; in map_mem_in_cams()
219 unsigned long ram; in adjust_total_lowmem() local
223 ram = min((phys_addr_t)__max_low_memory, (phys_addr_t)total_lowmem); in adjust_total_lowmem()
225 __max_low_memory = map_mem_in_cams(ram, CONFIG_LOWMEM_CAM_NUM); in adjust_total_lowmem()
Dmmu_decl.h144 extern unsigned long map_mem_in_cams(unsigned long ram, int max_cam_idx);
145 extern unsigned long calc_cam_sz(unsigned long ram, unsigned long virt,
/linux-3.4.99/drivers/isdn/sc/
Dinit.c32 static unsigned long ram[] = {0, 0, 0, 0}; variable
37 module_param_array(ram, int, NULL, 0);
159 ram[b], ram[b] == 0 ? "will" : "won't"); in sc_init()
161 if (ram[b]) { in sc_init()
167 if (request_region(ram[b], SRAM_PAGESIZE, "sc test")) { in sc_init()
168 pr_debug("request_region for RAM base 0x%lx succeeded\n", ram[b]); in sc_init()
169 model = identify_board(ram[b], io[b]); in sc_init()
170 release_region(ram[b], SRAM_PAGESIZE); in sc_init()
187 ram[b] = i; in sc_init()
199 if (!ram[b] || model < 0) { in sc_init()
[all …]
/linux-3.4.99/drivers/staging/android/
Dpersistent_ram.c363 struct persistent_ram *ram; in persistent_ram_buffer_init() local
367 list_for_each_entry(ram, &persistent_ram_list, node) { in persistent_ram_buffer_init()
368 start = ram->start; in persistent_ram_buffer_init()
369 for (i = 0; i < ram->num_descs; i++) { in persistent_ram_buffer_init()
370 desc = &ram->descs[i]; in persistent_ram_buffer_init()
439 int __init persistent_ram_early_init(struct persistent_ram *ram) in persistent_ram_early_init() argument
443 ret = memblock_reserve(ram->start, ram->size); in persistent_ram_early_init()
446 (long)ram->start, (long)(ram->start + ram->size - 1)); in persistent_ram_early_init()
450 list_add_tail(&ram->node, &persistent_ram_list); in persistent_ram_early_init()
453 (long)ram->start, (long)(ram->start + ram->size - 1)); in persistent_ram_early_init()
Dpersistent_ram.h64 int persistent_ram_early_init(struct persistent_ram *ram);
/linux-3.4.99/drivers/net/ethernet/amd/
Dmvme147.c41 unsigned long ram; member
115 lp->ram = __get_dma_pages(GFP_ATOMIC, 3); /* 16K */ in mvme147lance_probe()
116 if (!lp->ram) in mvme147lance_probe()
125 lp->lance.init_block = (struct lance_init_block *)(lp->ram); /* CPU addr */ in mvme147lance_probe()
126 …lp->lance.lance_init_block = (struct lance_init_block *)(lp->ram); /* LANCE addr o… in mvme147lance_probe()
139 free_pages(lp->ram, 3); in mvme147lance_probe()
200 free_pages(lp->ram, 3); in cleanup_module()
/linux-3.4.99/Documentation/devicetree/bindings/arm/tegra/
Demc.txt9 - nvidia,use-ram-code : If present, the sub-nodes will be addressed
12 irrespective of ram-code configuration.
26 Embedded Memory Controller ram-code table
28 If the emc node has the nvidia,use-ram-code property present, then the
30 apply for which ram-code settings.
32 If the emc node lacks the nvidia,use-ram-code property, this level is omitted
38 - nvidia,ram-code : the binary representation of the ram-code board strappings
60 on a 2-pin "ram code" bootstrap setting on the board. The values of
/linux-3.4.99/arch/score/mm/
Dinit.c83 unsigned long tmp, ram = 0; in mem_init() local
92 ram++; in mem_init()
97 num_physpages = ram; in mem_init()
105 ram << (PAGE_SHIFT-10), codesize >> 10, in mem_init()
/linux-3.4.99/arch/microblaze/kernel/
Dsetup.c99 void __init machine_early_init(const char *cmdline, unsigned int ram, in machine_early_init() argument
115 romfs_base = (ram ? ram : (unsigned int)&__init_end); in machine_early_init()
154 printk("Ramdisk addr 0x%08x, ", ram); in machine_early_init()
/linux-3.4.99/arch/arm/mach-omap2/
Diommu2.c179 cr->ram = iommu_read_reg(obj, MMU_READ_RAM); in omap2_tlb_read_cr()
185 iommu_write_reg(obj, cr->ram, MMU_RAM); in omap2_tlb_load_cr()
212 cr->ram = e->pa | e->endian | e->elsz | e->mixed; in omap2_alloc_cr()
240 p += sprintf(p, "%08x %08x %01x\n", cr->cam, cr->ram, in omap2_dump_cr()
315 e->pa = cr->ram & MMU_RAM_PADDR_MASK; in omap2_cr_to_e()
318 e->endian = cr->ram & MMU_RAM_ENDIAN_MASK; in omap2_cr_to_e()
319 e->elsz = cr->ram & MMU_RAM_ELSZ_MASK; in omap2_cr_to_e()
320 e->mixed = cr->ram & MMU_RAM_MIXED; in omap2_cr_to_e()
/linux-3.4.99/arch/arm/kernel/
Dtcm.c191 char *ram; in tcm_init() local
238 ram = &__dtcm_start; in tcm_init()
239 memcpy(start, ram, dtcm_code_sz); in tcm_init()
270 ram = &__itcm_start; in tcm_init()
271 memcpy(start, ram, itcm_code_sz); in tcm_init()
/linux-3.4.99/arch/parisc/
Ddefpalo.conf14 --ramdisk=ram-disk-image-file
15 --commandline=0/vmlinux HOME=/ root=/dev/ram initrd=0/ramdisk
/linux-3.4.99/arch/xtensa/mm/
Dinit.c181 unsigned long highmemsize, tmp, ram; in mem_init() local
193 reservedpages = ram = 0; in mem_init()
195 ram++; in mem_init()
207 ram << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/Documentation/devicetree/bindings/dma/
Dfsl-imx-sdma.txt7 - fsl,sdma-ram-script-name : Should contain the full path of SDMA RAM
16 fsl,sdma-ram-script-name = "sdma-imx51.bin";
/linux-3.4.99/Documentation/w1/slaves/
Dw1_ds242316 read sequence of w1_slave file initiates the read of counters and ram
20 value and associated ram buffer is outpputed to own line.
29 - 1 byte from ram page
33 - 31 remaining bytes from the ram page
/linux-3.4.99/arch/mips/mm/
Dinit.c370 unsigned long tmp, ram; in mem_init() local
385 reservedpages = ram = 0; in mem_init()
388 ram++; in mem_init()
392 num_physpages = ram; in mem_init()
426 ram << (PAGE_SHIFT-10), in mem_init()
/linux-3.4.99/Documentation/networking/
Dgeneric-hdlc.txt106 insmod n2 hw=io,irq,ram,ports[:io,irq,...]
111 insmod c101 hw=irq,ram[:irq,...]
116 n2.hw=io,irq,ram,ports:...
118 c101.hw=irq,ram:...
/linux-3.4.99/drivers/atm/
Deni.c819 DPRINTK("loc 0x%x\n",(unsigned) (eni_vcc->recv-eni_dev->ram)/4); in open_rx_second()
830 (((eni_vcc->recv-eni_dev->ram) >> (MID_LOC_SKIP+2)) << in open_rx_second()
1332 ((tx->send-eni_dev->ram) >> (MID_LOC_SKIP+2)), in reserve_or_set_tx()
1746 eni_dev->ram = base+RAM_BASE; in eni_do_init()
1749 writel(0x55555555,eni_dev->ram+i); in eni_do_init()
1750 if (readl(eni_dev->ram+i) != 0x55555555) last = i; in eni_do_init()
1752 writel(0xAAAAAAAA,eni_dev->ram+i); in eni_do_init()
1753 if (readl(eni_dev->ram+i) != 0xAAAAAAAA) last = i; in eni_do_init()
1754 else writel(i,eni_dev->ram+i); in eni_do_init()
1758 if (readl(eni_dev->ram+i) != i) break; in eni_do_init()
[all …]
/linux-3.4.99/arch/m68k/platform/68360/
DMakefile4 model-y := ram
/linux-3.4.99/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.txt8 or "mtd-ram".
67 compatible = "samsung,k6f1616u6a", "mtd-ram";
/linux-3.4.99/arch/microblaze/include/asm/
Dsetup.h43 void machine_early_init(const char *cmdline, unsigned int ram,
/linux-3.4.99/arch/m68k/platform/68328/
DMakefile5 model-y := ram
/linux-3.4.99/arch/h8300/
DMakefile24 model-$(CONFIG_RAMKERNEL) := ram
/linux-3.4.99/drivers/net/wan/
Dc101.c414 unsigned long irq, ram; in c101_init() local
420 ram = simple_strtoul(hw, &hw, 0); in c101_init()
423 c101_run(irq, ram); in c101_init()
/linux-3.4.99/arch/arm/configs/
Dassabet_defconfig14 CONFIG_CMDLINE="mem=32M console=ttySA0,38400n8 initrd=0xc0800000,3M root=/dev/ram"

1234