Searched refs:toread (Results 1 – 6 of 6) sorted by relevance
/drivers/mtd/nand/bcm47xxnflash/ |
D | ops_bcm4706.c | 95 int toread; in bcm47xxnflash_ops_bcm4706_read() local 103 toread = min(len, 0x200); in bcm47xxnflash_ops_bcm4706_read() 121 for (i = 0; i < toread; i += 4, dest++) { in bcm47xxnflash_ops_bcm4706_read() 123 if (i == toread - 4) /* Last read goes without that */ in bcm47xxnflash_ops_bcm4706_read() 131 b47n->curr_column += toread; in bcm47xxnflash_ops_bcm4706_read() 132 len -= toread; in bcm47xxnflash_ops_bcm4706_read()
|
/drivers/staging/iio/Documentation/ |
D | generic_buffer.c | 147 int ret, c, i, j, toread; in main() local 298 toread = buf_len; in main() 302 toread = 64; in main() 307 toread*scan_size); in main()
|
/drivers/mtd/maps/ |
D | pcmciamtd.c | 145 int toread = win_size - (from & (win_size-1)); in pcmcia_copy_from_remap() local 148 if(toread > len) in pcmcia_copy_from_remap() 149 toread = len; in pcmcia_copy_from_remap() 155 pr_debug("memcpy from %p to %p len = %d\n", addr, to, toread); in pcmcia_copy_from_remap() 156 memcpy_fromio(to, addr, toread); in pcmcia_copy_from_remap() 157 len -= toread; in pcmcia_copy_from_remap() 158 to += toread; in pcmcia_copy_from_remap() 159 from += toread; in pcmcia_copy_from_remap()
|
/drivers/md/ |
D | raid5.h | 232 struct bio *toread, *read, *towrite, *written; member
|
D | raid5.c | 350 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe() 353 (unsigned long long)sh->sector, i, dev->toread, in init_stripe() 840 dev->read = rbi = dev->toread; in ops_run_biofill() 841 dev->toread = NULL; in ops_run_biofill() 2404 bip = &sh->dev[dd_idx].toread; in add_stripe_bio() 2547 bi = sh->dev[i].toread; in handle_failed_stripe() 2548 sh->dev[i].toread = NULL; in handle_failed_stripe() 2656 (dev->toread || in fetch_block() 2660 (s->failed >= 1 && fdev[0]->toread) || in fetch_block() 2661 (s->failed >= 2 && fdev[1]->toread) || in fetch_block() [all …]
|
/drivers/mtd/nand/ |
D | nand_base.c | 1501 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local 1503 if (toread) { in nand_do_read_ops() 1505 oob, ops, toread); in nand_do_read_ops() 1506 oobreadlen -= toread; in nand_do_read_ops() 1613 int i, toread, sndrnd = 0, pos; in nand_read_oob_syndrome() local 1625 toread = min_t(int, length, chunk); in nand_read_oob_syndrome() 1626 chip->read_buf(mtd, bufpoi, toread); in nand_read_oob_syndrome() 1627 bufpoi += toread; in nand_read_oob_syndrome() 1628 length -= toread; in nand_read_oob_syndrome()
|