/linux-master/fs/jffs2/ |
H A D | wbuf.c | 1204 c->wbuf_pagesize = c->mtd->writesize; 1296 c->cleanmarker_size = max(16u, c->mtd->writesize); 1302 c->wbuf_pagesize = c->mtd->writesize; 1329 if (c->mtd->writesize == 1) 1336 c->wbuf_pagesize = c->mtd->writesize;
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | diskonchip.c | 871 ret = mtd_read(mtd, offs, mtd->writesize, &retlen, buf); 872 if (retlen != mtd->writesize) 896 ret = mtd_read(mtd, offs, mtd->writesize, &retlen, buf); 897 if (retlen != mtd->writesize) { 920 buf = kmalloc(mtd->writesize, GFP_KERNEL); 1028 buf = kmalloc(mtd->writesize, GFP_KERNEL);
|
H A D | stm32_fmc2_nand.c | 711 for (i = mtd->writesize + FMC2_BBM_LEN, s = 0; s < eccsteps; 746 ret = nand_change_read_column_op(chip, mtd->writesize, 762 u32 ecc_offset = mtd->writesize + FMC2_BBM_LEN; 999 ret = nand_change_write_column_op(chip, mtd->writesize, 1130 return nand_change_read_column_op(chip, mtd->writesize, 1138 ret = nand_change_read_column_op(chip, mtd->writesize, 1172 return nand_change_read_column_op(chip, mtd->writesize, 1762 if (mtd->writesize / chip->ecc.size > FMC2_MAX_SG) {
|
H A D | nand_onfi.c | 245 mtd->writesize = memorg->pagesize;
|
H A D | txx9ndfmc.c | 260 if (mtd->writesize >= 512) {
|
H A D | nand_hynix.c | 631 mtd->writesize = memorg->pagesize;
|
H A D | qcom_nandc.c | 1487 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); 2060 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); 2180 bbpos = mtd->writesize - host->cw_size * (ecc->steps - 1); 2378 cwperpage = mtd->writesize / NANDC_STEP_SIZE; 2486 bad_block_byte = mtd->writesize - host->cw_size * (cwperpage - 1) + 1; 3227 if (boot_partition->page_offset % mtd->writesize) { 3228 dev_err(dev, "Boot partition offset not multiple of writesize at index %i\n", 3234 boot_partition->page_offset /= mtd->writesize; 3244 if (boot_partition->page_size % mtd->writesize) { 3245 dev_err(dev, "Boot partition size not multiple of writesize a [all...] |
H A D | davinci_nand.c | 536 int chunks = mtd->writesize / 512;
|
/linux-master/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 2243 mtd->writesize >> FC_SHIFT, (u32 *)buf, oob); 2259 mtd->writesize >> FC_SHIFT, (u32 *)buf, oob); 2269 mtd->writesize >> FC_SHIFT, 2280 mtd->writesize >> FC_SHIFT, 2291 unsigned int i, j, trans = mtd->writesize >> FC_SHIFT; 2311 if (ctrl->dma_trans(host, addr, (u32 *)buf, oob, mtd->writesize, 2666 static inline int get_blk_adr_bytes(u64 size, u32 writesize) argument 2668 return ALIGN(ilog2(size) - ilog2(writesize), 8) >> 3; 2711 (mtd->writesize >> FC_SHIFT); 2721 mtd->oobsize = cfg->spare_area_size * (mtd->writesize >> FC_SHIF [all...] |
/linux-master/drivers/mtd/devices/ |
H A D | slram.c | 182 (*curmtd)->mtdinfo->writesize = 1;
|
H A D | mchp48l640.c | 331 flash->mtd.writesize = flash->caps->page_size;
|
H A D | phram.c | 156 new->mtd.writesize = 1;
|
H A D | bcm47xxsflash.c | 262 mtd->writesize = 1;
|
H A D | block2mtd.c | 314 dev->mtd.writesize = 1;
|
H A D | pmc551.c | 778 mtd->writesize = 1;
|
/linux-master/drivers/mtd/nand/ |
H A D | ecc-mxic.c | 261 steps = mtd->writesize / step_size; 267 steps = mtd->writesize / conf->step_size; 303 ctx->data_step_sz = mtd->writesize / steps;
|
H A D | ecc-sw-hamming.c | 516 nand->ecc.ctx.nsteps = mtd->writesize / conf->step_size;
|
/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 268 b47n->curr_column += mtd->writesize;
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | core.h | 341 * @writesize Minimal writable flash unit size. Defaults to 1. Set to 385 u32 writesize; member in struct:spi_nor_flash_parameter
|
/linux-master/drivers/mtd/ |
H A D | sm_ftl.c | 586 if (mtd->writesize == SM_SMALL_PAGE) { 629 if (mtd->writesize > SM_SECTOR_SIZE)
|
/linux-master/drivers/video/fbdev/ |
H A D | udlfb.c | 287 int writesize; local 315 writesize = wrptr - buf; 317 retval = dlfb_submit_urb(dlfb, urb, writesize);
|
/linux-master/drivers/mtd/nand/onenand/ |
H A D | onenand_omap2.c | 316 return this->writesize;
|
/linux-master/drivers/mtd/nand/raw/ingenic/ |
H A D | ingenic_nand_drv.c | 227 eccbytes = mtd->writesize / chip->ecc.size * chip->ecc.bytes;
|
/linux-master/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 240 mtd->writesize = 8; /* FIXME: Should be 0 for STMicro flashes w/out ECC */ 660 #define ECCBUF_SIZE (mtd->writesize)
|
/linux-master/drivers/mtd/ubi/ |
H A D | build.c | 639 ubi->min_io_size = ubi->mtd->writesize; 640 ubi->hdrs_min_io_size = ubi->mtd->writesize >> ubi->mtd->subpage_sft;
|