Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dtango_nand.c118 struct tango_chip *tchip = to_tango_chip(chip); in tango_cmd_ctrl() local
121 writeb_relaxed(dat, tchip->base + PBUS_CMD); in tango_cmd_ctrl()
124 writeb_relaxed(dat, tchip->base + PBUS_ADDR); in tango_cmd_ctrl()
136 struct tango_chip *tchip = to_tango_chip(chip); in tango_read_byte() local
138 return readb_relaxed(tchip->base + PBUS_DATA); in tango_read_byte()
143 struct tango_chip *tchip = to_tango_chip(chip); in tango_read_buf() local
145 ioread8_rep(tchip->base + PBUS_DATA, buf, len); in tango_read_buf()
150 struct tango_chip *tchip = to_tango_chip(chip); in tango_write_buf() local
152 iowrite8_rep(tchip->base + PBUS_DATA, buf, len); in tango_write_buf()
158 struct tango_chip *tchip = to_tango_chip(chip); in tango_select_chip() local
[all …]