Home
last modified time | relevance | path

Searched refs:nand_np (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dmxic_nand.c488 struct device_node *nand_np, *np = pdev->dev.of_node; in mxic_nfc_probe() local
520 for_each_child_of_node(np, nand_np) in mxic_nfc_probe()
521 nand_set_flash_node(nand_chip, nand_np); in mxic_nfc_probe()
H A Dpl35x-nand-controller.c1114 struct device_node *np = nfc->dev->of_node, *nand_np; in pl35x_nand_chips_init() local
1124 for_each_child_of_node(np, nand_np) { in pl35x_nand_chips_init()
1125 ret = pl35x_nand_chip_init(nfc, nand_np); in pl35x_nand_chips_init()
1127 of_node_put(nand_np); in pl35x_nand_chips_init()
H A Darasan-nand-controller.c1363 struct device_node *np = nfc->dev->of_node, *nand_np; in anfc_chips_init() local
1373 for_each_child_of_node(np, nand_np) { in anfc_chips_init()
1374 ret = anfc_chip_init(nfc, nand_np); in anfc_chips_init()
1376 of_node_put(nand_np); in anfc_chips_init()
H A Drockchip-nand-controller.c1214 struct device_node *np = dev->of_node, *nand_np; in rk_nfc_nand_chips_init() local
1224 for_each_child_of_node(np, nand_np) { in rk_nfc_nand_chips_init()
1225 ret = rk_nfc_nand_chip_init(dev, nfc, nand_np); in rk_nfc_nand_chips_init()
1227 of_node_put(nand_np); in rk_nfc_nand_chips_init()
H A Dmeson_nand.c1464 struct device_node *nand_np; in meson_nfc_nand_chips_init() local
1467 for_each_child_of_node(np, nand_np) { in meson_nfc_nand_chips_init()
1468 ret = meson_nfc_nand_chip_init(dev, nfc, nand_np); in meson_nfc_nand_chips_init()
1471 of_node_put(nand_np); in meson_nfc_nand_chips_init()
H A Dmtk_nand.c1435 struct device_node *nand_np; in mtk_nfc_nand_chips_init() local
1438 for_each_child_of_node(np, nand_np) { in mtk_nfc_nand_chips_init()
1439 ret = mtk_nfc_nand_chip_init(dev, nfc, nand_np); in mtk_nfc_nand_chips_init()
1441 of_node_put(nand_np); in mtk_nfc_nand_chips_init()
H A Dsunxi_nand.c2028 struct device_node *nand_np; in sunxi_nand_chips_init() local
2031 for_each_child_of_node(np, nand_np) { in sunxi_nand_chips_init()
2032 ret = sunxi_nand_chip_init(dev, nfc, nand_np); in sunxi_nand_chips_init()
2034 of_node_put(nand_np); in sunxi_nand_chips_init()
H A Dcadence-nand-controller.c2842 struct device_node *nand_np; in cadence_nand_chips_init() local
2855 for_each_child_of_node(np, nand_np) { in cadence_nand_chips_init()
2856 ret = cadence_nand_chip_init(cdns_ctrl, nand_np); in cadence_nand_chips_init()
2858 of_node_put(nand_np); in cadence_nand_chips_init()
H A Dmarvell_nand.c2774 struct device_node *nand_np; in marvell_nand_chips_init() local
2801 for_each_child_of_node(np, nand_np) { in marvell_nand_chips_init()
2802 ret = marvell_nand_chip_init(dev, nfc, nand_np); in marvell_nand_chips_init()
2804 of_node_put(nand_np); in marvell_nand_chips_init()
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1851 struct device_node *np, *nand_np; in atmel_nand_controller_add_nands() local
1878 for_each_child_of_node(np, nand_np) { in atmel_nand_controller_add_nands()
1881 nand = atmel_nand_create(nc, nand_np, reg_cells); in atmel_nand_controller_add_nands()
2145 struct device_node *nand_np, *nfc_np; in atmel_hsmc_nand_controller_legacy_init() local
2150 nand_np = dev->of_node; in atmel_hsmc_nand_controller_legacy_init()
2172 nc->irq = of_irq_get(nand_np, 0); in atmel_hsmc_nand_controller_legacy_init()