Lines Matching refs:node
820 ppc_md.feature_call(PMAC_FTR_SOUND_CHIP_ENABLE, chip->node, 0, enable); in snd_pmac_sound_feature()
836 if (chip->node) in snd_pmac_free()
862 if (chip->node) { in snd_pmac_free()
872 of_node_put(chip->node); in snd_pmac_free()
897 for (mio = chip->node->parent; mio; mio = mio->parent) { in detect_byte_swap()
949 chip->node = of_find_node_by_name(NULL, "awacs"); in snd_pmac_detect()
950 sound = of_node_get(chip->node); in snd_pmac_detect()
956 if (!chip->node) in snd_pmac_detect()
957 chip->node = of_find_node_by_name(NULL, "davbus"); in snd_pmac_detect()
962 if (! chip->node) { in snd_pmac_detect()
963 chip->node = of_find_node_by_name(NULL, "i2s-a"); in snd_pmac_detect()
964 if (chip->node && chip->node->parent && in snd_pmac_detect()
965 chip->node->parent->parent) { in snd_pmac_detect()
966 if (of_device_is_compatible(chip->node->parent->parent, in snd_pmac_detect()
971 if (! chip->node) in snd_pmac_detect()
976 if (sound->parent == chip->node) in snd_pmac_detect()
980 of_node_put(chip->node); in snd_pmac_detect()
981 chip->node = NULL; in snd_pmac_detect()
995 of_node_put(chip->node); in snd_pmac_detect()
996 chip->node = NULL; in snd_pmac_detect()
1046 macio = macio_find(chip->node, macio_unknown); in snd_pmac_detect()
1198 np = chip->node; in snd_pmac_new()
1302 for (mio = chip->node->parent; mio; mio = mio->parent) { in snd_pmac_new()