Searched defs:thislen (Results 1 - 15 of 15) sorted by relevance

/drivers/mtd/maps/
H A Dvmax301.c68 unsigned long thislen = len; local
70 thislen = WINDOW_LENGTH-(from & WINDOW_MASK);
73 memcpy_fromio(to, map->map_priv_2 + from, thislen);
75 to += thislen;
76 from += thislen;
77 len -= thislen;
92 unsigned long thislen = len; local
94 thislen = WINDOW_LENGTH-(to & WINDOW_MASK);
98 memcpy_toio(map->map_priv_2 + to, from, thislen);
100 to += thislen;
[all...]
H A Doctagon-5066.c76 unsigned long thislen = len; local
78 thislen = WINDOW_LENGTH-(from & WINDOW_MASK);
82 memcpy_fromio(to, iomapadr + from, thislen);
84 to += thislen;
85 from += thislen;
86 len -= thislen;
101 unsigned long thislen = len; local
103 thislen = WINDOW_LENGTH-(to & WINDOW_MASK);
107 memcpy_toio(iomapadr + to, from, thislen);
109 to += thislen;
[all...]
H A Dsbc_gxx.c127 unsigned long thislen = len; local
129 thislen = WINDOW_LENGTH-(from & WINDOW_MASK);
133 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen);
135 to += thislen;
136 from += thislen;
137 len -= thislen;
152 unsigned long thislen = len; local
154 thislen = WINDOW_LENGTH-(to & WINDOW_MASK);
158 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen);
160 to += thislen;
[all...]
/drivers/mtd/
H A Dnftlcore.c493 u16 ChainLength = 0, thislen; local
498 thislen = 0;
501 thislen++;
502 //printk("VUC %d reaches len %d with EUN %d\n", chain, thislen, EUN);
504 if (thislen > 0xff00) {
508 if (thislen > 0xff10) {
511 thislen = 0;
516 if (thislen > ChainLength) {
517 //printk("New longest chain is %d with length %d\n", chain, thislen);
518 ChainLength = thislen;
[all...]
H A Dinftlcore.c419 u16 ChainLength = 0, thislen; local
427 thislen = 0;
430 thislen++;
432 if (thislen > 0xff00) {
440 thislen = 0;
445 if (thislen > ChainLength) {
446 ChainLength = thislen;
H A Dmtdcore.c953 size_t totlen = 0, thislen; local
959 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
961 totlen += thislen;
962 if (ret || thislen != vecs[i].iov_len)
/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c398 unsigned long thislen; local
404 thislen = (1<<cfi->chipshift) - ofs;
406 thislen = len;
408 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf);
412 *retlen += thislen;
413 len -= thislen;
414 buf += thislen;
669 size_t totlen = 0, thislen; local
696 ret = mtd_write(mtd, to, ECCBUF_SIZE, &thislen,
698 totlen += thislen;
[all...]
H A Dcfi_cmdset_0002.c1022 unsigned long thislen; local
1028 thislen = (1<<cfi->chipshift) - ofs;
1030 thislen = len;
1032 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf);
1036 *retlen += thislen;
1037 len -= thislen;
1038 buf += thislen;
1104 unsigned long thislen; local
1110 thislen = (1<<3) - ofs;
1112 thislen
[all...]
H A Dcfi_cmdset_0001.c1339 unsigned long thislen; local
1351 thislen = (1<<cfi->chipshift) - ofs;
1353 thislen = len;
1355 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen);
1359 *retlen += thislen;
1360 len -= thislen;
1383 unsigned long thislen; local
1391 thislen = (1<<cfi->chipshift) - ofs;
1393 thislen = len;
1408 len -= thislen;
1461 unsigned long thislen; local
[all...]
/drivers/mtd/lpddr/
H A Dlpddr_cmds.c541 unsigned long thislen; local
553 thislen = (1<<lpddr->chipshift) - ofs;
555 thislen = len;
565 *retlen += thislen;
566 len -= thislen;
587 unsigned long thislen; local
595 thislen = (1<<lpddr->chipshift) - ofs;
597 thislen = len;
613 len -= thislen;
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c144 unsigned int thislen = 0; local
210 thislen = min((bufflen - thisoff), len);
219 * ((i == (dmacount - 1)) && (thislen == len))
222 if (((i != (dmacount - 1)) || (thislen != len))
223 && ((thislen + thisoff) != bufflen))
230 len -= thislen;
231 addr += thislen;
236 lastsize = thisoff + thislen;
/drivers/usb/atm/
H A Dspeedtch.c284 int thislen = min_t(int, PAGE_SIZE, fw1->size - offset); local
285 memcpy(buffer, fw1->data + offset, thislen);
288 buffer, thislen, &actual_length, DATA_TIMEOUT);
311 int thislen = min_t(int, PAGE_SIZE, fw2->size - offset); local
312 memcpy(buffer, fw2->data + offset, thislen);
315 buffer, thislen, &actual_length, DATA_TIMEOUT);
/drivers/ide/
H A Dide-cd.c527 int dma_error = 0, dma, thislen, uptodate = 0; local
572 thislen = (rq->cmd_type == REQ_TYPE_FS) ? len : cmd->nleft;
573 if (thislen > len)
574 thislen = len;
576 ide_debug_log(IDE_DBG_PC, "DRQ: stat: 0x%x, thislen: %d",
577 stat, thislen);
604 if (!(stat & ATA_ERR) && !uptodate && thislen) {
605 ide_pio_bytes(drive, cmd, write, thislen);
626 while (thislen > 0) {
627 int blen = min_t(int, thislen, cm
[all...]
/drivers/net/ethernet/i825xx/
H A Dether1.c130 unsigned int page, thislen, offset; local
138 thislen = 4096 - offset;
140 thislen = length;
146 length -= thislen;
179 : "r" (addr), "r" (thislen), "1" (data));
183 thislen = length;
184 if (thislen > 4096)
185 thislen = 4096;
187 } while (thislen);
193 unsigned int page, thislen, offse local
[all...]
/drivers/mtd/onenand/
H A Donenand_base.c1022 * @param thislen oob length to read
1025 int thislen)
1030 int readend = column + thislen;
1120 int read = 0, column, thislen; local
1149 thislen = min_t(int, writesize, len - read);
1152 if (column + thislen > writesize)
1153 thislen = writesize - column;
1168 this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen);
1182 read += thislen;
1186 from += thislen;
1024 onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column, int thislen) argument
1224 int read = 0, column, thislen; local
1352 int read = 0, thislen, column, oobsize; local
1574 int read = 0, thislen, column; local
1678 int thislen, column; local
1767 int thislen = min_t(int, mtd->writesize - column, len - written); local
1821 onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf, const u_char *buf, int column, int thislen) argument
1866 int written = 0, column, thislen = 0, subpage = 0; local
2105 int thislen = min_t(int, oobsize, len - written); local
2933 int thislen = min_t(int, oobsize, len - written); local
[all...]

Completed in 345 milliseconds