Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
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()
326 gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); in gpio_nand_probe()
327 if (IS_ERR(gpiomtd->nwp)) { in gpio_nand_probe()
328 ret = PTR_ERR(gpiomtd->nwp); in gpio_nand_probe()
363 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()
364 gpiod_direction_output(gpiomtd->nwp, 1); in gpio_nand_probe()
386 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()
387 gpiod_set_value(gpiomtd->nwp, 0); in gpio_nand_probe()
/linux/arch/mips/boot/dts/ni/
A D169445.dts71 <&gpio1 4 0>; /* nwp */

Completed in 6 milliseconds