Searched refs:chip_np (Results 1 – 2 of 2) sorted by relevance
83 struct device_node *chip_np) in denali_dt_chip_init() argument89 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()
582 struct device_node *chip_np; in of_parse_own_gpio() local590 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()