Home
last modified time | relevance | path

Searched refs:nwp (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dgpio.c40 struct gpio_desc *nwp; /* Optional write protection */ member
279 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_remove()
280 gpiod_set_value(gpiomtd->nwp, 0); in gpio_nand_remove()
327 gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); in gpio_nand_probe()
328 if (IS_ERR(gpiomtd->nwp)) { in gpio_nand_probe()
329 ret = PTR_ERR(gpiomtd->nwp); in gpio_nand_probe()
364 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dgpio.c40 struct gpio_desc *nwp; /* Optional write protection */ member
279 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_remove()
280 gpiod_set_value(gpiomtd->nwp, 0); in gpio_nand_remove()
324 gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); in gpio_nand_probe()
325 if (IS_ERR(gpiomtd->nwp)) { in gpio_nand_probe()
326 ret = PTR_ERR(gpiomtd->nwp); in gpio_nand_probe()
361 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()
[all...]

Completed in 2 milliseconds