nfc_geo 1295 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c struct bch_geometry *nfc_geo = &this->bch_geometry; nfc_geo 1310 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c bit = nfc_geo->block_mark_bit_offset; nfc_geo 1311 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c p = payload + nfc_geo->block_mark_byte_offset; nfc_geo 1339 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c struct bch_geometry *nfc_geo = &this->bch_geometry; nfc_geo 1353 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; nfc_geo 1360 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c offset = nfc_geo->metadata_size * 8; nfc_geo 1361 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c offset += ((8 * nfc_geo->ecc_chunk_size) + eccbits) * (i + 1); nfc_geo 1398 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c buf + i * nfc_geo->ecc_chunk_size, nfc_geo 1399 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nfc_geo->ecc_chunk_size, nfc_geo 1402 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nfc_geo->metadata_size, nfc_geo 1403 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nfc_geo->ecc_strength); nfc_geo 1406 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c buf + i * nfc_geo->ecc_chunk_size, nfc_geo 1407 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nfc_geo->ecc_chunk_size, nfc_geo 1410 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c nfc_geo->ecc_strength); nfc_geo 1575 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c struct bch_geometry *nfc_geo = &this->bch_geometry; nfc_geo 1583 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memcpy(this->auxiliary_virt, chip->oob_poi, nfc_geo->auxiliary_size); nfc_geo 1596 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c ret = nand_prog_page_op(chip, page, 0, buf, nfc_geo->page_size); nfc_geo 1725 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c struct bch_geometry *nfc_geo = &this->bch_geometry; nfc_geo 1726 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int eccsize = nfc_geo->ecc_chunk_size; nfc_geo 1727 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; nfc_geo 1756 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memcpy(oob, tmp_buf, nfc_geo->metadata_size); nfc_geo 1758 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c oob_bit_off = nfc_geo->metadata_size * 8; nfc_geo 1762 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c for (step = 0; step < nfc_geo->ecc_chunk_count; step++) { nfc_geo 1770 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (step == nfc_geo->ecc_chunk_count - 1 && nfc_geo 1812 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c struct bch_geometry *nfc_geo = &this->bch_geometry; nfc_geo 1813 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int eccsize = nfc_geo->ecc_chunk_size; nfc_geo 1814 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int eccbits = nfc_geo->ecc_strength * nfc_geo->gf_len; nfc_geo 1834 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c memcpy(tmp_buf, oob, nfc_geo->metadata_size); nfc_geo 1835 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c oob_bit_off = nfc_geo->metadata_size * 8; nfc_geo 1839 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c for (step = 0; step < nfc_geo->ecc_chunk_count; step++) { nfc_geo 1846 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (step == nfc_geo->ecc_chunk_count - 1 &&