Lines Matching refs:le16_to_cpu
189 (header.NumTransferUnits >= le16_to_cpu(header.NumEraseUnits))) {
212 part->DataUnits = le16_to_cpu(part->header.NumEraseUnits) -
227 for (i = 0; i < le16_to_cpu(part->header.NumEraseUnits); i++) {
228 offset = ((i + le16_to_cpu(part->header.FirstPhysicalEUN))
239 if (hdr_ok && (le16_to_cpu(header.LogicalEUN) < part->DataUnits) &&
240 (part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset == 0xffffffff)) {
241 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset = offset;
242 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].EraseCount =
251 if (hdr_ok && (le16_to_cpu(header.LogicalEUN) == 0xffff)) {
267 (xvalid+xtrans != le16_to_cpu(header.NumEraseUnits))) {