nwp 37 drivers/mtd/nand/raw/gpio.c struct gpio_desc *nwp; /* Optional write protection */ nwp 197 drivers/mtd/nand/raw/gpio.c if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) nwp 198 drivers/mtd/nand/raw/gpio.c gpiod_set_value(gpiomtd->nwp, 0); nwp 245 drivers/mtd/nand/raw/gpio.c gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); nwp 246 drivers/mtd/nand/raw/gpio.c if (IS_ERR(gpiomtd->nwp)) { nwp 247 drivers/mtd/nand/raw/gpio.c ret = PTR_ERR(gpiomtd->nwp); nwp 286 drivers/mtd/nand/raw/gpio.c if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) nwp 287 drivers/mtd/nand/raw/gpio.c gpiod_direction_output(gpiomtd->nwp, 1); nwp 302 drivers/mtd/nand/raw/gpio.c if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) nwp 303 drivers/mtd/nand/raw/gpio.c gpiod_set_value(gpiomtd->nwp, 0);