Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/memory/
Dfsl_ifc.c25 struct fsl_ifc_ctrl *fsl_ifc_ctrl_dev; variable
26 EXPORT_SYMBOL(fsl_ifc_ctrl_dev);
51 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->gregs) in fsl_ifc_find()
54 for (i = 0; i < fsl_ifc_ctrl_dev->banks; i++) { in fsl_ifc_find()
55 u32 cspr = ifc_in32(&fsl_ifc_ctrl_dev->gregs->cspr_cs[i].cspr); 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()
217 dev_set_drvdata(&dev->dev, fsl_ifc_ctrl_dev); in fsl_ifc_ctrl_probe()
220 fsl_ifc_ctrl_dev->gregs = of_iomap(dev->dev.of_node, 0); in fsl_ifc_ctrl_probe()
221 if (!fsl_ifc_ctrl_dev->gregs) { in fsl_ifc_ctrl_probe()
[all …]
/linux-6.1.9/drivers/mtd/nand/raw/
Dfsl_ifc_nand.c991 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->rregs) in fsl_ifc_nand_probe()
993 ifc = fsl_ifc_ctrl_dev->rregs; in fsl_ifc_nand_probe()
1003 for (bank = 0; bank < fsl_ifc_ctrl_dev->banks; bank++) { in fsl_ifc_nand_probe()
1004 if (match_bank(fsl_ifc_ctrl_dev->gregs, bank, res.start)) in fsl_ifc_nand_probe()
1008 if (bank >= fsl_ifc_ctrl_dev->banks) { in fsl_ifc_nand_probe()
1019 if (!fsl_ifc_ctrl_dev->nand) { in fsl_ifc_nand_probe()
1029 fsl_ifc_ctrl_dev->nand = ifc_nand_ctrl; in fsl_ifc_nand_probe()
1033 ifc_nand_ctrl = fsl_ifc_ctrl_dev->nand; in fsl_ifc_nand_probe()
1039 priv->ctrl = fsl_ifc_ctrl_dev; in fsl_ifc_nand_probe()
1112 fsl_ifc_ctrl_dev->nand = NULL; in fsl_ifc_nand_remove()
/linux-6.1.9/include/linux/
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()