Lines Matching refs:POT_MTD
77 devfd = open(POT_MTD, O_RDWR | O_SYNC);
79 dfp("Can't open POT mtd - %s\n", POT_MTD);
124 dfp("can't get mtd device info from %s\n", POT_MTD);
140 dfp("Failed to erase block on %s from 0x%08x\n", POT_MTD, mtdEraseInfo.start);
150 dfp("Failed to erase block on %s from 0x%08x\n", POT_MTD, mtdEraseInfo.start);
193 devfd = open(POT_MTD,O_RDWR|O_SYNC);
200 dfp("can't get mtd device info from %s\n", POT_MTD);
206 dfp("Failed to erase block on %s from 0x%08x\n", POT_MTD, mtdEraseInfo.start);
213 dfp("Failed to erase block on %s from 0x%08x\n", POT_MTD, mtdEraseInfo.start);
220 dfp("Failed to erase block on %s from 0x%08x\n", POT_MTD, mtdEraseInfo.start);
249 fd = open(POT_MTD, O_RDWR | O_SYNC);
251 dfp("can't open mtd device - %s\n", POT_MTD);
268 fd = open(POT_MTD, O_RDWR | O_SYNC);
270 dfp("can't open mtd device - %s\n", POT_MTD);