Searched refs:cs553x (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | cs553x_nand.c | 103 static int cs553x_write_ctrl_byte(struct cs553x_nand_controller *cs553x, in cs553x_write_ctrl_byte() argument 108 writeb(ctl, cs553x->mmio + MM_NAND_CTL); in cs553x_write_ctrl_byte() 109 writeb(data, cs553x->mmio + MM_NAND_IO); in cs553x_write_ctrl_byte() 110 return readb_poll_timeout_atomic(cs553x->mmio + MM_NAND_STS, status, in cs553x_write_ctrl_byte() 115 static void cs553x_data_in(struct cs553x_nand_controller *cs553x, void *buf, in cs553x_data_in() argument 118 writeb(0, cs553x->mmio + MM_NAND_CTL); in cs553x_data_in() 120 memcpy_fromio(buf, cs553x->mmio, 0x800); in cs553x_data_in() 124 memcpy_fromio(buf, cs553x->mmio, len); in cs553x_data_in() 127 static void cs553x_data_out(struct cs553x_nand_controller *cs553x, in cs553x_data_out() argument 130 writeb(0, cs553x->mmio + MM_NAND_CTL); in cs553x_data_out() [all …]
|