• Home
  • Raw
  • Download

Lines Matching refs:partition

27 	int partition;  member
46 int partition; member
59 struct mtd_info *mtd, int partition) in ofs_to_block() argument
71 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block()
75 if (num > card->parts[partition].numblocks) in ofs_to_block()
117 int partition, error = 0, x, wait; in maple_vmu_read_block() local
124 partition = mpart->partition; in maple_vmu_read_block()
126 pcache = card->parts[partition].pcache; in maple_vmu_read_block()
147 sendbuf = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_read_block()
234 int partition, error, locking, x, phaselen, wait; in maple_vmu_write_block() local
239 partition = mpart->partition; in maple_vmu_write_block()
250 sendbuf[0] = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_write_block()
312 int partition, error; in vmu_flash_read_char() local
316 partition = mpart->partition; in vmu_flash_read_char()
327 vblock = ofs_to_block(ofs, mtd, partition); in vmu_flash_read_char()
360 int index = 0, retval, partition, leftover, numblocks; in vmu_flash_read() local
365 partition = mpart->partition; in vmu_flash_read()
368 numblocks = card->parts[partition].numblocks; in vmu_flash_read()
374 pcache = card->parts[partition].pcache; in vmu_flash_read()
376 vblock = ofs_to_block(from + index, mtd, partition); in vmu_flash_read()
424 int index = 0, partition, error = 0, numblocks; in vmu_flash_write() local
431 partition = mpart->partition; in vmu_flash_write()
434 numblocks = card->parts[partition].numblocks; in vmu_flash_write()
442 vblock = ofs_to_block(to, mtd, partition); in vmu_flash_write()
471 pcache = card->parts[partition].pcache; in vmu_flash_write()
520 "blocks with a root block at %d\n", card->partition, in vmu_queryblocks()
523 part_cur = &card->parts[card->partition]; in vmu_queryblocks()
532 mdev->port, mdev->unit, card->partition); in vmu_queryblocks()
533 mtd_cur = &card->mtd[card->partition]; in vmu_queryblocks()
549 mpart->partition = card->partition; in vmu_queryblocks()
569 if (++card->partition < card->partitions) { in vmu_queryblocks()
570 partnum = cpu_to_be32(card->partition << 24); in vmu_queryblocks()
581 for (error = 0; error <= card->partition; error++) { in vmu_queryblocks()
587 for (error = 0; error <= card->partition; error++) { in vmu_queryblocks()
626 card->partition = 0; in vmu_connect()