Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A 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()
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()
[all …]
H A 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()
H A 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()
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()
1275 hwctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); in nand_command()
1342 void (*hwctrl)(struct mtd_info *mtd, int cmd, in spl_nand_erase_one() local
1353 hwctrl(mtd, ((page_addr >> 8) & 0xff), in spl_nand_erase_one()
[all …]
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dfreeze_controller.h14 u32 hwctrl; member
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_hal_init.c3454 u8 hwctrl = 0; in SetHwReg8723B() local
3457 hwctrl |= AcmHw_HwEn; in SetHwReg8723B()
3460 hwctrl |= AcmHw_BeqEn; in SetHwReg8723B()
3463 hwctrl |= AcmHw_ViqEn; in SetHwReg8723B()
3466 hwctrl |= AcmHw_VoqEn; in SetHwReg8723B()
3469 rtw_write8(padapter, REG_ACMHWCTRL, hwctrl); in SetHwReg8723B()