Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/onenand/
H A Dsamsung.c52 #define CMD_MAP_10(mem_addr) (MAP_10 | (mem_addr)) macro
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()
476 s3c_write_cmd(ONENAND_LOCK_START, CMD_MAP_10(start_mem_addr)); in s3c_onenand_do_lock_cmd()
477 s3c_write_cmd(ONENAND_LOCK_END, CMD_MAP_10(end_mem_addr)); in s3c_onenand_do_lock_cmd()
479 s3c_write_cmd(ONENAND_UNLOCK_START, CMD_MAP_10(start_mem_addr)); in s3c_onenand_do_lock_cmd()
480 s3c_write_cmd(ONENAND_UNLOCK_END, CMD_MAP_10(end_mem_addr)); in s3c_onenand_do_lock_cmd()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_samsung.c140 #define CMD_MAP_10(dev, mem_addr) (dev->cmd_map(MAP_10, (mem_addr))) macro
392 cmd_map_10 = CMD_MAP_10(onenand, mem_addr); 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()
765 s3c_write_cmd(ONENAND_UNLOCK_END, CMD_MAP_10(onenand, in s3c_onenand_do_lock_cmd()