tchip 118 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip = to_tango_chip(chip); tchip 121 drivers/mtd/nand/raw/tango_nand.c writeb_relaxed(dat, tchip->base + PBUS_CMD); tchip 124 drivers/mtd/nand/raw/tango_nand.c writeb_relaxed(dat, tchip->base + PBUS_ADDR); tchip 136 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip = to_tango_chip(chip); tchip 138 drivers/mtd/nand/raw/tango_nand.c return readb_relaxed(tchip->base + PBUS_DATA); tchip 143 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip = to_tango_chip(chip); tchip 145 drivers/mtd/nand/raw/tango_nand.c ioread8_rep(tchip->base + PBUS_DATA, buf, len); tchip 150 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip = to_tango_chip(chip); tchip 152 drivers/mtd/nand/raw/tango_nand.c iowrite8_rep(tchip->base + PBUS_DATA, buf, len); tchip 158 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip = to_tango_chip(chip); tchip 163 drivers/mtd/nand/raw/tango_nand.c writel_relaxed(tchip->timing1, nfc->reg_base + NFC_TIMING1); tchip 164 drivers/mtd/nand/raw/tango_nand.c writel_relaxed(tchip->timing2, nfc->reg_base + NFC_TIMING2); tchip 165 drivers/mtd/nand/raw/tango_nand.c writel_relaxed(tchip->xfer_cfg, nfc->reg_base + NFC_XFER_CFG); tchip 166 drivers/mtd/nand/raw/tango_nand.c writel_relaxed(tchip->pkt_0_cfg, nfc->reg_base + NFC_PKT_0_CFG); tchip 167 drivers/mtd/nand/raw/tango_nand.c writel_relaxed(tchip->pkt_n_cfg, nfc->reg_base + NFC_PKT_N_CFG); tchip 168 drivers/mtd/nand/raw/tango_nand.c writel_relaxed(tchip->bb_cfg, nfc->reg_base + NFC_BB_CFG); tchip 484 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip = to_tango_chip(chip); tchip 504 drivers/mtd/nand/raw/tango_nand.c tchip->timing1 = TIMING(Trdy, Textw, Twc, Twpw); tchip 505 drivers/mtd/nand/raw/tango_nand.c tchip->timing2 = TIMING(Tacc, Thold, Trpw, Textr); tchip 539 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *tchip; tchip 543 drivers/mtd/nand/raw/tango_nand.c tchip = devm_kzalloc(dev, sizeof(*tchip), GFP_KERNEL); tchip 544 drivers/mtd/nand/raw/tango_nand.c if (!tchip) tchip 561 drivers/mtd/nand/raw/tango_nand.c chip = &tchip->nand_chip; tchip 575 drivers/mtd/nand/raw/tango_nand.c tchip->base = nfc->pbus_base + (cs * 256); tchip 585 drivers/mtd/nand/raw/tango_nand.c tchip->xfer_cfg = XFER_CFG(cs, 1, ecc->steps, METADATA_SIZE); tchip 586 drivers/mtd/nand/raw/tango_nand.c tchip->pkt_0_cfg = PKT_CFG(ecc->size + METADATA_SIZE, ecc->strength); tchip 587 drivers/mtd/nand/raw/tango_nand.c tchip->pkt_n_cfg = PKT_CFG(ecc->size, ecc->strength); tchip 588 drivers/mtd/nand/raw/tango_nand.c tchip->bb_cfg = BB_CFG(mtd->writesize, BBM_SIZE); tchip 596 drivers/mtd/nand/raw/tango_nand.c nfc->chips[cs] = tchip;