Searched refs:valm (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/spi/ |
D | spi-mtk-snfi.c | 757 u32 vall, valm; in mtk_snand_read_fdm() local 763 valm = nfi_read32(snf, NFI_FDMM(i)); in mtk_snand_read_fdm() 766 oobptr[j] = (j >= 4 ? valm : vall) >> ((j % 4) * 8); in mtk_snand_read_fdm() 776 u32 vall, valm; in mtk_snand_write_fdm() local 781 valm = 0; in mtk_snand_write_fdm() 788 valm |= (j < fdm_size ? oobptr[j] : 0xff) in mtk_snand_write_fdm() 793 nfi_write32(snf, NFI_FDMM(i), valm); in mtk_snand_write_fdm()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | mtk_nand.c | 735 u32 vall, valm; in mtk_nfc_read_fdm() local 742 valm = nfi_readl(nfc, NFI_FDMM(i)); in mtk_nfc_read_fdm() 745 oobptr[j] = (j >= 4 ? valm : vall) >> ((j % 4) * 8); in mtk_nfc_read_fdm() 754 u32 vall, valm; in mtk_nfc_write_fdm() local 761 valm = 0; in mtk_nfc_write_fdm() 767 valm |= (j < fdm->reg_size ? oobptr[j] : 0xff) in mtk_nfc_write_fdm() 771 nfi_writel(nfc, valm, NFI_FDMM(i)); in mtk_nfc_write_fdm()
|