fsl_lbc_ctrl_dev 294 arch/powerpc/include/asm/fsl_lbc.h extern struct fsl_lbc_ctrl *fsl_lbc_ctrl_dev; fsl_lbc_ctrl_dev 31 arch/powerpc/sysdev/fsl_lbc.c struct fsl_lbc_ctrl *fsl_lbc_ctrl_dev; fsl_lbc_ctrl_dev 32 arch/powerpc/sysdev/fsl_lbc.c EXPORT_SYMBOL(fsl_lbc_ctrl_dev); fsl_lbc_ctrl_dev 45 arch/powerpc/sysdev/fsl_lbc.c struct device_node *np = fsl_lbc_ctrl_dev->dev->of_node; fsl_lbc_ctrl_dev 69 arch/powerpc/sysdev/fsl_lbc.c if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) fsl_lbc_ctrl_dev 72 arch/powerpc/sysdev/fsl_lbc.c lbc = fsl_lbc_ctrl_dev->regs; fsl_lbc_ctrl_dev 104 arch/powerpc/sysdev/fsl_lbc.c if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) fsl_lbc_ctrl_dev 107 arch/powerpc/sysdev/fsl_lbc.c lbc = fsl_lbc_ctrl_dev->regs; fsl_lbc_ctrl_dev 157 arch/powerpc/sysdev/fsl_lbc.c if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) fsl_lbc_ctrl_dev 162 arch/powerpc/sysdev/fsl_lbc.c out_be32(&fsl_lbc_ctrl_dev->regs->mar, mar); fsl_lbc_ctrl_dev 285 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev = kzalloc(sizeof(*fsl_lbc_ctrl_dev), GFP_KERNEL); fsl_lbc_ctrl_dev 286 arch/powerpc/sysdev/fsl_lbc.c if (!fsl_lbc_ctrl_dev) fsl_lbc_ctrl_dev 289 arch/powerpc/sysdev/fsl_lbc.c dev_set_drvdata(&dev->dev, fsl_lbc_ctrl_dev); fsl_lbc_ctrl_dev 291 arch/powerpc/sysdev/fsl_lbc.c spin_lock_init(&fsl_lbc_ctrl_dev->lock); fsl_lbc_ctrl_dev 292 arch/powerpc/sysdev/fsl_lbc.c init_waitqueue_head(&fsl_lbc_ctrl_dev->irq_wait); fsl_lbc_ctrl_dev 294 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev->regs = of_iomap(dev->dev.of_node, 0); fsl_lbc_ctrl_dev 295 arch/powerpc/sysdev/fsl_lbc.c if (!fsl_lbc_ctrl_dev->regs) { fsl_lbc_ctrl_dev 301 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev->irq[0] = irq_of_parse_and_map(dev->dev.of_node, 0); fsl_lbc_ctrl_dev 302 arch/powerpc/sysdev/fsl_lbc.c if (!fsl_lbc_ctrl_dev->irq[0]) { fsl_lbc_ctrl_dev 308 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev->dev = &dev->dev; fsl_lbc_ctrl_dev 310 arch/powerpc/sysdev/fsl_lbc.c ret = fsl_lbc_ctrl_init(fsl_lbc_ctrl_dev, dev->dev.of_node); fsl_lbc_ctrl_dev 314 arch/powerpc/sysdev/fsl_lbc.c ret = request_irq(fsl_lbc_ctrl_dev->irq[0], fsl_lbc_ctrl_irq, 0, fsl_lbc_ctrl_dev 315 arch/powerpc/sysdev/fsl_lbc.c "fsl-lbc", fsl_lbc_ctrl_dev); fsl_lbc_ctrl_dev 318 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev->irq[0]); fsl_lbc_ctrl_dev 319 arch/powerpc/sysdev/fsl_lbc.c ret = fsl_lbc_ctrl_dev->irq[0]; fsl_lbc_ctrl_dev 323 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev->irq[1] = irq_of_parse_and_map(dev->dev.of_node, 1); fsl_lbc_ctrl_dev 324 arch/powerpc/sysdev/fsl_lbc.c if (fsl_lbc_ctrl_dev->irq[1]) { fsl_lbc_ctrl_dev 325 arch/powerpc/sysdev/fsl_lbc.c ret = request_irq(fsl_lbc_ctrl_dev->irq[1], fsl_lbc_ctrl_irq, fsl_lbc_ctrl_dev 326 arch/powerpc/sysdev/fsl_lbc.c IRQF_SHARED, "fsl-lbc-err", fsl_lbc_ctrl_dev); fsl_lbc_ctrl_dev 329 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev->irq[1]); fsl_lbc_ctrl_dev 330 arch/powerpc/sysdev/fsl_lbc.c ret = fsl_lbc_ctrl_dev->irq[1]; fsl_lbc_ctrl_dev 336 arch/powerpc/sysdev/fsl_lbc.c out_be32(&fsl_lbc_ctrl_dev->regs->lteir, LTEIR_ENABLE); fsl_lbc_ctrl_dev 341 arch/powerpc/sysdev/fsl_lbc.c free_irq(fsl_lbc_ctrl_dev->irq[0], fsl_lbc_ctrl_dev); fsl_lbc_ctrl_dev 343 arch/powerpc/sysdev/fsl_lbc.c iounmap(fsl_lbc_ctrl_dev->regs); fsl_lbc_ctrl_dev 344 arch/powerpc/sysdev/fsl_lbc.c kfree(fsl_lbc_ctrl_dev); fsl_lbc_ctrl_dev 345 arch/powerpc/sysdev/fsl_lbc.c fsl_lbc_ctrl_dev = NULL; fsl_lbc_ctrl_dev 357 arch/powerpc/sysdev/fsl_lbc.c ctrl = fsl_lbc_ctrl_dev; fsl_lbc_ctrl_dev 381 arch/powerpc/sysdev/fsl_lbc.c ctrl = fsl_lbc_ctrl_dev; fsl_lbc_ctrl_dev 861 drivers/mtd/nand/raw/fsl_elbc_nand.c if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) fsl_lbc_ctrl_dev 863 drivers/mtd/nand/raw/fsl_elbc_nand.c lbc = fsl_lbc_ctrl_dev->regs; fsl_lbc_ctrl_dev 864 drivers/mtd/nand/raw/fsl_elbc_nand.c dev = fsl_lbc_ctrl_dev->dev; fsl_lbc_ctrl_dev 892 drivers/mtd/nand/raw/fsl_elbc_nand.c if (!fsl_lbc_ctrl_dev->nand) { fsl_lbc_ctrl_dev 902 drivers/mtd/nand/raw/fsl_elbc_nand.c fsl_lbc_ctrl_dev->nand = elbc_fcm_ctrl; fsl_lbc_ctrl_dev 904 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl = fsl_lbc_ctrl_dev->nand; fsl_lbc_ctrl_dev 910 drivers/mtd/nand/raw/fsl_elbc_nand.c priv->ctrl = fsl_lbc_ctrl_dev; fsl_lbc_ctrl_dev 958 drivers/mtd/nand/raw/fsl_elbc_nand.c struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = fsl_lbc_ctrl_dev->nand; fsl_lbc_ctrl_dev 967 drivers/mtd/nand/raw/fsl_elbc_nand.c fsl_lbc_ctrl_dev->nand = NULL; fsl_lbc_ctrl_dev 323 drivers/uio/uio_fsl_elbc_gpcm.c if (!fsl_lbc_ctrl_dev || !fsl_lbc_ctrl_dev->regs) fsl_lbc_ctrl_dev 331 drivers/uio/uio_fsl_elbc_gpcm.c priv->lbc = fsl_lbc_ctrl_dev->regs;