Home
last modified time | relevance | path

Searched refs:fsl_ifc_ctrl_dev (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/memory/
H A Dfsl_ifc.c26 EXPORT_SYMBOL(fsl_ifc_ctrl_dev);
51 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) in fsl_ifc_find()
212 fsl_ifc_ctrl_dev = devm_kzalloc(&dev->dev, sizeof(*fsl_ifc_ctrl_dev), in fsl_ifc_ctrl_probe()
214 if (!fsl_ifc_ctrl_dev) in fsl_ifc_ctrl_probe()
221 if (!fsl_ifc_ctrl_dev->gregs) { in fsl_ifc_ctrl_probe()
244 addr = fsl_ifc_ctrl_dev->gregs; in fsl_ifc_ctrl_probe()
249 fsl_ifc_ctrl_dev->rregs = addr; in fsl_ifc_ctrl_probe()
260 fsl_ifc_ctrl_dev->nand_irq = in fsl_ifc_ctrl_probe()
275 fsl_ifc_ctrl_dev->irq); in fsl_ifc_ctrl_probe()
297 free_irq(fsl_ifc_ctrl_dev->nand_irq, fsl_ifc_ctrl_dev); in fsl_ifc_ctrl_probe()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dfsl_ifc_nand.c992 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->rregs) in fsl_ifc_nand_probe()
994 ifc = fsl_ifc_ctrl_dev->rregs; in fsl_ifc_nand_probe()
1004 for (bank = 0; bank < fsl_ifc_ctrl_dev->banks; bank++) { in fsl_ifc_nand_probe()
1005 if (match_bank(fsl_ifc_ctrl_dev->gregs, bank, res.start)) in fsl_ifc_nand_probe()
1009 if (bank >= fsl_ifc_ctrl_dev->banks) { in fsl_ifc_nand_probe()
1020 if (!fsl_ifc_ctrl_dev->nand) { in fsl_ifc_nand_probe()
1030 fsl_ifc_ctrl_dev->nand = ifc_nand_ctrl; in fsl_ifc_nand_probe()
1034 ifc_nand_ctrl = fsl_ifc_ctrl_dev->nand; in fsl_ifc_nand_probe()
1040 priv->ctrl = fsl_ifc_ctrl_dev; in fsl_ifc_nand_probe()
1113 fsl_ifc_ctrl_dev->nand = NULL; in fsl_ifc_nand_remove()
/openbmc/linux/include/linux/
H A Dfsl_ifc.h851 extern struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev;
857 if (fsl_ifc_ctrl_dev->little_endian) in ifc_in32()
869 if (fsl_ifc_ctrl_dev->little_endian) in ifc_in16()
884 if (fsl_ifc_ctrl_dev->little_endian) in ifc_out32()
892 if (fsl_ifc_ctrl_dev->little_endian) in ifc_out16()