• Home
  • Raw
  • Download

Lines Matching full:parts

905 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts)  in nftl_partscan()  argument
984 parts[0].name = " DiskOnChip Firmware / Media Header partition"; in nftl_partscan()
985 parts[0].offset = 0; in nftl_partscan()
986 parts[0].size = offs; in nftl_partscan()
990 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()
991 parts[numparts].offset = offs; in nftl_partscan()
992 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
994 offs += parts[numparts].size; in nftl_partscan()
998 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()
999 parts[numparts].offset = offs; in nftl_partscan()
1000 parts[numparts].size = mtd->size - offs; in nftl_partscan()
1011 static inline int __init inftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in inftl_partscan() argument
1099 parts[0].name = " DiskOnChip IPL / Media Header partition"; in inftl_partscan()
1100 parts[0].offset = 0; in inftl_partscan()
1101 parts[0].size = mtd->erasesize * ip->firstUnit; in inftl_partscan()
1106 parts[numparts].name = " DiskOnChip BDK partition"; in inftl_partscan()
1108 parts[numparts].name = " DiskOnChip BDTL partition"; in inftl_partscan()
1109 parts[numparts].offset = ip->firstUnit << vshift; in inftl_partscan()
1110 parts[numparts].size = (1 + ip->lastUnit - ip->firstUnit) << vshift; in inftl_partscan()
1119 parts[numparts].name = " DiskOnChip Remainder partition"; in inftl_partscan()
1120 parts[numparts].offset = lastvunit << vshift; in inftl_partscan()
1121 parts[numparts].size = end - parts[numparts].offset; in inftl_partscan()
1135 struct mtd_partition parts[2]; in nftl_scan_bbt() local
1137 memset((char *)parts, 0, sizeof(parts)); in nftl_scan_bbt()
1140 numparts = nftl_partscan(mtd, parts); in nftl_scan_bbt()
1162 return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); in nftl_scan_bbt()
1170 struct mtd_partition parts[5]; in inftl_scan_bbt() local
1209 memset((char *)parts, 0, sizeof(parts)); in inftl_scan_bbt()
1210 numparts = inftl_partscan(mtd, parts); in inftl_scan_bbt()
1216 return mtd_device_register(mtd, parts, no_autopart ? 0 : numparts); in inftl_scan_bbt()