Lines Matching refs:sets
1028 struct s3c2410_nand_set *sets; in s3c24xx_nand_probe_dt() local
1046 sets = devm_kcalloc(&pdev->dev, pdata->nr_sets, sizeof(*sets), in s3c24xx_nand_probe_dt()
1048 if (!sets) in s3c24xx_nand_probe_dt()
1051 pdata->sets = sets; in s3c24xx_nand_probe_dt()
1054 sets->name = (char *)child->name; in s3c24xx_nand_probe_dt()
1055 sets->of_node = child; in s3c24xx_nand_probe_dt()
1056 sets->nr_chips = 1; in s3c24xx_nand_probe_dt()
1060 sets++; in s3c24xx_nand_probe_dt()
1087 struct s3c2410_nand_set *sets; in s3c24xx_nand_probe() local
1143 if (!plat->sets || plat->nr_sets < 1) { in s3c24xx_nand_probe()
1148 sets = plat->sets; in s3c24xx_nand_probe()
1166 for (setno = 0; setno < nr_sets; setno++, nmtd++, sets++) { in s3c24xx_nand_probe()
1173 s3c2410_nand_init_chip(info, nmtd, sets); in s3c24xx_nand_probe()
1175 err = nand_scan(&nmtd->chip, sets ? sets->nr_chips : 1); in s3c24xx_nand_probe()
1179 s3c2410_nand_add_partition(info, nmtd, sets); in s3c24xx_nand_probe()