Lines Matching defs:len
230 static void r852_write_buf(struct nand_chip *chip, const uint8_t *buf, int len)
240 if (len == R852_DMA_LEN && dev->dma_usable) {
246 while (len >= 4) {
250 len -= 4;
255 while (len > 0) {
257 len--;
264 static void r852_read_buf(struct nand_chip *chip, uint8_t *buf, int len)
272 memset(buf, 0, len);
277 if (len == R852_DMA_LEN && dev->dma_usable) {
283 while (len >= 4) {
290 len -= 4;
294 while (len--)