Lines Matching refs:reg_ndcr
258 uint32_t reg_ndcr; member
543 info->reg_ndcr |= NDCR_DWIDTH_M; in pxa3xx_nand_init_timings()
547 info->reg_ndcr |= (f->dfc_width == 16) ? NDCR_DWIDTH_C : 0; in pxa3xx_nand_init_timings()
573 ndcr = info->reg_ndcr; in pxa3xx_nand_start()
1074 if (info->reg_ndcr & NDCR_DWIDTH_M) in nand_cmdfunc()
1135 if (info->reg_ndcr & NDCR_DWIDTH_M) in nand_cmdfunc_extended()
1474 info->reg_ndcr = 0x0; /* enable all interrupts */ in pxa3xx_nand_config_ident()
1475 info->reg_ndcr |= (pdata->enable_arbiter) ? NDCR_ND_ARB_EN : 0; in pxa3xx_nand_config_ident()
1476 info->reg_ndcr |= NDCR_RD_ID_CNT(READ_ID_BYTES); in pxa3xx_nand_config_ident()
1477 info->reg_ndcr |= NDCR_SPARE_EN; in pxa3xx_nand_config_ident()
1488 info->reg_ndcr |= (host->col_addr_cycles == 2) ? NDCR_RA_START : 0; in pxa3xx_nand_config_tail()
1489 info->reg_ndcr |= (chip->page_shift == 6) ? NDCR_PG_PER_BLK : 0; in pxa3xx_nand_config_tail()
1490 info->reg_ndcr |= (mtd->writesize == 2048) ? NDCR_PAGE_SZ : 0; in pxa3xx_nand_config_tail()
1500 info->reg_ndcr = ndcr & in pxa3xx_nand_detect_config()
1502 info->reg_ndcr |= (pdata->enable_arbiter) ? NDCR_ND_ARB_EN : 0; in pxa3xx_nand_detect_config()
1528 info->reg_ndcr = 0x0; /* enable all interrupts */ in pxa3xx_nand_sensing()
1529 info->reg_ndcr |= (pdata->enable_arbiter) ? NDCR_ND_ARB_EN : 0; in pxa3xx_nand_sensing()
1530 info->reg_ndcr |= NDCR_RD_ID_CNT(READ_ID_BYTES); in pxa3xx_nand_sensing()
1531 info->reg_ndcr |= NDCR_SPARE_EN; /* enable spare by default */ in pxa3xx_nand_sensing()