Lines Matching refs:size
27 static unsigned size = 0x1000000; /* 16 MiB the whole ISA address space */
33 module_param(size, int, 0);
34 MODULE_PARM_DESC(size, "Size of the flash mapping");
52 .size = 0xc0000
57 .size = 0x40000
62 .size = ~0 /* calculate from flash size */
66 .offset = ~0, /* calculate from flash size */
67 .size = 0x80000
112 size = ((ctrl&0x1fff)<<13) + (1<<13);
114 for (u = size; u > 1; u >>= 1)
125 docmem.end = base + size;
133 for (u = size; u > 1; u >>= 1)
136 printk(KERN_ERR NAME ": invalid size for flash mapping\n");
146 size,
148 size, NULL, NULL)) {
153 ctrl = 0x07000000 | ((size-1) >> 13);
173 scx200_docflash_map.size = size;
182 scx200_docflash_map.virt = ioremap(docmem.start, scx200_docflash_map.size);
197 if (size < mymtd->size)
198 printk(KERN_WARNING NAME ": warning, flash mapping is smaller than flash size\n");
203 partition_info[3].offset = mymtd->size-partition_info[3].size;
204 partition_info[2].size = partition_info[3].offset-partition_info[2].offset;