/sound/soc/intel/skylake/ |
D | skl-ssp-clk.c | 35 struct skl_clk_parent parent[SKL_MAX_CLK_SRC]; member 285 struct skl_clk_parent *parent, in skl_register_parent_clks() argument 293 parent[i].hw = clk_hw_register_fixed_rate(dev, pclk[i].name, in skl_register_parent_clks() 295 if (IS_ERR(parent[i].hw)) { in skl_register_parent_clks() 296 ret = PTR_ERR(parent[i].hw); in skl_register_parent_clks() 300 parent[i].lookup = clkdev_hw_create(parent[i].hw, pclk[i].name, in skl_register_parent_clks() 302 if (!parent[i].lookup) { in skl_register_parent_clks() 303 clk_hw_unregister_fixed_rate(parent[i].hw); in skl_register_parent_clks() 311 unregister_parent_src_clk(parent, i); in skl_register_parent_clks() 353 struct device *parent_dev = dev->parent; in skl_clk_dev_probe() [all …]
|
D | skl-nhlt.c | 199 struct skl_clk_parent_src *parent; in skl_get_ssp_clks() local 282 parent = skl_get_parent_clk(clk_src); in skl_get_ssp_clks() 291 if (!parent) in skl_get_ssp_clks() 298 sclk[id].parent_name = parent->name; in skl_get_ssp_clks() 299 sclkfs[id].parent_name = parent->name; in skl_get_ssp_clks() 312 struct skl_clk_parent_src *parent; in skl_get_mclk() local 341 parent = skl_get_parent_clk(clk_src); in skl_get_mclk() 342 if (!parent) in skl_get_mclk() 345 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk() 347 mclk[id].parent_name = parent->name; in skl_get_mclk()
|
/sound/core/ |
D | info.c | 448 snd_info_create_entry(const char *name, struct snd_info_entry *parent, 686 snd_info_create_entry(const char *name, struct snd_info_entry *parent, in snd_info_create_entry() argument 703 entry->parent = parent; in snd_info_create_entry() 705 if (parent) { in snd_info_create_entry() 706 mutex_lock(&parent->access); in snd_info_create_entry() 707 list_add_tail(&entry->list, &parent->children); in snd_info_create_entry() 708 mutex_unlock(&parent->access); in snd_info_create_entry() 725 struct snd_info_entry *parent) in snd_info_create_module_entry() argument 727 if (!parent) in snd_info_create_module_entry() 728 parent = snd_proc_root; in snd_info_create_module_entry() [all …]
|
D | init.c | 131 dev->parent = &card->card_dev; in snd_device_initialize() 137 static int snd_card_init(struct snd_card *card, struct device *parent, 163 int snd_card_new(struct device *parent, int idx, const char *xid, in snd_card_new() argument 180 err = snd_card_init(card, parent, idx, xid, module, extra_size); in snd_card_new() 217 int snd_devm_card_new(struct device *parent, int idx, const char *xid, in snd_devm_card_new() argument 230 err = snd_card_init(card, parent, idx, xid, module, extra_size); in snd_devm_card_new() 236 devres_add(parent, card); in snd_devm_card_new() 264 static int snd_card_init(struct snd_card *card, struct device *parent, in snd_card_init() argument 292 dev_err(parent, "cannot find the slot for index %d (range 0-%i), error: %d\n", in snd_card_init() 302 card->dev = parent; in snd_card_init() [all …]
|
D | jack.c | 106 if (!jack->input_dev->dev.parent) in snd_jack_dev_register() 107 jack->input_dev->dev.parent = snd_card_get_device_link(card); in snd_jack_dev_register() 588 void snd_jack_set_parent(struct snd_jack *jack, struct device *parent) in snd_jack_set_parent() argument 597 jack->input_dev->dev.parent = parent; in snd_jack_set_parent()
|
/sound/soc/ti/ |
D | j721e-evm.c | 61 struct clk *parent[2]; member 212 domain->codec.parent[clk_id]); in j721e_configure_refclk() 217 domain->mcasp.parent[clk_id]); in j721e_configure_refclk() 462 struct clk *parent; in j721e_get_clocks() local 477 parent = devm_clk_get(dev, clk_name); in j721e_get_clocks() 479 if (IS_ERR(parent)) { in j721e_get_clocks() 480 ret = PTR_ERR(parent); in j721e_get_clocks() 485 parent = NULL; in j721e_get_clocks() 487 clocks->parent[J721E_CLK_PARENT_48000] = parent; in j721e_get_clocks() 494 parent = devm_clk_get(dev, clk_name); in j721e_get_clocks() [all …]
|
/sound/soc/jz4740/ |
D | jz4740-i2s.c | 334 struct clk *parent; in jz4740_i2s_set_sysclk() local 339 parent = clk_get(NULL, "ext"); in jz4740_i2s_set_sysclk() 340 if (IS_ERR(parent)) in jz4740_i2s_set_sysclk() 341 return PTR_ERR(parent); in jz4740_i2s_set_sysclk() 342 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk() 345 parent = clk_get(NULL, "pll half"); in jz4740_i2s_set_sysclk() 346 if (IS_ERR(parent)) in jz4740_i2s_set_sysclk() 347 return PTR_ERR(parent); in jz4740_i2s_set_sysclk() 348 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk() 354 clk_put(parent); in jz4740_i2s_set_sysclk()
|
/sound/hda/ |
D | hdac_i915.c | 87 bus_a = bus_a->parent; in connectivity_check() 88 bus_b = bus_b->parent; in connectivity_check() 91 bus_a = bus_a->parent; in connectivity_check() 92 bus_b = bus_b->parent; in connectivity_check()
|
D | hdac_sysfs.c | 98 struct device *dev = kobj_to_dev(kobj->parent->parent); in get_codec_nid() 338 static int add_widget_node(struct kobject *parent, hda_nid_t nid, in add_widget_node() argument 348 err = kobject_add(kobj, parent, "%02x", nid); in add_widget_node()
|
/sound/ac97/ |
D | bus.c | 80 for_each_child_of_node(ac97_ctrl->parent->of_node, node) { in ac97_of_get_child_device() 115 codec->dev.parent = &ac97_ctrl->adap; in ac97_codec_add() 120 dev_set_name(&codec->dev, "%s:%u", dev_name(ac97_ctrl->parent), idx); in ac97_codec_add() 303 dev_name(ac97_ctrl->parent)); in ac97_adapter_release() 321 ac97_ctrl->adap.parent = ac97_ctrl->parent; in ac97_add_adapter() 332 dev_name(ac97_ctrl->parent)); in ac97_add_adapter() 364 ac97_ctrl->parent = dev; in snd_ac97_controller_register()
|
/sound/firewire/tascam/ |
D | tascam-transaction.c | 225 generation = port->parent->generation; in midi_port_work() 228 fw_send_request(port->parent->card, &port->transaction, in midi_port_work() 230 port->parent->node_id, generation, in midi_port_work() 231 port->parent->max_speed, in midi_port_work() 320 tscm->out_ports[i].parent = fw_parent_device(tscm->unit); in snd_tscm_transaction_register()
|
/sound/aoa/soundbus/i2sbus/ |
D | core.c | 117 struct device_node *parent; in i2sbus_get_and_fixup_rsrc() local 133 parent = of_get_parent(np); in i2sbus_get_and_fixup_rsrc() 135 rc = of_address_to_resource(parent, pindex, res); in i2sbus_get_and_fixup_rsrc() 146 of_node_put(parent); in i2sbus_get_and_fixup_rsrc() 225 dev->sound.ofdev.dev.parent = &macio->ofdev.dev; in i2sbus_add_dev()
|
/sound/virtio/ |
D | virtio_card.c | 216 if (dev->parent->bus) in virtsnd_build_devs() 219 dev->parent->bus->name, dev_name(dev->parent), in virtsnd_build_devs() 224 dev_name(dev->parent), dev_name(dev)); in virtsnd_build_devs()
|
/sound/soc/amd/raven/ |
D | pci-acp3x.c | 211 pdevinfo[0].parent = &pci->dev; in snd_acp3x_probe() 219 pdevinfo[1].parent = &pci->dev; in snd_acp3x_probe() 225 pdevinfo[2].parent = &pci->dev; in snd_acp3x_probe() 231 pdevinfo[3].parent = &pci->dev; in snd_acp3x_probe()
|
D | acp3x-pcm-dma.c | 317 struct device *parent = component->dev->parent; in acp3x_dma_new() local 319 parent, MIN_BUFFER, MAX_BUFFER); in acp3x_dma_new()
|
/sound/ppc/ |
D | pmac.c | 873 for (mio = chip->node->parent; mio; mio = mio->parent) { in detect_byte_swap() 940 if (chip->node && chip->node->parent && in snd_pmac_detect() 941 chip->node->parent->parent) { in snd_pmac_detect() 942 if (of_device_is_compatible(chip->node->parent->parent, in snd_pmac_detect() 952 if (sound->parent == chip->node) in snd_pmac_detect() 1181 if (of_address_to_resource(np->parent, i, in snd_pmac_new() 1279 for (mio = chip->node->parent; mio; mio = mio->parent) { in snd_pmac_new()
|
/sound/soc/codecs/ |
D | rk817_codec.c | 418 struct rk808 *rk808 = dev_get_drvdata(component->dev->parent); in rk817_probe() 462 node = of_get_child_by_name(dev->parent->of_node, "codec"); in rk817_codec_parse_dt_property() 476 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk817_platform_probe() 492 rk817_codec_data->mclk = devm_clk_get(pdev->dev.parent, "mclk"); in rk817_platform_probe()
|
D | hdmi-codec.c | 445 ret = hcp->hcd.ops->audio_startup(dai->dev->parent, hcp->hcd.data); in hdmi_codec_startup() 451 ret = hcp->hcd.ops->get_eld(dai->dev->parent, hcp->hcd.data, in hdmi_codec_startup() 477 hcp->hcd.ops->audio_shutdown(dai->dev->parent, hcp->hcd.data); in hdmi_codec_shutdown() 561 return hcp->hcd.ops->hw_params(dai->dev->parent, hcp->hcd.data, in hdmi_codec_hw_params() 597 return hcp->hcd.ops->prepare(dai->dev->parent, hcp->hcd.data, in hdmi_codec_prepare() 681 return hcp->hcd.ops->mute_stream(dai->dev->parent, in hdmi_codec_mute() 859 hcp->hcd.ops->get_eld(dev->parent, hcp->hcd.data, in plugged_cb() 977 ret = hcp->hcd.ops->hook_plugged_cb(component->dev->parent, in hdmi_probe() 991 hcp->hcd.ops->hook_plugged_cb(component->dev->parent, in hdmi_remove()
|
D | wm5102.c | 584 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_sysclk_ev() 623 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_adsp_power_ev() 668 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_coeff_get() 682 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_coeff_put() 695 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_switch_get() 708 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_switch_put() 2023 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm5102_probe()
|
/sound/soc/mediatek/mt8195/ |
D | mt8195-afe-clk.c | 234 struct clk *parent) in mt8195_afe_set_clk_parent() argument 238 if (clk && parent) { in mt8195_afe_set_clk_parent() 239 ret = clk_set_parent(clk, parent); in mt8195_afe_set_clk_parent()
|
/sound/soc/amd/vangogh/ |
D | pci-acp5x.c | 198 pdevinfo[0].parent = &pci->dev; in snd_acp5x_probe() 206 pdevinfo[1].parent = &pci->dev; in snd_acp5x_probe() 212 pdevinfo[2].parent = &pci->dev; in snd_acp5x_probe()
|
/sound/soc/amd/renoir/ |
D | rn-pci-acp3x.c | 307 pdevinfo[0].parent = &pci->dev; in snd_rn_acp_probe() 315 pdevinfo[1].parent = &pci->dev; in snd_rn_acp_probe() 318 pdevinfo[2].parent = &pci->dev; in snd_rn_acp_probe()
|
D | acp3x-pdm-dma.c | 287 struct device *parent = component->dev->parent; in acp_pdm_dma_new() local 290 parent, MIN_BUFFER, MAX_BUFFER); in acp_pdm_dma_new()
|
/sound/soc/fsl/ |
D | imx-audmix.c | 156 if (pdev->dev.parent) { in imx_audmix_probe() 157 audmix_np = pdev->dev.parent->of_node; in imx_audmix_probe() 234 dev_info(pdev->dev.parent, "DAI FE name:%s\n", dai_name); in imx_audmix_probe()
|
/sound/drivers/pcsp/ |
D | pcsp_input.c | 91 input_dev->dev.parent = dev; in pcspkr_input_init()
|