Home
last modified time | relevance | path

Searched refs:nce (Results 1 – 2 of 2) sorted by relevance

/drivers/mtd/nand/raw/
Dgpio.c36 struct gpio_desc *nce; /* Optional chip enable */ member
149 gpiod_set_value(gpiomtd->nce, 0); in gpio_nand_exec_op()
159 gpiod_set_value(gpiomtd->nce, 1); in gpio_nand_exec_op()
281 if (gpiomtd->nce && !IS_ERR(gpiomtd->nce)) in gpio_nand_remove()
282 gpiod_set_value(gpiomtd->nce, 0); in gpio_nand_remove()
322 gpiomtd->nce = devm_gpiod_get_optional(dev, "nce", GPIOD_OUT_HIGH); in gpio_nand_probe()
323 if (IS_ERR(gpiomtd->nce)) in gpio_nand_probe()
324 return PTR_ERR(gpiomtd->nce); in gpio_nand_probe()
390 if (gpiomtd->nce && !IS_ERR(gpiomtd->nce)) in gpio_nand_probe()
391 gpiod_set_value(gpiomtd->nce, 0); in gpio_nand_probe()
/drivers/mtd/spi-nor/controllers/
Daspeed-smc.c36 u8 nce; /* number of chip enables */ member
49 .nce = 5,
58 .nce = 1,
67 .nce = 3,
76 .nce = 2,
407 for (n = 0; n < controller->info->nce; n++) { in aspeed_smc_unregister()
444 if (controller->info->nce > 1) { in aspeed_smc_chip_base()
584 if (chip->cs < controller->info->nce - 1) in aspeed_smc_chip_set_segment()
788 if (cs >= info->nce) { in aspeed_smc_setup_flash()
868 struct_size(controller, chips, info->nce), in aspeed_smc_probe()