Searched refs:nwp (Results 1 – 2 of 2) sorted by relevance
40 struct gpio_desc *nwp; /* Optional write protection */ member279 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()362 gpiod_direction_output(gpiomtd->nwp, 1); in gpio_nand_probe()384 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()385 gpiod_set_value(gpiomtd->nwp, 0); in gpio_nand_probe()
71 <&gpio1 4 0>; /* nwp */