Lines Matching full:onenand
10 #include <linux/mtd/onenand.h>
23 struct samsung_onenand *onenand; in onenand_board_init() local
27 onenand = (struct samsung_onenand *)this->base; in onenand_board_init()
45 writel(ONENAND_MEM_RESET_COLD, &onenand->mem_reset); in onenand_board_init()
47 while (!(readl(&onenand->int_err_stat) & RST_CMP)) in onenand_board_init()
50 writel(RST_CMP, &onenand->int_err_ack); in onenand_board_init()
57 writel(0x3, &onenand->acc_clock); in onenand_board_init()
59 writel(INT_ERR_ALL, &onenand->int_err_mask); in onenand_board_init()
60 writel(1 << 0, &onenand->int_pin_en); /* Enable */ in onenand_board_init()
62 value = readl(&onenand->int_err_mask); in onenand_board_init()
64 writel(value, &onenand->int_err_mask); in onenand_board_init()