Lines Matching refs:tweak
529 struct nand_page_io_req *orig, *tweak;
536 tweak = req;
541 tweak->dataoffs = 0;
542 tweak->datalen = nanddev_page_size(nand);
543 tweak->databuf.in = ctx->spare_databuf;
544 memset(tweak->databuf.in, 0xFF, ctx->page_buffer_size);
549 tweak->ooboffs = 0;
550 tweak->ooblen = nanddev_per_page_oobsize(nand);
551 tweak->oobbuf.in = ctx->spare_oobbuf;
552 memset(tweak->oobbuf.in, 0xFF, ctx->oob_buffer_size);
558 memcpy((void *)tweak->databuf.out + orig->dataoffs,
562 memcpy((void *)tweak->oobbuf.out + orig->ooboffs,
571 struct nand_page_io_req *orig, *tweak;
574 tweak = req;
580 tweak->databuf.in + orig->dataoffs,
585 tweak->oobbuf.in + orig->ooboffs,