Lines Matching defs:command
47 /* timeout for command completion */
165 * @cmd_complete: queue to wait for command completion of NOR-flash.
192 * @erase_cmd: erase command may vary on different flash types
376 * Set write enable latch with Write Enable command.
391 /* give the flash, write enable command */
436 * @command: erase command to be send
437 * @bank: bank to which this command needs to be send
438 * @bytes: size of command
445 u32 bank, u32 command, u32 bytes)
463 /* send command in sw mode */
464 writel(command, dev->io_base + SMI_TR);
498 u32 addr, command, bank;
517 command = get_sector_erase_cmd(flash, addr);
518 /* preparing the command for flash */
519 ret = spear_smi_erase_sector(dev, bank, command, 4);
621 /* wait until finished previous write command. */
761 /* send readid command in sw mode */