Lines Matching refs:np
1065 struct device_node *np; in find_audio_device() local
1071 for (np = of_get_next_child(gpiop, NULL); np; in find_audio_device()
1072 np = of_get_next_child(gpiop, np)) { in find_audio_device()
1073 const char *property = of_get_property(np, "audio-gpio", NULL); in find_audio_device()
1078 return np; in find_audio_device()
1085 struct device_node *np; in find_compatible_audio_device() local
1091 for (np = of_get_next_child(gpiop, NULL); np; in find_compatible_audio_device()
1092 np = of_get_next_child(gpiop, np)) { in find_compatible_audio_device()
1093 if (of_device_is_compatible(np, name)) in find_compatible_audio_device()
1097 return np; in find_compatible_audio_device()
1357 struct device_node *tas_node, *np; in snd_pmac_tumbler_init() local
1372 for (np = chip->node->child; np; np = np->sibling) { in snd_pmac_tumbler_init()
1373 if (!strcmp(np->name, "sound")) { in snd_pmac_tumbler_init()
1374 if (of_get_property(np, "has-anded-reset", NULL)) in snd_pmac_tumbler_init()
1376 if (of_get_property(np, "layout-id", NULL)) in snd_pmac_tumbler_init()