Home
last modified time | relevance | path

Searched refs:node (Results 1 – 22 of 22) sorted by relevance

/sound/soc/generic/
Dsimple-card.c229 static int asoc_simple_card_dai_link_of(struct device_node *node, in asoc_simple_card_dai_link_of() argument
250 daifmt = snd_soc_of_parse_daifmt(node, prefix, in asoc_simple_card_dai_link_of()
255 np = of_get_child_by_name(node, prop); in asoc_simple_card_dai_link_of()
287 np = of_get_child_by_name(node, prop); in asoc_simple_card_dai_link_of()
380 static int asoc_simple_card_parse_of(struct device_node *node, in asoc_simple_card_parse_of() argument
387 if (!node) in asoc_simple_card_parse_of()
394 if (of_property_read_bool(node, "simple-audio-card,widgets")) { in asoc_simple_card_parse_of()
402 if (of_property_read_bool(node, "simple-audio-card,routing")) { in asoc_simple_card_parse_of()
410 ret = of_property_read_u32(node, "simple-audio-card,mclk-fs", &val); in asoc_simple_card_parse_of()
418 if (of_get_child_by_name(node, "simple-audio-card,dai-link")) { in asoc_simple_card_parse_of()
[all …]
/sound/ppc/
Dpmac.c834 ppc_md.feature_call(PMAC_FTR_SOUND_CHIP_ENABLE, chip->node, 0, enable); in snd_pmac_sound_feature()
850 if (chip->node) in snd_pmac_free()
881 if (chip->node) { in snd_pmac_free()
892 of_node_put(chip->node); in snd_pmac_free()
917 for (mio = chip->node->parent; mio; mio = mio->parent) { in detect_byte_swap()
969 chip->node = of_find_node_by_name(NULL, "awacs"); in snd_pmac_detect()
970 sound = of_node_get(chip->node); in snd_pmac_detect()
976 if (!chip->node) in snd_pmac_detect()
977 chip->node = of_find_node_by_name(NULL, "davbus"); in snd_pmac_detect()
982 if (! chip->node) { in snd_pmac_detect()
[all …]
Dtumbler.c1105 struct device_node *node; in tumbler_find_device() local
1111 node = find_compatible_audio_device(device); in tumbler_find_device()
1113 node = find_audio_device(device); in tumbler_find_device()
1114 if (! node) { in tumbler_find_device()
1120 base = of_get_property(node, "AAPL,address", NULL); in tumbler_find_device()
1122 base = of_get_property(node, "reg", NULL); in tumbler_find_device()
1126 of_node_put(node); in tumbler_find_device()
1137 base = of_get_property(node, "audio-gpio-active-state", NULL); in tumbler_find_device()
1153 prop = of_get_property(node, platform, NULL); in tumbler_find_device()
1169 ret = irq_of_parse_and_map(node, 0); in tumbler_find_device()
[all …]
Dpmac.h95 struct device_node *node; member
/sound/soc/omap/
Domap-abe-twl6040.c243 struct device_node *node = pdev->dev.of_node; in omap_abe_probe() local
250 if (!node) { in omap_abe_probe()
274 dai_node = of_parse_phandle(node, "ti,mcpdm", 0); in omap_abe_probe()
282 dai_node = of_parse_phandle(node, "ti,dmic", 0); in omap_abe_probe()
298 priv->jack_detection = of_property_read_bool(node, "ti,jack-detection"); in omap_abe_probe()
299 of_property_read_u32(node, "ti,mclk-freq", &priv->mclk_freq); in omap_abe_probe()
Domap-twl4030.c286 struct device_node *node = pdev->dev.of_node; in omap_twl4030_probe() local
297 if (node) { in omap_twl4030_probe()
306 dai_node = of_parse_phandle(node, "ti,mcbsp", 0); in omap_twl4030_probe()
317 dai_node = of_parse_phandle(node, "ti,mcbsp-voice", 0); in omap_twl4030_probe()
328 priv->jack_detect = of_get_named_gpio(node, in omap_twl4030_probe()
332 prop = of_find_property(node, "ti,audio-routing", NULL); in omap_twl4030_probe()
Domap-mcbsp.c779 struct device_node *node = pdev->dev.of_node; in asoc_mcbsp_probe() local
789 if (!of_property_read_u32(node, "ti,buffer-size", &buffer_size)) in asoc_mcbsp_probe()
/sound/soc/sh/rcar/
Ddvc.c275 struct device_node *node; in rsnd_of_parse_dvc() local
284 node = of_get_child_by_name(dev->of_node, "rcar_sound,dvc"); in rsnd_of_parse_dvc()
285 if (!node) in rsnd_of_parse_dvc()
288 nr = of_get_child_count(node); in rsnd_of_parse_dvc()
304 of_node_put(node); in rsnd_of_parse_dvc()
Dssi.c573 struct device_node *node; in rsnd_of_parse_ssi() local
583 node = of_get_child_by_name(dev->of_node, "rcar_sound,ssi"); in rsnd_of_parse_ssi()
584 if (!node) in rsnd_of_parse_ssi()
587 nr = of_get_child_count(node); in rsnd_of_parse_ssi()
603 for_each_child_of_node(node, np) { in rsnd_of_parse_ssi()
630 of_node_put(node); in rsnd_of_parse_ssi()
/sound/aoa/core/
Dgpio-pmf.c21 rc = pmf_call_function(rt->node, #name "-mute", &args); \
44 rc = pmf_call_function(rt->node, "hw-reset", &args); in pmf_gpio_set_hw_reset()
189 err = pmf_register_irq_client(rt->node, in pmf_set_notify()
230 err = pmf_call_function(rt->node, name, &args); in pmf_get_detect()
/sound/aoa/
Daoa.h36 struct device_node *node; member
Daoa-gpio.h73 struct device_node *node; member
/sound/aoa/codecs/
Dtas.c889 struct device_node *node = client->dev.of_node; in tas_i2c_probe() local
908 tas->codec.node = of_node_get(node); in tas_i2c_probe()
915 (unsigned int)client->addr, node->full_name); in tas_i2c_probe()
929 of_node_put(tas->codec.node); in tas_i2c_remove()
Donyx.c1003 struct device_node *node = client->dev.of_node; in onyx_i2c_probe() local
1027 onyx->codec.node = of_node_get(node); in onyx_i2c_probe()
1044 of_node_put(onyx->codec.node); in onyx_i2c_remove()
/sound/aoa/fabrics/
Dlayout.c771 if (codec->node && (strcmp(codec->node->name, "codec") == 0)) { in check_codec()
780 if (*ref != codec->node->phandle) { in check_codec()
1032 ldev->gpio.node = sound->parent; in aoa_fabric_layout_probe()
/sound/soc/intel/
Dsst-baytrail-ipc.c167 struct list_head node; member
241 list_for_each_entry(stream, &byt->stream_list, node) { in sst_byt_get_stream()
591 list_add(&stream->node, &byt->stream_list); in sst_byt_stream_new()
692 list_del(&stream->node); in sst_byt_stream_free()
Dsst-haswell-ipc.c242 struct list_head node; member
409 list_for_each_entry(stream, &hsw->stream_list, node) { in get_stream_by_id()
1190 list_add(&stream->node, &hsw->stream_list); in sst_hsw_stream_new()
1232 list_del(&stream->node); in sst_hsw_stream_free()
Dsst-mfld-dsp.h492 struct list_head node; member
/sound/soc/codecs/
Dtwl4030.c211 struct device_node *node) in twl4030_setup_pdata_of() argument
215 of_property_read_u32(node, "ti,digimic_delay", in twl4030_setup_pdata_of()
217 of_property_read_u32(node, "ti,ramp_delay_value", in twl4030_setup_pdata_of()
219 of_property_read_u32(node, "ti,offset_cncl_path", in twl4030_setup_pdata_of()
221 if (!of_property_read_u32(node, "ti,hs_extmute", &value)) in twl4030_setup_pdata_of()
224 pdata->hs_extmute_gpio = of_get_named_gpio(node, in twl4030_setup_pdata_of()
/sound/soc/davinci/
Ddavinci-mcasp.c1045 struct device_node *node = pdev->dev.of_node; in mcasp_reparent_fck() local
1050 if (!node) in mcasp_reparent_fck()
1053 parent_name = of_get_property(node, "fck_parent", NULL); in mcasp_reparent_fck()
/sound/soc/samsung/
DKconfig103 Internal node for common S3C24XX/Simtec suppor
/sound/pci/asihpi/
Dhpifunc.c2136 u32 node, index; in hpi_multiplexer_get_source() local
2138 HPI_MULTIPLEXER_SOURCE, &node, in hpi_multiplexer_get_source()
2141 *source_node_type = (u16)node; in hpi_multiplexer_get_source()