Searched refs:mtk_data_len (Results 1 – 1 of 1) sorted by relevance
207 static inline int mtk_data_len(struct nand_chip *chip) in mtk_data_len() function218 return nfc->buffer + i * mtk_data_len(chip); in mtk_data_ptr()225 return nfc->buffer + i * mtk_data_len(chip) + chip->ecc.size; in mtk_oob_ptr()665 bad_pos += nand->bad_mark.sec * mtk_data_len(chip); in mtk_nfc_bad_mark_swap()1189 bm_ctl->sec = mtd->writesize / mtk_data_len(nand); in mtk_nfc_set_bad_mark_ctl()1190 bm_ctl->pos = mtd->writesize % mtk_data_len(nand); in mtk_nfc_set_bad_mark_ctl()