/sound/soc/mediatek/ |
D | mt8173-rt5650-rt5676.c | 213 platform_node = of_parse_phandle(pdev->dev.of_node, in mt8173_rt5650_rt5676_dev_probe() 226 mt8173_rt5650_rt5676_codecs[0].of_node = in mt8173_rt5650_rt5676_dev_probe() 227 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0); in mt8173_rt5650_rt5676_dev_probe() 228 if (!mt8173_rt5650_rt5676_codecs[0].of_node) { in mt8173_rt5650_rt5676_dev_probe() 233 mt8173_rt5650_rt5676_codecs[1].of_node = in mt8173_rt5650_rt5676_dev_probe() 234 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1); in mt8173_rt5650_rt5676_dev_probe() 235 if (!mt8173_rt5650_rt5676_codecs[1].of_node) { in mt8173_rt5650_rt5676_dev_probe() 240 mt8173_rt5650_rt5676_codec_conf[0].of_node = in mt8173_rt5650_rt5676_dev_probe() 241 mt8173_rt5650_rt5676_codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe() 244 mt8173_rt5650_rt5676_codecs[1].of_node; in mt8173_rt5650_rt5676_dev_probe()
|
D | mt8173-max98090.c | 156 platform_node = of_parse_phandle(pdev->dev.of_node, in mt8173_max98090_dev_probe() 168 codec_node = of_parse_phandle(pdev->dev.of_node, in mt8173_max98090_dev_probe()
|
/sound/soc/sirf/ |
D | sirf-audio.c | 95 of_parse_phandle(pdev->dev.of_node, "sirf,audio-platform", 0); in sirf_audio_probe() 97 of_parse_phandle(pdev->dev.of_node, "sirf,audio-platform", 0); in sirf_audio_probe() 99 of_parse_phandle(pdev->dev.of_node, "sirf,audio-codec", 0); in sirf_audio_probe() 100 sirf_audio_card->gpio_spk_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe() 102 sirf_audio_card->gpio_hp_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe()
|
/sound/soc/kirkwood/ |
D | armada-370-db.c | 104 of_parse_phandle(pdev->dev.of_node, in a370db_probe() 109 of_parse_phandle(pdev->dev.of_node, in a370db_probe() 116 of_parse_phandle(pdev->dev.of_node, in a370db_probe() 123 of_parse_phandle(pdev->dev.of_node, in a370db_probe()
|
/sound/aoa/soundbus/ |
D | sysfs.c | 12 return sprintf (buf, format_string, mdev->ofdev.dev.of_node->field); \ 28 of->dev.of_node->name, of->dev.of_node->type); in modalias_show()
|
D | core.c | 77 retval = add_uevent_var(env, "OF_NAME=%s", of->dev.of_node->name); in soundbus_uevent() 81 retval = add_uevent_var(env, "OF_TYPE=%s", of->dev.of_node->type); in soundbus_uevent() 89 compat = of_get_property(of->dev.of_node, "compatible", &cplen); in soundbus_uevent() 146 !dev->ofdev.dev.of_node || in soundbus_add_one()
|
/sound/soc/fsl/ |
D | imx-es8328.c | 80 struct device_node *np = pdev->dev.of_node; in imx_es8328_probe() 136 ssi_np = of_parse_phandle(pdev->dev.of_node, "ssi-controller", 0); in imx_es8328_probe() 137 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_es8328_probe() 159 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe()
|
D | imx-sgtl5000.c | 60 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe() 104 ssi_np = of_parse_phandle(pdev->dev.of_node, "ssi-controller", 0); in imx_sgtl5000_probe() 105 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_sgtl5000_probe()
|
D | imx-audmux.c | 256 struct device_node *of_node) in imx_audmux_parse_dt_defaults() argument 260 for_each_available_child_of_node(of_node, child) { in imx_audmux_parse_dt_defaults() 340 imx_audmux_parse_dt_defaults(pdev, pdev->dev.of_node); in imx_audmux_probe()
|
D | eukrea-tlv320.c | 90 struct device_node *np = pdev->dev.of_node; in eukrea_tlv320_probe() 103 ssi_np = of_parse_phandle(pdev->dev.of_node, in eukrea_tlv320_probe()
|
D | imx-wm8962.c | 154 struct device_node *np = pdev->dev.of_node; in imx_wm8962_probe() 201 ssi_np = of_parse_phandle(pdev->dev.of_node, "ssi-controller", 0); in imx_wm8962_probe() 202 codec_np = of_parse_phandle(pdev->dev.of_node, "audio-codec", 0); in imx_wm8962_probe()
|
D | mpc5200_dma.c | 377 irq = irq_of_parse_and_map(op->dev.of_node, 0); in mpc5200_audio_dma_create() 378 if (of_address_to_resource(op->dev.of_node, 0, &res)) { in mpc5200_audio_dma_create() 396 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create()
|
/sound/soc/ |
D | soc-core.c | 865 const struct device_node *of_node, const char *name) in soc_find_component() argument 872 if (of_node) { in soc_find_component() 873 if (component->dev->of_node == of_node) in soc_find_component() 894 component_of_node = component->dev->of_node; in snd_soc_find_dai() 896 component_of_node = component->dev->parent->of_node; in snd_soc_find_dai() 898 if (dlc->of_node && component_of_node != dlc->of_node) in snd_soc_find_dai() 927 cpu_dai_component.of_node = dai_link->cpu_of_node; in soc_bind_dai_link() 960 if (platform->dev->of_node != in soc_bind_dai_link() 1091 if (map->of_node && component->dev->of_node != map->of_node) in soc_set_name_prefix() 2321 dai_link->codecs[0].of_node = dai_link->codec_of_node; in snd_soc_init_multicodec() [all …]
|
D | soc-ac97.c | 216 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 0); in snd_soc_ac97_parse_pinctl() 228 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 1); in snd_soc_ac97_parse_pinctl() 240 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 2); in snd_soc_ac97_parse_pinctl()
|
/sound/soc/codecs/ |
D | tas5086.c | 841 struct device_node *of_node = codec->dev->of_node; in tas5086_probe() local 843 of_property_read_u32(of_node, "ti,charge-period", in tas5086_probe() 852 if (of_get_property(of_node, name, NULL) != NULL) in tas5086_probe() 953 struct device_node *of_node = dev->of_node; in tas5086_i2c_probe() local 954 gpio_nreset = of_get_named_gpio(of_node, "reset-gpio", 0); in tas5086_i2c_probe()
|
D | adau1701.c | 827 if (dev->of_node) { in adau1701_i2c_probe() 828 gpio_nreset = of_get_named_gpio(dev->of_node, "reset-gpio", 0); in adau1701_i2c_probe() 834 gpio_pll_mode[0] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe() 841 gpio_pll_mode[1] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe() 848 of_property_read_u32(dev->of_node, "adi,pll-clkdiv", in adau1701_i2c_probe() 851 of_property_read_u8_array(dev->of_node, "adi,pin-config", in adau1701_i2c_probe()
|
D | sirf-audio-codec.c | 402 if (of_device_is_compatible(codec->dev->of_node, "sirf,prima2-audio-codec")) { in sirf_audio_codec_probe() 412 if (of_device_is_compatible(codec->dev->of_node, "sirf,atlas6-audio-codec")) { in sirf_audio_codec_probe() 465 match = of_match_node(sirf_audio_codec_of_match, pdev->dev.of_node); in sirf_audio_codec_driver_probe() 511 if (of_device_is_compatible(pdev->dev.of_node, "sirf,atlas6-audio-codec")) in sirf_audio_codec_driver_probe()
|
D | cs42l52.c | 1124 if (i2c_client->dev.of_node) { in cs42l52_i2c_probe() 1125 if (of_property_read_bool(i2c_client->dev.of_node, in cs42l52_i2c_probe() 1129 if (of_property_read_bool(i2c_client->dev.of_node, in cs42l52_i2c_probe() 1133 if (of_property_read_u32(i2c_client->dev.of_node, in cs42l52_i2c_probe() 1137 if (of_property_read_u32(i2c_client->dev.of_node, in cs42l52_i2c_probe() 1142 of_get_named_gpio(i2c_client->dev.of_node, in cs42l52_i2c_probe()
|
D | cs4271.c | 546 if (of_get_property(codec->dev->of_node, in cs4271_codec_probe() 550 if (of_get_property(codec->dev->of_node, in cs4271_codec_probe() 627 of_get_named_gpio(dev->of_node, "reset-gpio", 0); in cs4271_common_probe()
|
/sound/soc/samsung/ |
D | snow.c | 72 i2s_node = of_parse_phandle(pdev->dev.of_node, in snow_probe() 80 codec_node = of_parse_phandle(pdev->dev.of_node, in snow_probe()
|
/sound/soc/sti/ |
D | sti_uniperif.c | 96 if (of_device_is_compatible(dai->dev->of_node, "st,sti-uni-player")) { in sti_uniperiph_dai_resume() 117 if (of_device_is_compatible(dai->dev->of_node, "st,sti-uni-player")) in sti_uniperiph_dai_probe() 210 struct device_node *node = pdev->dev.of_node; in sti_uniperiph_probe()
|
/sound/core/ |
D | memalloc.c | 126 if (dev->of_node) in snd_malloc_dev_iram() 127 pool = of_gen_pool_get(dev->of_node, "iram", 0); in snd_malloc_dev_iram()
|
/sound/soc/tegra/ |
D | tegra_alc5632.c | 166 struct device_node *np = pdev->dev.of_node; in tegra_alc5632_probe() 195 pdev->dev.of_node, "nvidia,audio-codec", 0); in tegra_alc5632_probe()
|
/sound/soc/sh/rcar/ |
D | dma.c | 120 struct dma_chan *rsnd_dma_request_channel(struct device_node *of_node, in rsnd_dma_request_channel() argument 127 for_each_child_of_node(of_node, np) { in rsnd_dma_request_channel() 136 of_node_put(of_node); in rsnd_dma_request_channel() 171 if (dev->of_node) { in rsnd_dmaen_init()
|
D | core.c | 741 dai_node = of_get_child_by_name(dev->of_node, "rcar_sound,dai"); in rsnd_of_parse_dai() 760 ssi_node = of_get_child_by_name(dev->of_node, "rcar_sound,ssi"); in rsnd_of_parse_dai() 761 src_node = of_get_child_by_name(dev->of_node, "rcar_sound,src"); in rsnd_of_parse_dai() 762 ctu_node = of_get_child_by_name(dev->of_node, "rcar_sound,ctu"); in rsnd_of_parse_dai() 763 mix_node = of_get_child_by_name(dev->of_node, "rcar_sound,mix"); in rsnd_of_parse_dai() 764 dvc_node = of_get_child_by_name(dev->of_node, "rcar_sound,dvc"); in rsnd_of_parse_dai()
|