Searched refs:chip_np (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | denali_dt.c | 82 struct device_node *chip_np) in denali_dt_chip_init() argument 88 nsels = of_property_count_u32_elems(chip_np, "reg"); in denali_dt_chip_init() 100 ret = of_property_read_u32_index(chip_np, "reg", i, &bank); in denali_dt_chip_init() 106 nand_set_flash_node(&dchip->chip, chip_np); in denali_dt_chip_init()
|
H A D | intel-nand-controller.c | 580 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() 671 nand_set_flash_node(&ebu_host->chip, chip_np); in ebu_nand_probe() 706 of_node_put(chip_np); in ebu_nand_probe()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-of.c | 701 struct device_node *chip_np; in of_parse_own_gpio() local 709 chip_np = dev_of_node(&chip->gpiodev->dev); in of_parse_own_gpio() 710 if (!chip_np) in of_parse_own_gpio() 717 ret = of_property_read_u32(chip_np, "#gpio-cells", &tmp); in of_parse_own_gpio() 721 gpiospec.np = chip_np; in of_parse_own_gpio()
|