Lines Matching refs:writesize
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)
2668 return ALIGN(ilog2(size) - ilog2(writesize), 8) >> 3;
2711 (mtd->writesize >> FC_SHIFT);
2721 mtd->oobsize = cfg->spare_area_size * (mtd->writesize >> FC_SHIFT);
2726 cfg->page_size = mtd->writesize;
2729 cfg->blk_adr_bytes = get_blk_adr_bytes(mtd->size, mtd->writesize);
2793 if (mtd->writesize > 512)