Searched refs:DEVTYPE (Results 1 – 1 of 1) sorted by relevance
82 #define DEVTYPE(i) envdevices[(i)].mtd_type macro907 if (DEVTYPE(dev) == MTD_NANDFLASH) { in flash_read_buf()923 rc = flash_bad_block(fd, DEVTYPE(dev), blockstart); in flash_read_buf()993 if (DEVTYPE(dev) == MTD_ABSENT) { in flash_write_buf()1062 if (DEVTYPE(dev) == MTD_NANDFLASH) { in flash_write_buf()1076 rc = flash_bad_block(fd, DEVTYPE(dev), blockstart); in flash_write_buf()1090 if (DEVTYPE(dev) != MTD_ABSENT) { in flash_write_buf()1094 if (DEVTYPE(dev) != MTD_DATAFLASH) in flash_write_buf()1120 if (DEVTYPE(dev) != MTD_ABSENT) in flash_write_buf()1215 DEVTYPE(dev_current) = MTD_ABSENT; in flash_read()[all …]