Searched refs:tchip (Results 1 – 1 of 1) sorted by relevance
121 struct tango_chip *tchip = to_tango_chip(mtd_to_nand(mtd)); in tango_cmd_ctrl() local124 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() local142 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() local149 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() local156 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 …]