Home
last modified time | relevance | path

Searched refs:chip_np (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/mtd/nand/raw/
Ddenali_dt.c83 struct device_node *chip_np) in denali_dt_chip_init() argument
89 nsels = of_property_count_u32_elems(chip_np, "reg"); in denali_dt_chip_init()
101 ret = of_property_read_u32_index(chip_np, "reg", i, &bank); in denali_dt_chip_init()
107 nand_set_flash_node(&dchip->chip, chip_np); in denali_dt_chip_init()
Dintel-nand-controller.c580 struct device_node *chip_np; in ebu_nand_probe() local
603 chip_np = of_get_next_child(dev->of_node, NULL); in ebu_nand_probe()
604 if (!chip_np) in ebu_nand_probe()
608 ret = of_property_read_u32(chip_np, "reg", &cs); in ebu_nand_probe()
667 nand_set_flash_node(&ebu_host->chip, chip_np); in ebu_nand_probe()
704 of_node_put(chip_np); in ebu_nand_probe()
/linux-6.1.9/drivers/gpio/
Dgpiolib-of.c560 struct device_node *chip_np; in of_parse_own_gpio() local
568 chip_np = chip->of_node; in of_parse_own_gpio()
569 if (!chip_np) in of_parse_own_gpio()
576 ret = of_property_read_u32(chip_np, "#gpio-cells", &tmp); in of_parse_own_gpio()
580 gpiospec.np = chip_np; in of_parse_own_gpio()