Home
last modified time | relevance | path

Searched refs:tchip (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mtd/nand/raw/
Dtango_nand.c121 struct tango_chip *tchip = to_tango_chip(mtd_to_nand(mtd)); in tango_cmd_ctrl() local
124 writeb_relaxed(dat, tchip->base + PBUS_CMD); in tango_cmd_ctrl()
127 writeb_relaxed(dat, tchip->base + PBUS_ADDR); in tango_cmd_ctrl()
140 struct tango_chip *tchip = to_tango_chip(mtd_to_nand(mtd)); in tango_read_byte() local
142 return readb_relaxed(tchip->base + PBUS_DATA); in tango_read_byte()
147 struct tango_chip *tchip = to_tango_chip(mtd_to_nand(mtd)); in tango_read_buf() local
149 ioread8_rep(tchip->base + PBUS_DATA, buf, len); in tango_read_buf()
154 struct tango_chip *tchip = to_tango_chip(mtd_to_nand(mtd)); in tango_write_buf() local
156 iowrite8_rep(tchip->base + PBUS_DATA, buf, len); in tango_write_buf()
163 struct tango_chip *tchip = to_tango_chip(chip); in tango_select_chip() local
[all …]