Lines Matching refs:adjreq
244 struct nand_page_io_req adjreq = *req; in spinand_read_from_cache_op() local
251 adjreq.datalen = nanddev_page_size(nand); in spinand_read_from_cache_op()
252 adjreq.dataoffs = 0; in spinand_read_from_cache_op()
253 adjreq.databuf.in = spinand->databuf; in spinand_read_from_cache_op()
255 nbytes = adjreq.datalen; in spinand_read_from_cache_op()
259 adjreq.datalen = req->datalen; in spinand_read_from_cache_op()
260 adjreq.dataoffs = 0; in spinand_read_from_cache_op()
261 adjreq.databuf.in = req->databuf.in; in spinand_read_from_cache_op()
263 nbytes = adjreq.datalen; in spinand_read_from_cache_op()
267 adjreq.ooblen = nanddev_per_page_oobsize(nand); in spinand_read_from_cache_op()
268 adjreq.ooboffs = 0; in spinand_read_from_cache_op()
269 adjreq.oobbuf.in = spinand->oobbuf; in spinand_read_from_cache_op()
277 spinand_cache_op_adjust_colum(spinand, &adjreq, &column); in spinand_read_from_cache_op()
324 struct nand_page_io_req adjreq = *req; in spinand_write_to_cache_op() local
344 adjreq.dataoffs = 0; in spinand_write_to_cache_op()
345 adjreq.datalen = nanddev_page_size(nand); in spinand_write_to_cache_op()
346 adjreq.databuf.out = spinand->databuf; in spinand_write_to_cache_op()
347 nbytes = adjreq.datalen; in spinand_write_to_cache_op()
361 adjreq.ooblen = nanddev_per_page_oobsize(nand); in spinand_write_to_cache_op()
362 adjreq.ooboffs = 0; in spinand_write_to_cache_op()
370 spinand_cache_op_adjust_colum(spinand, &adjreq, &column); in spinand_write_to_cache_op()