Home
last modified time | relevance | path

Searched refs:flash_cmd (Results 1 – 7 of 7) 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);
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c2689 struct be_dma_mem *flash_cmd, int optype, int img_size, in be_flash() argument
2693 struct be_cmd_write_flashrom *req = flash_cmd->va; in be_flash()
2715 status = be_cmd_write_flashrom(adapter, flash_cmd, optype, in be_flash()
2752 struct be_dma_mem *flash_cmd, int num_of_images) in be_flash_BEx() argument
2858 status = be_flash(adapter, p, flash_cmd, pflashcomp[i].optype, in be_flash_BEx()
2923 struct be_dma_mem *flash_cmd, int num_of_images) in be_flash_skyhawk() argument
3002 status = be_flash(adapter, p, flash_cmd, flash_optype, img_size, in be_flash_skyhawk()
3048 struct be_dma_mem flash_cmd; in lancer_fw_download() local
3064 flash_cmd.size = sizeof(struct lancer_cmd_req_write_object) in lancer_fw_download()
3066 flash_cmd in lancer_fw_download()
3175 struct be_dma_mem flash_cmd; be_fw_download() local
[all...]
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_flash.c404 u16 flash_cmd; in ipc_flash_send_fls() local
431 flash_cmd = IOSM_MDM_SEND_DATA; in ipc_flash_send_fls()
433 (u8 *)&flash_cmd, in ipc_flash_send_fls()