Lines Matching refs:np
558 struct device_node *np; in add_pcspkr() local
562 np = of_find_compatible_node(NULL, NULL, "pnpPNP,100"); in add_pcspkr()
563 of_node_put(np); in add_pcspkr()
564 if (!np) in add_pcspkr()
614 struct device_node *parent, *np = NULL; in check_legacy_ioport() local
619 if (!(np = of_find_compatible_node(NULL, NULL, "pnpPNP,303"))) in check_legacy_ioport()
620 np = of_find_compatible_node(NULL, NULL, "pnpPNP,f03"); in check_legacy_ioport()
621 if (np) { in check_legacy_ioport()
622 parent = of_get_parent(np); in check_legacy_ioport()
632 of_node_put(np); in check_legacy_ioport()
633 np = parent; in check_legacy_ioport()
636 np = of_find_node_by_type(NULL, "8042"); in check_legacy_ioport()
639 if (!np) in check_legacy_ioport()
640 np = of_find_node_by_name(NULL, "8042"); in check_legacy_ioport()
641 if (np) { in check_legacy_ioport()
647 np = of_find_node_by_type(NULL, "fdc"); in check_legacy_ioport()
653 if (!np) in check_legacy_ioport()
655 parent = of_get_parent(np); in check_legacy_ioport()
661 of_node_put(np); in check_legacy_ioport()
705 struct device_node *np; in check_cache_coherency() local
709 np = of_find_node_by_path("/"); in check_cache_coherency()
710 prop = of_get_property(np, "coherency-off", NULL); in check_cache_coherency()
711 of_node_put(np); in check_cache_coherency()