sharpsl 61 drivers/mtd/nand/raw/sharpsl.c struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); sharpsl 70 drivers/mtd/nand/raw/sharpsl.c writeb((readb(sharpsl->io + FLASHCTL) & ~0x17) | bits, sharpsl->io + FLASHCTL); sharpsl 79 drivers/mtd/nand/raw/sharpsl.c struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); sharpsl 80 drivers/mtd/nand/raw/sharpsl.c return !((readb(sharpsl->io + FLASHCTL) & FLRYBY) == 0); sharpsl 85 drivers/mtd/nand/raw/sharpsl.c struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); sharpsl 86 drivers/mtd/nand/raw/sharpsl.c writeb(0, sharpsl->io + ECCCLRR); sharpsl 92 drivers/mtd/nand/raw/sharpsl.c struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); sharpsl 93 drivers/mtd/nand/raw/sharpsl.c ecc_code[0] = ~readb(sharpsl->io + ECCLPUB); sharpsl 94 drivers/mtd/nand/raw/sharpsl.c ecc_code[1] = ~readb(sharpsl->io + ECCLPLB); sharpsl 95 drivers/mtd/nand/raw/sharpsl.c ecc_code[2] = (~readb(sharpsl->io + ECCCP) << 2) | 0x03; sharpsl 96 drivers/mtd/nand/raw/sharpsl.c return readb(sharpsl->io + ECCCNTR) != 0; sharpsl 108 drivers/mtd/nand/raw/sharpsl.c struct sharpsl_nand *sharpsl; sharpsl 117 drivers/mtd/nand/raw/sharpsl.c sharpsl = kzalloc(sizeof(struct sharpsl_nand), GFP_KERNEL); sharpsl 118 drivers/mtd/nand/raw/sharpsl.c if (!sharpsl) sharpsl 129 drivers/mtd/nand/raw/sharpsl.c sharpsl->io = ioremap(r->start, resource_size(r)); sharpsl 130 drivers/mtd/nand/raw/sharpsl.c if (!sharpsl->io) { sharpsl 137 drivers/mtd/nand/raw/sharpsl.c this = (struct nand_chip *)(&sharpsl->chip); sharpsl 144 drivers/mtd/nand/raw/sharpsl.c platform_set_drvdata(pdev, sharpsl); sharpsl 149 drivers/mtd/nand/raw/sharpsl.c writeb(readb(sharpsl->io + FLASHCTL) | FLWP, sharpsl->io + FLASHCTL); sharpsl 152 drivers/mtd/nand/raw/sharpsl.c this->legacy.IO_ADDR_R = sharpsl->io + FLASHIO; sharpsl 153 drivers/mtd/nand/raw/sharpsl.c this->legacy.IO_ADDR_W = sharpsl->io + FLASHIO; sharpsl 189 drivers/mtd/nand/raw/sharpsl.c iounmap(sharpsl->io); sharpsl 192 drivers/mtd/nand/raw/sharpsl.c kfree(sharpsl); sharpsl 201 drivers/mtd/nand/raw/sharpsl.c struct sharpsl_nand *sharpsl = platform_get_drvdata(pdev); sharpsl 204 drivers/mtd/nand/raw/sharpsl.c nand_release(&sharpsl->chip); sharpsl 206 drivers/mtd/nand/raw/sharpsl.c iounmap(sharpsl->io); sharpsl 209 drivers/mtd/nand/raw/sharpsl.c kfree(sharpsl);