Home
last modified time | relevance | path

Searched refs:s3c_write_cmd (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/onenand/
H A Dsamsung.c74 static void s3c_write_cmd(int value, unsigned int cmd) in s3c_write_cmd() function
206 s3c_write_cmd(value, CMD_MAP_11(word_addr)); in s3c_onenand_writew()
334 s3c_write_cmd(*m++, CMD_MAP_01(mem_addr)); in s3c_onenand_command()
342 s3c_write_cmd(0xffffffff, CMD_MAP_01(mem_addr)); in s3c_onenand_command()
346 s3c_write_cmd(*s++, CMD_MAP_01(mem_addr)); in s3c_onenand_command()
352 s3c_write_cmd(ONENAND_UNLOCK_ALL, CMD_MAP_10(mem_addr)); in s3c_onenand_command()
356 s3c_write_cmd(ONENAND_ERASE_START, CMD_MAP_10(mem_addr)); in s3c_onenand_command()
360 s3c_write_cmd(ONENAND_MULTI_ERASE_SET, CMD_MAP_10(mem_addr)); in s3c_onenand_command()
364 s3c_write_cmd(ONENAND_ERASE_VERIFY, CMD_MAP_10(mem_addr)); in s3c_onenand_command()
477 s3c_write_cmd(ONENAND_LOCK_END, CMD_MAP_10(end_mem_addr)); in s3c_onenand_do_lock_cmd()
[all …]
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_samsung.c160 static inline void s3c_write_cmd(int value, unsigned int cmd) in s3c_write_cmd() function
307 s3c_write_cmd(value, CMD_MAP_11(onenand, word_addr)); in s3c_onenand_writew()
443 s3c_write_cmd(*m++, cmd_map_01); in s3c_onenand_command()
451 s3c_write_cmd(0xffffffff, cmd_map_01); in s3c_onenand_command()
455 s3c_write_cmd(*s++, cmd_map_01); in s3c_onenand_command()
461 s3c_write_cmd(ONENAND_UNLOCK_ALL, cmd_map_10); in s3c_onenand_command()
465 s3c_write_cmd(ONENAND_ERASE_START, cmd_map_10); in s3c_onenand_command()
758 s3c_write_cmd(ONENAND_LOCK_START, CMD_MAP_10(onenand, in s3c_onenand_do_lock_cmd()
760 s3c_write_cmd(ONENAND_LOCK_END, CMD_MAP_10(onenand, in s3c_onenand_do_lock_cmd()
763 s3c_write_cmd(ONENAND_UNLOCK_START, CMD_MAP_10(onenand, in s3c_onenand_do_lock_cmd()
[all …]