Searched refs:valm (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-mtk-snfi.c | 788 u32 vall, valm; in mtk_snand_read_fdm() local 794 valm = nfi_read32(snf, NFI_FDMM(i)); in mtk_snand_read_fdm() 797 oobptr[j] = (j >= 4 ? valm : vall) >> ((j % 4) * 8); in mtk_snand_read_fdm() 807 u32 vall, valm; in mtk_snand_write_fdm() local 812 valm = 0; in mtk_snand_write_fdm() 819 valm |= (j < fdm_size ? oobptr[j] : 0xff) in mtk_snand_write_fdm() 824 nfi_write32(snf, NFI_FDMM(i), valm); in mtk_snand_write_fdm()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | mtk_nand.c | 734 u32 vall, valm; in mtk_nfc_read_fdm() local 741 valm = nfi_readl(nfc, NFI_FDMM(i)); in mtk_nfc_read_fdm() 744 oobptr[j] = (j >= 4 ? valm : vall) >> ((j % 4) * 8); in mtk_nfc_read_fdm() 753 u32 vall, valm; in mtk_nfc_write_fdm() local 760 valm = 0; in mtk_nfc_write_fdm() 766 valm |= (j < fdm->reg_size ? oobptr[j] : 0xff) in mtk_nfc_write_fdm() 770 nfi_writel(nfc, valm, NFI_FDMM(i)); in mtk_nfc_write_fdm()
|