Lines Matching defs:chunk
2380 * start of the next subop chunk).
2657 * Returns the length of the chunk of data to send/receive.
2815 * nand_check_erased_ecc_chunk - check if an ECC chunk contains (almost) only
2834 * report the number of errors per chunk, and the NAND core infrastructure
2836 * This is why you should always use this function on a single chunk and
2837 * not on the whole page. After checking each chunk you should update your
2842 * shouldn't consider the chunk as erased, and checking ECC bytes prevent
2847 * extra OOB data to an ECC chunk.
3744 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad;
3757 pos = eccsize + i * (eccsize + chunk);
3770 toread = min_t(int, length, chunk);
3811 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad;
3822 pos = steps * (eccsize + chunk);
3848 pos = eccsize + i * (eccsize + chunk);
3857 len = min_t(int, length, chunk);