Home
last modified time | relevance | path

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

/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.c584 struct device_node *chip_np; in ebu_nand_probe() local
609 chip_np = of_get_next_child(dev->of_node, NULL); in ebu_nand_probe()
610 if (!chip_np) in ebu_nand_probe()
614 ret = of_property_read_u32(chip_np, "reg", &cs); in ebu_nand_probe()
673 nand_set_flash_node(&ebu_host->chip, chip_np); in ebu_nand_probe()
710 of_node_put(chip_np); in ebu_nand_probe()
/drivers/gpio/
Dgpiolib-of.c582 struct device_node *chip_np; in of_parse_own_gpio() local
590 chip_np = chip->of_node; in of_parse_own_gpio()
591 if (!chip_np) in of_parse_own_gpio()
598 ret = of_property_read_u32(chip_np, "#gpio-cells", &tmp); in of_parse_own_gpio()
602 gpiospec.np = chip_np; in of_parse_own_gpio()