Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dqcom_nandc.c2471 int cwperpage, bad_block_byte, ret; in qcom_nand_attach_chip() local
2478 cwperpage = mtd->writesize / NANDC_STEP_SIZE; in qcom_nand_attach_chip()
2485 mtd->oobsize - (cwperpage * 4)); in qcom_nand_attach_chip()
2559 cwperpage); in qcom_nand_attach_chip()
2573 bad_block_byte = mtd->writesize - host->cw_size * (cwperpage - 1) + 1; in qcom_nand_attach_chip()
2575 host->cfg0 = (cwperpage - 1) << CW_PER_PAGE in qcom_nand_attach_chip()
2592 host->cfg0_raw = (cwperpage - 1) << CW_PER_PAGE in qcom_nand_attach_chip()
2625 cwperpage); in qcom_nand_attach_chip()