Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dpflash-cfi02-test.c172 static inline void flash_cmd(const FlashConfig *c, faddr cmd_addr, in flash_cmd() function
190 flash_cmd(c, UNLOCK0_ADDR, UNLOCK0_CMD); in unlock()
191 flash_cmd(c, UNLOCK1_ADDR, UNLOCK1_CMD); in unlock()
196 flash_cmd(c, FLASH_ADDR(0), RESET_CMD); in reset()
202 flash_cmd(c, UNLOCK0_ADDR, SECOND_UNLOCK_CMD); in sector_erase()
222 flash_cmd(c, UNLOCK0_ADDR, PROGRAM_CMD); in bypass_program()
241 flash_cmd(c, UNLOCK0_ADDR, SECOND_UNLOCK_CMD); in chip_erase()
243 flash_cmd(c, UNLOCK0_ADDR, CHIP_ERASE_CMD); in chip_erase()
248 flash_cmd(c, FLASH_ADDR(0), ERASE_SUSPEND_CMD); in erase_suspend()
253 flash_cmd(c, FLASH_ADDR(0), ERASE_RESUME_CMD); in erase_resume()
[all …]
/openbmc/u-boot/examples/standalone/
H A Datmel_df_pow2.c17 static int flash_cmd(struct spi_slave *slave, uchar cmd, uchar *buf, int len) in flash_cmd() function
26 if (flash_cmd(slave, CMD_STAT, buf, sizeof(buf))) in flash_status()
40 ret = flash_cmd(slave, CMD_CFG, buf, sizeof(buf)); in flash_set_pow2()
59 ret = flash_cmd(slave, CMD_ID, buf, sizeof(buf)); in flash_check()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.h73 u16 flash_cmd; member
88 u16 flash_cmd; member
107 u32 flash_cmd; member
H A Dmxc_nand_spl.c121 writenfc(command, &nfc->flash_cmd); in nfc_nand_command()
H A Dmxc_nand.c147 writenfc(cmd, &host->regs->flash_cmd);