/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/ |
H A D | sh_flctl.c | 404 &flctl->done_buff[mtd->writesize + 16 * sector], 537 flctl->read_bytes = mtd->writesize + mtd->oobsize; 554 set_addr(mtd, mtd->writesize, page_addr); 588 if (column >= mtd->writesize) { 589 column -= mtd->writesize; 615 if (flctl->seqin_column == mtd->writesize) 743 if (mtd->writesize == 512) { 774 if (mtd->writesize == 512) {
|
H A D | denali.c | 1050 size_t size = denali->mtd.writesize + denali->mtd.oobsize; 1064 memcpy(denali->buf.buf, buf, mtd->writesize); 1068 memcpy(denali->buf.buf + mtd->writesize, 1144 size_t size = denali->mtd.writesize + denali->mtd.oobsize; 1171 memcpy(buf, denali->buf.buf, mtd->writesize); 1181 if (!is_erased(buf, denali->mtd.writesize)) 1197 size_t size = denali->mtd.writesize + denali->mtd.oobsize; 1224 memcpy(buf, denali->buf.buf, mtd->writesize); 1225 memcpy(chip->oob_poi, denali->buf.buf + mtd->writesize, mtd->oobsize); 1563 if (denali->mtd.writesize > NAND_MAX_PAGESIZ [all...] |
H A D | bcm_umi_nand.c | 459 switch (board_mtd->writesize) { /* writesize is the pagesize */ 472 board_mtd->writesize); 478 if (board_mtd->writesize > 512) {
|
H A D | txx9ndfmc.c | 279 if (mtd->writesize >= 512) { 280 chip->ecc.size = mtd->writesize; 281 chip->ecc.bytes = 3 * (mtd->writesize / 256);
|
H A D | bf5xx_nand.c | 572 bf5xx_nand_read_buf(mtd, buf, mtd->writesize); 581 bf5xx_nand_write_buf(mtd, buf, mtd->writesize); 716 if (likely(mtd->writesize >= 512)) {
|
H A D | pxa3xx_nand.c | 717 info->buf_count = mtd->writesize + mtd->oobsize; 718 info->buf_start = mtd->writesize + column; 735 info->buf_count = mtd->writesize + mtd->oobsize; 748 if (is_buf_blank(info->data_buff, mtd->writesize)) 754 info->buf_count = mtd->writesize + mtd->oobsize; 762 info->use_ecc = (info->seqin_column >= mtd->writesize) ? 0 : 1;
|
H A D | au1550nd.c | 342 if (column >= mtd->writesize) { 344 column -= mtd->writesize;
|
H A D | diskonchip.c | 741 if (column >= mtd->writesize) { 743 column -= mtd->writesize; 1055 ret = mtd->read(mtd, offs, mtd->writesize, &retlen, buf); 1056 if (retlen != mtd->writesize) 1080 ret = mtd->read(mtd, offs, mtd->writesize, &retlen, buf); 1081 if (retlen != mtd->writesize) { 1101 buf = kmalloc(mtd->writesize, GFP_KERNEL); 1209 buf = kmalloc(mtd->writesize, GFP_KERNEL);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/tests/ |
H A D | mtd_readtest.c | 181 if (mtd->writesize == 1) { 186 pgsize = mtd->writesize;
|
H A D | mtd_stresstest.c | 262 if (mtd->writesize == 1) { 267 pgsize = mtd->writesize;
|
H A D | mtd_subpagetest.c | 396 subpgsize = mtd->writesize >> mtd->subpage_sft; 401 mtd->writesize, subpgsize, ebcnt, pgcnt, mtd->oobsize); 419 pgcnt = mtd->erasesize / mtd->writesize;
|
H A D | mtd_speedtest.c | 338 if (mtd->writesize == 1) { 343 pgsize = mtd->writesize;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/47xxnand/ |
H A D | brcmnand_47xx.c | 683 col = (int)(from & (mtd->writesize - 1)); 689 bytes = min(mtd->writesize - col, readlen); 690 aligned = (bytes == mtd->writesize); 1085 W_REG(osh, &cc->nand_cmd_addr, offset + mtd->writesize - NFL_SECTOR_SIZE); 1299 int bytes = mtd->writesize; 1857 column += mtd->writesize; 1974 if (mtd->writesize > 512) { 1985 if (column >= mtd->writesize) { 1987 column -= mtd->writesize; 2373 mtd->writesize [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/bcm947xx/nand/ |
H A D | brcmnand_47xx.c | 683 col = (int)(from & (mtd->writesize - 1)); 689 bytes = min(mtd->writesize - col, readlen); 690 aligned = (bytes == mtd->writesize); 1085 W_REG(osh, &cc->nand_cmd_addr, offset + mtd->writesize - NFL_SECTOR_SIZE); 1299 int bytes = mtd->writesize; 1857 column += mtd->writesize; 1974 if (mtd->writesize > 512) { 1985 if (column >= mtd->writesize) { 1987 column -= mtd->writesize; 2373 mtd->writesize [all...] |
H A D | brcmnand.c | 221 brcmnand->chip.ecc.size = brcmnand->mtd.writesize >> brcmnand->sec_per_page_shift; 644 BUG_ON(column >= mtd->writesize); 654 BUG_ON(column >= mtd->writesize); 662 BUG_ON(column >= mtd->writesize); 735 BUG_ON((1<<chip->page_shift) != mtd->writesize); 738 DEBUG(MTD_DEBUG_LEVEL0, "%s: erasesize=%d writesize=%d oobsize=%d " 740 mtd->erasesize, mtd->writesize, mtd->oobsize,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ |
H A D | mtdconcat.c | 193 if (mtd->writesize > 1) { 195 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) 774 concat->mtd.writesize = subdev[0]->writesize; 831 if (concat->mtd.writesize != subdev[i]->writesize ||
|
H A D | inftlcore.c | 158 ops.ooboffs = offs & (mtd->writesize - 1); 163 res = mtd->read_oob(mtd, offs & ~(mtd->writesize - 1), &ops); 178 ops.ooboffs = offs & (mtd->writesize - 1); 183 res = mtd->write_oob(mtd, offs & ~(mtd->writesize - 1), &ops); 204 res = mtd->write_oob(mtd, offs & ~(mtd->writesize - 1), &ops);
|
H A D | nftlcore.c | 148 loff_t mask = mtd->writesize - 1; 169 loff_t mask = mtd->writesize - 1; 192 loff_t mask = mtd->writesize - 1;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/serial/ |
H A D | sierra.c | 479 size_t writesize = min((size_t)count, (size_t)MAX_TRANSFER); local 489 dev_dbg(&port->dev, "%s: write (%zd bytes)\n", __func__, writesize); 511 buffer = kmalloc(writesize, GFP_ATOMIC); 525 memcpy(buffer, buf, writesize); 527 usb_serial_debug_data(debug, &port->dev, __func__, writesize, buffer); 532 buffer, writesize, sierra_outdat_callback, port); 564 return writesize;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ubi/ |
H A D | gluebi.c | 28 * size (@mtd->writesize) is equivalent to the UBI minimal I/O unit. The 231 if (len % mtd->writesize || offs % mtd->writesize) 341 mtd->writesize = di->min_io_size;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/chips/ |
H A D | map_ram.c | 55 mtd->writesize = 1;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/ |
H A D | mtdram.c | 123 mtd->writesize = 1;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/mtd/ |
H A D | onenand.h | 52 unsigned int writesize; member in struct:onenand_chip
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/class/ |
H A D | cdc-acm.c | 35 * v0.26 - multiple write urbs, writesize increased 711 count = (count > acm->writesize) ? acm->writesize : count; 732 return acm_wb_is_avail(acm) ? acm->writesize : 0; 743 return (ACM_NW - acm_wb_is_avail(acm)) * acm->writesize; 888 usb_free_coherent(usb_dev, acm->writesize, wb->buf, wb->dmah); 908 wb->buf = usb_alloc_coherent(acm->dev, acm->writesize, GFP_KERNEL, 914 usb_free_coherent(acm->dev, acm->writesize, 1146 acm->writesize = le16_to_cpu(epwrite->wMaxPacketSize) * 20; 1226 NULL, acm->writesize, acm_write_bul [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/onenand/ |
H A D | onenand_sim.c | 273 main_offset = mtd->writesize; 301 memcpy(dest, src, mtd->writesize);
|