Home
last modified time | relevance | path

Searched refs:oobptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/spi/
Dspi-mtk-snfi.c789 u8 *oobptr = buf; in mtk_snand_read_fdm() local
797 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() local
816 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()
/Linux-v6.6/drivers/mtd/nand/raw/
Dmtk_nand.c735 u8 *oobptr; in mtk_nfc_read_fdm() local
739 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() local
758 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()