Lines Matching defs:first
1054 /* first try to map the upper buffer directly */
1407 static int gpmi_count_bitflips(struct nand_chip *chip, void *buf, int first,
1420 for (i = first; i < last; i++, status++) {
1444 * in-band data in the first and last byte of
1468 /* The first block includes metadata */
1556 * rely on the first byte of the auxiliary buffer to contain
1576 int first, last, marker_pos;
1585 first = offs / size;
1591 * If this chunk is in the range of [first, last],
1597 if (last >= marker_pos && first <= marker_pos) {
1599 "page:%d, first:%d, last:%d, marker at:%d\n",
1600 page, first, last, marker_pos);
1614 if (first) {
1617 + (size + ecc_parity_size) * first;
1619 col = meta + (size + ecc_parity_size) * first;
1622 buf = buf + first * size;
1626 n = last - first + 1;
1656 page, offs, len, col, first, n, page_size);
1658 max_bitflips = gpmi_count_bitflips(chip, buf, first, last, meta);
1701 * 2) In read operations, the first byte of the OOB we return must reflect the
1736 * | into the first byte of | |
1772 /* Read the block mark into the first byte of the OOB buffer. */
1953 * If required, swap the bad block marker and the first byte of the
2048 * Loop through the first search area, looking for the NCB fingerprint.
2117 /* Loop over blocks in the first search area, erasing them. */
2132 /* Loop through the first search area, writing NCB fingerprints. */
2138 /* Write the first page of the current stride. */