Lines Matching refs:hwctrl
34 void (*hwctrl)(struct mtd_info *mtd, int cmd, in nand_command() local
47 hwctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command()
50 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
69 hwctrl(mtd, offs & 0xff, in nand_command()
71 hwctrl(mtd, (offs >> 8) & 0xff, NAND_CTRL_ALE); /* A[11:9] */ in nand_command()
74 hwctrl(mtd, (page_addr & 0xff), in nand_command()
76 hwctrl(mtd, ((page_addr >> 8) & 0xff), in nand_command()
80 hwctrl(mtd, (page_addr >> 16) & 0x0f, in nand_command()
85 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
104 hwctrl(mtd, NAND_CMD_RNDOUTSTART, NAND_CTRL_CLE | in nand_command()
106 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
111 hwctrl(mtd, NAND_CMD_READSTART, in nand_command()
113 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()