Lines Matching defs:fmt
323 u32 fmt, spare, i;
332 fmt = PAGEFMT_512_2K | PAGEFMT_SEC_SEL_512;
336 fmt = PAGEFMT_2K_4K | PAGEFMT_SEC_SEL_512;
338 fmt = PAGEFMT_512_2K;
342 fmt = PAGEFMT_4K_8K | PAGEFMT_SEC_SEL_512;
344 fmt = PAGEFMT_2K_4K;
348 fmt = PAGEFMT_8K_16K | PAGEFMT_SEC_SEL_512;
350 fmt = PAGEFMT_4K_8K;
353 fmt = PAGEFMT_8K_16K;
377 fmt |= i << nfc->caps->pageformat_spare_shift;
379 fmt |= mtk_nand->fdm.reg_size << PAGEFMT_FDM_SHIFT;
380 fmt |= mtk_nand->fdm.ecc_size << PAGEFMT_FDM_ECC_SHIFT;
381 nfi_writel(nfc, fmt, NFI_PAGEFMT);