/linux-master/sound/mips/ |
H A D | snd-n64.c | 59 u32 writesize; member in struct:n64audio::__anon399 88 count = priv->chan.writesize; 229 priv->chan.writesize = snd_pcm_lib_period_bytes(substream);
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | sh_flctl.c | 605 nand_read_page_op(chip, page, 0, buf, mtd->writesize); 616 nand_prog_page_begin_op(chip, page, 0, buf, mtd->writesize); 644 &flctl->done_buff[mtd->writesize + 16 * sector], 710 write_ec_fiforeg(flctl, 16, mtd->writesize + 16 * sector); 768 flctl->read_bytes = mtd->writesize + mtd->oobsize; 784 set_addr(mtd, mtd->writesize, page_addr); 804 flctl->read_bytes = mtd->writesize + mtd->oobsize - column; 838 if (column >= mtd->writesize) { 839 column -= mtd->writesize; 865 if (flctl->seqin_column == mtd->writesize) [all...] |
H A D | nand_legacy.c | 260 if (column >= mtd->writesize) { 262 column -= mtd->writesize; 396 column += mtd->writesize; 619 if (mtd->writesize > 512 && chip->legacy.cmdfunc == nand_command)
|
H A D | hisi504_nand.c | 268 hinfc_write(host, mtd->writesize + mtd->oobsize, 439 host->offset = column + mtd->writesize; 526 nand_read_page_op(chip, page, 0, buf, mtd->writesize); 573 nand_prog_page_begin_op(chip, page, 0, buf, mtd->writesize); 667 if (mtd->writesize == 2048) 700 mtd->writesize + mtd->oobsize, 705 host->dma_oob = host->dma_buffer + mtd->writesize; 706 memset(host->buffer, 0xff, mtd->writesize + mtd->oobsize); 710 switch (mtd->writesize) {
|
H A D | nand_jedec.c | 101 mtd->writesize = memorg->pagesize;
|
H A D | pl35x-nand-controller.c | 509 unsigned int first_row = (mtd->writesize <= 512) ? 1 : 2; 539 pl35x_nand_write_data_op(chip, buf, mtd->writesize, false, 600 unsigned int first_row = (mtd->writesize <= 512) ? 1 : 2; 637 pl35x_nand_read_data_op(chip, buf, mtd->writesize, false, 902 if (mtd->writesize < SZ_512 || mtd->writesize > SZ_2K) { 911 chip->ecc.steps = mtd->writesize / chip->ecc.size; 915 pl35x_smc_set_ecc_pg_size(nfc, chip, mtd->writesize); 961 if (mtd->writesize <= SZ_512)
|
H A D | marvell_nand.c | 240 * @writesize: Full page size on which the layout applies 257 int writesize; member in struct:marvell_hw_ecc_layout 273 .writesize = ws, \ 1248 memset(buf, 0xFF, mtd->writesize); 1473 if (lt->writesize == 2048 && lt->strength == 8) { 1693 memset(buf, 0xFF, mtd->writesize); 1703 memset(buf, 0xFF, mtd->writesize); 2228 if (mtd->writesize == SZ_4K && lt->data_bytes == SZ_2K) 2253 (mtd->writesize + mtd->oobsize > MAX_CHUNK_SIZE)) { 2255 "NFCv1: writesize ( [all...] |
H A D | lpc32xx_slc.c | 398 return nand_prog_page_op(chip, page, mtd->writesize, chip->oob_poi, 505 memcpy(host->data_buf, buf, mtd->writesize); 523 writel(mtd->writesize, SLC_TC(host->io_base)); 533 mtd->writesize / chip->ecc.steps, dir); 591 memcpy(buf, host->data_buf, mtd->writesize); 785 if (mtd->writesize <= 512) 811 mtd->writesize <= 512) {
|
H A D | intel-nand-controller.c | 394 ret = ebu_dma_start(ebu_host, DMA_DEV_TO_MEM, buf, mtd->writesize); 419 ret = ebu_dma_start(ebu_host, DMA_MEM_TO_DEV, buf, mtd->writesize); 452 u32 writesize = mtd->writesize; local 489 ecc_steps = writesize / ecc_size; 495 pagesize = fls(writesize >> 11); 499 pg_per_blk = fls((blocksize / writesize) >> 6) / 8;
|
H A D | tegra_nand.c | 521 addr1 |= mtd->writesize; 532 dma_addr = dma_map_single(ctrl->dev, buf, mtd->writesize, dir); 539 writel_relaxed(mtd->writesize - 1, ctrl->regs + DMA_CFG_A); 614 dma_unmap_single(ctrl->dev, dma_addr, mtd->writesize, dir); 929 chip->ecc.steps = mtd->writesize / chip->ecc.size; 947 if (mtd->writesize < 2048) 953 if (chip->ecc.algo == NAND_ECC_ALGO_BCH && mtd->writesize < 2048) { 1029 switch (mtd->writesize) { 1046 dev_err(ctrl->dev, "Unsupported writesize %d\n", 1047 mtd->writesize); [all...] |
H A D | arasan-nand-controller.c | 398 unsigned int len = mtd->writesize + (oob_required ? mtd->oobsize : 0); 442 ret = nand_change_read_column_op(chip, mtd->writesize, chip->oob_poi, 516 unsigned int len = mtd->writesize + (oob_required ? mtd->oobsize : 0); 1116 switch (mtd->writesize) { 1124 dev_err(nfc->dev, "Unsupported page size %d\n", mtd->writesize); 1166 ecc->steps = mtd->writesize / ecc->size; 1171 ecc_offset = mtd->writesize + mtd->oobsize - anand->ecc_total; 1203 if (mtd->writesize <= SZ_512) 1213 switch (mtd->writesize) {
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mtd.c | 64 part->mtd.writesize = 1;
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | mtd.c | 64 part->mtd.writesize = 1;
|
/linux-master/drivers/mtd/devices/ |
H A D | sst25l.c | 256 if ((uint32_t)to % mtd->writesize) 265 for (i = 0; i < len; i += mtd->writesize) { 285 bytes = min_t(uint32_t, mtd->writesize, len - i); 375 flash->mtd.writesize = flash_info->page_size;
|
H A D | mtdram.c | 134 mtd->writesize = 1;
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | mtd.c | 64 part->mtd.writesize = 1;
|
/linux-master/drivers/mtd/nand/onenand/ |
H A D | onenand_samsung.c | 413 m += (this->writesize >> 2); 417 mcount = mtd->writesize >> 2; 484 p += this->writesize; 629 p += this->writesize; 635 !onenand->dma_addr || count != mtd->writesize) 677 if (count != mtd->writesize) { 679 memcpy_fromio(this->page_buf, p, mtd->writesize); 893 this->subpagesize = mtd->writesize; 924 this->subpagesize = mtd->writesize;
|
/linux-master/drivers/mtd/tests/ |
H A D | readtest.c | 135 if (mtd->writesize == 1) { 140 pgsize = mtd->writesize;
|
H A D | stresstest.c | 151 if (mtd->writesize == 1) { 156 pgsize = mtd->writesize;
|
H A D | subpagetest.c | 297 subpgsize = mtd->writesize >> mtd->subpage_sft; 301 pgcnt = mtd->erasesize / mtd->writesize; 307 mtd->writesize, subpgsize, ebcnt, pgcnt, mtd->oobsize);
|
/linux-master/include/linux/mtd/ |
H A D | mtd.h | 251 * it is of ECC block size, etc. It is illegal to have writesize = 0. 252 * Any driver registering a struct mtd_info must ensure a writesize of 255 uint32_t writesize; member in struct:mtd_info 259 * buffer can write multiple writesize chunks at a time. E.g. while 260 * writing 4 * writesize bytes to a device with 2 * writesize bytes 261 * buffer the MTD driver can (but doesn't have to) do 2 writesize 263 * equivalent to writesize (NAND page size). Some NOR flashes do have 264 * writebufsize greater than writesize. 273 * erasesize_shift otherwise erasesize_shift is zero. Ditto writesize [all...] |
H A D | onenand.h | 51 * @writesize: [INTERN] a real page size 99 unsigned int writesize; member in struct:onenand_chip
|
/linux-master/drivers/mtd/ |
H A D | mtdswap.c | 388 offset = mtdswap_eb_offset(d, eb) + d->mtd->writesize; 885 ops.len = mtd->writesize; 891 mtd_pages = d->pages_per_eblk * PAGE_SIZE / mtd->writesize; 897 memset(d->page_buf, patt, mtd->writesize); 903 pos += mtd->writesize; 913 for (j = 0; j < mtd->writesize/sizeof(int); j++) 921 pos += mtd->writesize; 1364 if (PAGE_SIZE % mtd->writesize || mtd->writesize > PAGE_SIZE) { 1366 " %u\n", MTDSWAP_PREFIX, PAGE_SIZE, mtd->writesize); [all...] |
H A D | mtdconcat.c | 200 if (mtd->writesize > 1) { 202 if (do_div(__to, mtd->writesize) || (total_len % mtd->writesize)) 673 concat->mtd.writesize = subdev[0]->writesize; 735 if (concat->mtd.writesize != subdev[i]->writesize ||
|
/linux-master/drivers/mtd/lpddr/ |
H A D | lpddr2_nvm.c | 335 if (!(IS_ALIGNED(add, mtd->writesize))) { /* do sw program */ 351 (u_long) mtd->writesize); 398 .writesize = 1,
|