Lines Matching full:bbm
661 static void sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() argument
665 bbm[0] ^= state; in sunxi_nfc_randomize_bbm()
666 bbm[1] ^= sunxi_nfc_randomizer_step(state, 8); in sunxi_nfc_randomize_bbm()
728 int step, bool bbm, int page) in sunxi_nfc_hw_ecc_get_prot_oob_bytes() argument
736 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) in sunxi_nfc_hw_ecc_get_prot_oob_bytes()
742 bool bbm, int page) in sunxi_nfc_hw_ecc_set_prot_oob_bytes() argument
748 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) { in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
812 bool bbm, bool oob_required, int page) in sunxi_nfc_hw_ecc_read_chunk() argument
879 bbm, page); in sunxi_nfc_hw_ecc_read_chunk()
1045 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument
1065 sunxi_nfc_hw_ecc_set_prot_oob_bytes(nand, oob, 0, bbm, page); in sunxi_nfc_hw_ecc_write_chunk()
1646 /* Reserve 2 bytes for the BBM */ in sunxi_nand_hw_ecc_ctrl_init()