Searched refs:oobptr (Results 1 – 2 of 2) sorted by relevance
789 u8 *oobptr = buf; in mtk_snand_read_fdm() local797 oobptr[j] = (j >= 4 ? valm : vall) >> ((j % 4) * 8); in mtk_snand_read_fdm()799 oobptr += snf->caps->fdm_size; in mtk_snand_read_fdm()806 const u8 *oobptr = buf; in mtk_snand_write_fdm() local816 vall |= (j < fdm_size ? oobptr[j] : 0xff) in mtk_snand_write_fdm()819 valm |= (j < fdm_size ? oobptr[j] : 0xff) in mtk_snand_write_fdm()826 oobptr += fdm_size; in mtk_snand_write_fdm()
735 u8 *oobptr; in mtk_nfc_read_fdm() local739 oobptr = oob_ptr(chip, start + i); in mtk_nfc_read_fdm()744 oobptr[j] = (j >= 4 ? valm : vall) >> ((j % 4) * 8); in mtk_nfc_read_fdm()754 u8 *oobptr; in mtk_nfc_write_fdm() local758 oobptr = oob_ptr(chip, i); in mtk_nfc_write_fdm()763 vall |= (j < fdm->reg_size ? oobptr[j] : 0xff) in mtk_nfc_write_fdm()766 valm |= (j < fdm->reg_size ? oobptr[j] : 0xff) in mtk_nfc_write_fdm()