Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
Dam335x_spl_bch.c34 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()
[all …]
Dnand_spl_simple.c67 void (*hwctrl)(struct mtd_info *mtd, int cmd, in nand_command() local
84 hwctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command()
87 hwctrl(mtd, offs & 0xff, in nand_command()
89 hwctrl(mtd, (offs >> 8) & 0xff, NAND_CTRL_ALE); /* A[11:9] */ in nand_command()
91 hwctrl(mtd, (page_addr & 0xff), NAND_CTRL_ALE); /* A[19:12] */ in nand_command()
92 hwctrl(mtd, ((page_addr >> 8) & 0xff), in nand_command()
96 hwctrl(mtd, (page_addr >> 16) & 0x0f, in nand_command()
100 hwctrl(mtd, NAND_CMD_READSTART, in nand_command()
102 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
Datmel_nand.c1249 void (*hwctrl)(struct mtd_info *mtd, int cmd, in nand_command() local
1260 hwctrl(mtd, cmd, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command()
1265 hwctrl(mtd, offs & 0xff, NAND_CTRL_ALE | NAND_CTRL_CHANGE); in nand_command()
1266 hwctrl(mtd, (offs >> 8) & 0xff, NAND_CTRL_ALE); in nand_command()
1267 hwctrl(mtd, (page_addr & 0xff), NAND_CTRL_ALE); in nand_command()
1268 hwctrl(mtd, ((page_addr >> 8) & 0xff), NAND_CTRL_ALE); in nand_command()
1270 hwctrl(mtd, (page_addr >> 16) & 0x0f, NAND_CTRL_ALE); in nand_command()
1272 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
1274 hwctrl(mtd, NAND_CMD_READSTART, NAND_CTRL_CLE | NAND_CTRL_CHANGE); in nand_command()
1275 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
[all …]
/external/u-boot/arch/arm/mach-socfpga/include/mach/
Dfreeze_controller.h14 u32 hwctrl; member