Home
last modified time | relevance | path

Searched refs:toread (Results 1 – 7 of 7) sorted by relevance

/drivers/mtd/nand/bcm47xxnflash/
Dops_bcm4706.c98 int toread; in bcm47xxnflash_ops_bcm4706_read() local
106 toread = min(len, 0x200); in bcm47xxnflash_ops_bcm4706_read()
124 for (i = 0; i < toread; i += 4, dest++) { in bcm47xxnflash_ops_bcm4706_read()
126 if (i == toread - 4) /* Last read goes without that */ in bcm47xxnflash_ops_bcm4706_read()
134 b47n->curr_column += toread; in bcm47xxnflash_ops_bcm4706_read()
135 len -= toread; in bcm47xxnflash_ops_bcm4706_read()
/drivers/staging/iio/Documentation/
Dgeneric_buffer.c147 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/
Dpcmciamtd.c145 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/net/can/c_can/
Dc_can.c830 u32 pkts = 0, pend = 0, toread, n; in c_can_do_rx_poll() local
848 toread = c_can_adjust_pending(pend); in c_can_do_rx_poll()
850 toread = pend; in c_can_do_rx_poll()
853 pend &= ~toread; in c_can_do_rx_poll()
855 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
/drivers/md/
Draid5.h236 struct bio *toread, *read, *towrite, *written; member
Draid5.c545 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe()
548 (unsigned long long)sh->sector, i, dev->toread, in init_stripe()
1065 dev->read = rbi = dev->toread; in ops_run_biofill()
1066 dev->toread = NULL; in ops_run_biofill()
2658 bip = &sh->dev[dd_idx].toread; in add_stripe_bio()
2806 bi = sh->dev[i].toread; in handle_failed_stripe()
2807 sh->dev[i].toread = NULL; in handle_failed_stripe()
2915 (dev->toread || in fetch_block()
2919 (s->failed >= 1 && fdev[0]->toread) || in fetch_block()
2920 (s->failed >= 2 && fdev[1]->toread) || in fetch_block()
[all …]
/drivers/mtd/nand/
Dnand_base.c1620 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local
1622 if (toread) { in nand_do_read_ops()
1624 oob, ops, toread); in nand_do_read_ops()
1625 oobreadlen -= toread; in nand_do_read_ops()
1759 int i, toread, sndrnd = 0, pos; in nand_read_oob_syndrome() local
1771 toread = min_t(int, length, chunk); in nand_read_oob_syndrome()
1772 chip->read_buf(mtd, bufpoi, toread); in nand_read_oob_syndrome()
1773 bufpoi += toread; in nand_read_oob_syndrome()
1774 length -= toread; in nand_read_oob_syndrome()