Lines Matching full:bbm
650 static void sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() argument
654 bbm[0] ^= state; in sunxi_nfc_randomize_bbm()
655 bbm[1] ^= sunxi_nfc_randomizer_step(state, 8); in sunxi_nfc_randomize_bbm()
717 int step, bool bbm, int page) in sunxi_nfc_hw_ecc_get_prot_oob_bytes() argument
725 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) in sunxi_nfc_hw_ecc_get_prot_oob_bytes()
731 bool bbm, int page) in sunxi_nfc_hw_ecc_set_prot_oob_bytes() argument
737 if (bbm && (nand->options & NAND_NEED_SCRAMBLING)) { in sunxi_nfc_hw_ecc_set_prot_oob_bytes()
801 bool bbm, bool oob_required, int page) in sunxi_nfc_hw_ecc_read_chunk() argument
868 bbm, page); in sunxi_nfc_hw_ecc_read_chunk()
1029 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument
1049 sunxi_nfc_hw_ecc_set_prot_oob_bytes(nand, oob, 0, bbm, page); in sunxi_nfc_hw_ecc_write_chunk()
1623 /* Reserve 2 bytes for the BBM */ in sunxi_nand_hw_ecc_ctrl_init()