Home
last modified time | relevance | path

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

/drivers/mtd/nand/raw/
A Ddenali_dt.c82 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()
A 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()
671 nand_set_flash_node(&ebu_host->chip, chip_np); in ebu_nand_probe()
706 of_node_put(chip_np); in ebu_nand_probe()
A Dloongson1-nand-controller.c694 struct device_node *chip_np; in ls1x_nand_chip_init() local
702 chip_np = of_get_next_child(dev->of_node, NULL); in ls1x_nand_chip_init()
703 if (!chip_np) in ls1x_nand_chip_init()
706 nand_set_flash_node(chip, chip_np); in ls1x_nand_chip_init()
707 of_node_put(chip_np); in ls1x_nand_chip_init()
/drivers/gpio/
A Dgpiolib-of.c754 struct device_node *chip_np; in of_parse_own_gpio() local
762 chip_np = dev_of_node(&chip->gpiodev->dev); in of_parse_own_gpio()
763 if (!chip_np) in of_parse_own_gpio()
770 ret = of_property_read_u32(chip_np, "#gpio-cells", &tmp); in of_parse_own_gpio()
774 gpiospec.np = chip_np; in of_parse_own_gpio()

Completed in 12 milliseconds