Searched refs:devsize (Results 1 – 5 of 5) sorted by relevance
/drivers/tc/ |
D | tc.c | 39 resource_size_t devsize; in tc_bus_add_devices() local 111 devsize = readb(module + offset + TC_SLOT_SIZE); in tc_bus_add_devices() 112 devsize <<= 22; in tc_bus_add_devices() 113 if (devsize <= slotsize) { in tc_bus_add_devices() 115 tdev->resource.end = slotaddr + devsize - 1; in tc_bus_add_devices() 116 } else if (devsize <= extslotsize) { in tc_bus_add_devices() 118 tdev->resource.end = extslotaddr + devsize - 1; in tc_bus_add_devices() 122 dev_name(&tdev->dev), devsize >> 20, in tc_bus_add_devices()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 173 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave; in cfi_staa_setup() local 186 mtd->size = devsize * cfi->numchips; in cfi_staa_setup() 207 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_staa_setup() 214 if (offset != devsize) { in cfi_staa_setup() 216 …WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize); in cfi_staa_setup()
|
D | cfi_cmdset_0001.c | 558 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave; in cfi_intelext_setup() local 562 mtd->size = devsize * cfi->numchips; in cfi_intelext_setup() 581 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_intelext_setup() 589 if (offset != devsize) { in cfi_intelext_setup() 591 …WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize); in cfi_intelext_setup() 2237 u_long devsize, reg_prot_offset, data_offset; in cfi_intelext_otp_walk() local 2249 devsize = (1 << cfi->cfiq->DevSize) * cfi->interleave; in cfi_intelext_otp_walk() 2250 chip_step = devsize >> cfi->chipshift; in cfi_intelext_otp_walk()
|
D | cfi_cmdset_0002.c | 558 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave; in cfi_amdstd_setup() local 565 mtd->size = devsize * cfi->numchips; in cfi_amdstd_setup() 584 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset; in cfi_amdstd_setup() 590 if (offset != devsize) { in cfi_amdstd_setup() 592 …WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize); in cfi_amdstd_setup()
|
/drivers/mtd/nand/ |
D | omap2.c | 959 info->nand.options = pdata->devsize; in omap_nand_probe()
|