Searched refs:writesize (Results 76 - 100 of 115) sorted by relevance

12345

/linux-master/fs/jffs2/
H A Dwbuf.c1204 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 Ddiskonchip.c871 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 Dstm32_fmc2_nand.c711 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 Dnand_onfi.c245 mtd->writesize = memorg->pagesize;
H A Dtxx9ndfmc.c260 if (mtd->writesize >= 512) {
H A Dnand_hynix.c631 mtd->writesize = memorg->pagesize;
H A Dqcom_nandc.c1487 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 Ddavinci_nand.c536 int chunks = mtd->writesize / 512;
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c2243 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 Dslram.c182 (*curmtd)->mtdinfo->writesize = 1;
H A Dmchp48l640.c331 flash->mtd.writesize = flash->caps->page_size;
H A Dphram.c156 new->mtd.writesize = 1;
H A Dbcm47xxsflash.c262 mtd->writesize = 1;
H A Dblock2mtd.c314 dev->mtd.writesize = 1;
H A Dpmc551.c778 mtd->writesize = 1;
/linux-master/drivers/mtd/nand/
H A Decc-mxic.c261 steps = mtd->writesize / step_size;
267 steps = mtd->writesize / conf->step_size;
303 ctx->data_step_sz = mtd->writesize / steps;
H A Decc-sw-hamming.c516 nand->ecc.ctx.nsteps = mtd->writesize / conf->step_size;
/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c268 b47n->curr_column += mtd->writesize;
/linux-master/drivers/mtd/spi-nor/
H A Dcore.h341 * @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 Dsm_ftl.c586 if (mtd->writesize == SM_SMALL_PAGE) {
629 if (mtd->writesize > SM_SECTOR_SIZE)
/linux-master/drivers/video/fbdev/
H A Dudlfb.c287 int writesize; local
315 writesize = wrptr - buf;
317 retval = dlfb_submit_urb(dlfb, urb, writesize);
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_omap2.c316 return this->writesize;
/linux-master/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c227 eccbytes = mtd->writesize / chip->ecc.size * chip->ecc.bytes;
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c240 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 Dbuild.c639 ubi->min_io_size = ubi->mtd->writesize;
640 ubi->hdrs_min_io_size = ubi->mtd->writesize >> ubi->mtd->subpage_sft;

Completed in 310 milliseconds

12345