fsl_ifc_ctrl_dev 25 drivers/memory/fsl_ifc.c struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev; fsl_ifc_ctrl_dev 26 drivers/memory/fsl_ifc.c EXPORT_SYMBOL(fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 51 drivers/memory/fsl_ifc.c if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) fsl_ifc_ctrl_dev 54 drivers/memory/fsl_ifc.c for (i = 0; i < fsl_ifc_ctrl_dev->banks; i++) { fsl_ifc_ctrl_dev 55 drivers/memory/fsl_ifc.c u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); fsl_ifc_ctrl_dev 211 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev = kzalloc(sizeof(*fsl_ifc_ctrl_dev), GFP_KERNEL); fsl_ifc_ctrl_dev 212 drivers/memory/fsl_ifc.c if (!fsl_ifc_ctrl_dev) fsl_ifc_ctrl_dev 215 drivers/memory/fsl_ifc.c dev_set_drvdata(&dev->dev, fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 218 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->gregs = of_iomap(dev->dev.of_node, 0); fsl_ifc_ctrl_dev 219 drivers/memory/fsl_ifc.c if (!fsl_ifc_ctrl_dev->gregs) { fsl_ifc_ctrl_dev 226 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->little_endian = true; fsl_ifc_ctrl_dev 229 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->little_endian = false; fsl_ifc_ctrl_dev 233 drivers/memory/fsl_ifc.c version = ifc_in32(&fsl_ifc_ctrl_dev->gregs->ifc_rev) & fsl_ifc_ctrl_dev 240 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->version = version; fsl_ifc_ctrl_dev 241 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->banks = banks; fsl_ifc_ctrl_dev 243 drivers/memory/fsl_ifc.c addr = fsl_ifc_ctrl_dev->gregs; fsl_ifc_ctrl_dev 248 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->rregs = addr; fsl_ifc_ctrl_dev 251 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->irq = irq_of_parse_and_map(dev->dev.of_node, 0); fsl_ifc_ctrl_dev 252 drivers/memory/fsl_ifc.c if (fsl_ifc_ctrl_dev->irq == 0) { fsl_ifc_ctrl_dev 260 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->nand_irq = fsl_ifc_ctrl_dev 263 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->dev = &dev->dev; fsl_ifc_ctrl_dev 265 drivers/memory/fsl_ifc.c ret = fsl_ifc_ctrl_init(fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 269 drivers/memory/fsl_ifc.c init_waitqueue_head(&fsl_ifc_ctrl_dev->nand_wait); fsl_ifc_ctrl_dev 271 drivers/memory/fsl_ifc.c ret = request_irq(fsl_ifc_ctrl_dev->irq, fsl_ifc_ctrl_irq, IRQF_SHARED, fsl_ifc_ctrl_dev 272 drivers/memory/fsl_ifc.c "fsl-ifc", fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 275 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->irq); fsl_ifc_ctrl_dev 279 drivers/memory/fsl_ifc.c if (fsl_ifc_ctrl_dev->nand_irq) { fsl_ifc_ctrl_dev 280 drivers/memory/fsl_ifc.c ret = request_irq(fsl_ifc_ctrl_dev->nand_irq, fsl_ifc_nand_irq, fsl_ifc_ctrl_dev 281 drivers/memory/fsl_ifc.c 0, "fsl-ifc-nand", fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 284 drivers/memory/fsl_ifc.c fsl_ifc_ctrl_dev->nand_irq); fsl_ifc_ctrl_dev 292 drivers/memory/fsl_ifc.c free_irq(fsl_ifc_ctrl_dev->nand_irq, fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 293 drivers/memory/fsl_ifc.c irq_dispose_mapping(fsl_ifc_ctrl_dev->nand_irq); fsl_ifc_ctrl_dev 295 drivers/memory/fsl_ifc.c free_irq(fsl_ifc_ctrl_dev->irq, fsl_ifc_ctrl_dev); fsl_ifc_ctrl_dev 296 drivers/memory/fsl_ifc.c irq_dispose_mapping(fsl_ifc_ctrl_dev->irq); fsl_ifc_ctrl_dev 987 drivers/mtd/nand/raw/fsl_ifc_nand.c if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->rregs) fsl_ifc_ctrl_dev 989 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc = fsl_ifc_ctrl_dev->rregs; fsl_ifc_ctrl_dev 999 drivers/mtd/nand/raw/fsl_ifc_nand.c for (bank = 0; bank < fsl_ifc_ctrl_dev->banks; bank++) { fsl_ifc_ctrl_dev 1000 drivers/mtd/nand/raw/fsl_ifc_nand.c if (match_bank(fsl_ifc_ctrl_dev->gregs, bank, res.start)) fsl_ifc_ctrl_dev 1004 drivers/mtd/nand/raw/fsl_ifc_nand.c if (bank >= fsl_ifc_ctrl_dev->banks) { fsl_ifc_ctrl_dev 1015 drivers/mtd/nand/raw/fsl_ifc_nand.c if (!fsl_ifc_ctrl_dev->nand) { fsl_ifc_ctrl_dev 1025 drivers/mtd/nand/raw/fsl_ifc_nand.c fsl_ifc_ctrl_dev->nand = ifc_nand_ctrl; fsl_ifc_ctrl_dev 1029 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl = fsl_ifc_ctrl_dev->nand; fsl_ifc_ctrl_dev 1035 drivers/mtd/nand/raw/fsl_ifc_nand.c priv->ctrl = fsl_ifc_ctrl_dev; fsl_ifc_ctrl_dev 1103 drivers/mtd/nand/raw/fsl_ifc_nand.c fsl_ifc_ctrl_dev->nand = NULL; fsl_ifc_ctrl_dev 851 include/linux/fsl_ifc.h extern struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev; fsl_ifc_ctrl_dev 857 include/linux/fsl_ifc.h if (fsl_ifc_ctrl_dev->little_endian) fsl_ifc_ctrl_dev 869 include/linux/fsl_ifc.h if (fsl_ifc_ctrl_dev->little_endian) fsl_ifc_ctrl_dev 884 include/linux/fsl_ifc.h if (fsl_ifc_ctrl_dev->little_endian) fsl_ifc_ctrl_dev 892 include/linux/fsl_ifc.h if (fsl_ifc_ctrl_dev->little_endian)