Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
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()
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()
/linux-6.12.1/arch/mips/boot/dts/ni/
D169445.dts71 <&gpio1 4 0>; /* nwp */