Searched refs:plnand (Results 1 – 1 of 1) sorted by relevance
275 struct pl35x_nand *plnand; in pl35x_smc_set_ecc_mode() local284 plnand = to_pl35x_nand(chip); in pl35x_smc_set_ecc_mode()285 plnand->ecc_cfg = ecc_cfg; in pl35x_smc_set_ecc_mode()316 struct pl35x_nand *plnand = to_pl35x_nand(chip); in pl35x_nand_select_target() local322 writel(plnand->timings, nfc->conf_regs + PL35X_SMC_CYCLES); in pl35x_nand_select_target()326 writel(plnand->ecc_cfg, nfc->conf_regs + PL35X_SMC_ECC_CFG); in pl35x_nand_select_target()507 struct pl35x_nand *plnand = to_pl35x_nand(chip); in pl35x_nand_write_page_hwecc() local510 unsigned int nrows = plnand->addr_cycles; in pl35x_nand_write_page_hwecc()521 PL35X_SMC_CMD_PHASE_NADDRS(plnand->addr_cycles) | in pl35x_nand_write_page_hwecc()535 if (plnand->addr_cycles > 4) in pl35x_nand_write_page_hwecc()[all …]