/* The TMIO controller converts an 8-bit NAND interface to a 16-bit bus interface, so all data reads and writes must be 16-bit wide. Thus, we implement 16-bit versions of the read, write, and verify buffer functions.  */
static void tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len)
/* The TMIO controller converts an 8-bit NAND interface to a 16-bit bus interface, so all data reads and writes must be 16-bit wide. Thus, we implement 16-bit versions of the read, write, and verify buffer functions.  */
static void tmio_nand_write_buf(struct mtd_info *mtd, const u_char *buf, int len)
{
	struct tmio_nand *tmio = mtd_to_tmio(mtd);
	tmio_iowrite16_rep(tmio->fcr + FCR_DATA, buf, len >> 1);
}