• Home
  • Raw
  • Download

Lines Matching refs:parts

1107 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts)  in nftl_partscan()  argument
1183 parts[0].name = " DiskOnChip Firmware / Media Header partition"; in nftl_partscan()
1184 parts[0].offset = 0; in nftl_partscan()
1185 parts[0].size = offs; in nftl_partscan()
1189 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()
1190 parts[numparts].offset = offs; in nftl_partscan()
1191 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
1193 offs += parts[numparts].size; in nftl_partscan()
1197 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()
1198 parts[numparts].offset = offs; in nftl_partscan()
1199 parts[numparts].size = mtd->size - offs; in nftl_partscan()
1210 static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in inftl_partscan() argument
1299 parts[0].name = " DiskOnChip IPL / Media Header partition"; in inftl_partscan()
1300 parts[0].offset = 0; in inftl_partscan()
1301 parts[0].size = mtd->erasesize * ip->firstUnit; in inftl_partscan()
1306 parts[numparts].name = " DiskOnChip BDK partition"; in inftl_partscan()
1308 parts[numparts].name = " DiskOnChip BDTL partition"; in inftl_partscan()
1309 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1310 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1319 parts[numparts].name = " DiskOnChip Remainder partition"; in inftl_partscan()
1320 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
1321 parts[numparts].size = end - parts[numparts].offset; in inftl_partscan()
1335 struct mtd_partition parts[2]; in nftl_scan_bbt() local
1337 memset((char *)parts, 0, sizeof(parts)); in nftl_scan_bbt()
1340 numparts = nftl_partscan(mtd, parts); in nftl_scan_bbt()
1365 add_mtd_partitions(mtd, parts, numparts); in nftl_scan_bbt()
1375 struct mtd_partition parts[5]; in inftl_scan_bbt() local
1414 memset((char *)parts, 0, sizeof(parts)); in inftl_scan_bbt()
1415 numparts = inftl_partscan(mtd, parts); in inftl_scan_bbt()
1424 add_mtd_partitions(mtd, parts, numparts); in inftl_scan_bbt()