Searched refs:mtd_cur (Results 1 – 1 of 1) sorted by relevance
507 struct mtd_info *mtd_cur; in vmu_queryblocks() local531 mtd_cur = &card->mtd[card->partition]; in vmu_queryblocks()532 mtd_cur->name = part_cur->name; in vmu_queryblocks()533 mtd_cur->type = 8; in vmu_queryblocks()534 mtd_cur->flags = MTD_WRITEABLE|MTD_NO_ERASE; in vmu_queryblocks()535 mtd_cur->size = part_cur->numblocks * card->blocklen; in vmu_queryblocks()536 mtd_cur->erasesize = card->blocklen; in vmu_queryblocks()537 mtd_cur->_write = vmu_flash_write; in vmu_queryblocks()538 mtd_cur->_read = vmu_flash_read; in vmu_queryblocks()539 mtd_cur->_sync = vmu_flash_sync; in vmu_queryblocks()[all …]