Searched refs:sub_node (Results 1 – 2 of 2) sorted by relevance
/linux/sound/soc/mediatek/common/ |
H A D | mtk-soundcard-driver.c | 19 struct device_node *sub_node, in set_card_codec_info() argument 26 codec_node = of_get_child_by_name(sub_node, "codec"); in set_card_codec_info() 49 struct device_node *sub_node, in set_dailink_daifmt() argument 63 daifmt = snd_soc_daifmt_parse_format(sub_node, NULL); in set_dailink_daifmt() 73 ret = of_property_read_string(sub_node, "mediatek,clk-provider", &str); in set_dailink_daifmt() 92 struct device_node *sub_node; in parse_dai_link_info() local 98 for_each_available_child_of_node(dev->of_node, sub_node) { in parse_dai_link_info() 99 if (of_property_read_string(sub_node, "link-name", in parse_dai_link_info() 101 of_node_put(sub_node); in parse_dai_link_info() 111 of_node_put(sub_node); in parse_dai_link_info() [all...] |
/linux/drivers/leds/flash/ |
H A D | leds-aat1290.c | 216 struct device_node **sub_node) in aat1290_led_parse_dt() argument 282 *sub_node = child_node; in aat1290_led_parse_dt() 329 struct device_node **sub_node) in aat1290_led_get_configuration() argument 333 ret = aat1290_led_parse_dt(led, cfg, sub_node); in aat1290_led_get_configuration() 458 struct device_node *sub_node = NULL; in aat1290_led_probe() local 478 ret = aat1290_led_get_configuration(led, &led_cfg, &sub_node); in aat1290_led_probe() 491 init_data.fwnode = of_fwnode_handle(sub_node); in aat1290_led_probe() 503 led->v4l2_flash = v4l2_flash_init(dev, of_fwnode_handle(sub_node), in aat1290_led_probe()
|