Lines Matching defs:len
113 * @len: number of bytes to write
117 static void nand_write_buf(struct nand_chip *chip, const uint8_t *buf, int len)
119 iowrite8_rep(chip->legacy.IO_ADDR_W, buf, len);
126 * @len: number of bytes to read
130 static void nand_read_buf(struct nand_chip *chip, uint8_t *buf, int len)
132 ioread8_rep(chip->legacy.IO_ADDR_R, buf, len);
139 * @len: number of bytes to write
144 int len)
148 iowrite16_rep(chip->legacy.IO_ADDR_W, p, len >> 1);
155 * @len: number of bytes to read
159 static void nand_read_buf16(struct nand_chip *chip, uint8_t *buf, int len)
163 ioread16_rep(chip->legacy.IO_ADDR_R, p, len >> 1);