/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 271 parent = skl_get_parent_clk(clk_src); in skl_get_ssp_clks() 277 if (!parent) in skl_get_ssp_clks() 284 sclk[id].parent_name = parent->name; in skl_get_ssp_clks() 285 sclkfs[id].parent_name = parent->name; in skl_get_ssp_clks() 298 struct skl_clk_parent_src *parent; in skl_get_mclk() local 327 parent = skl_get_parent_clk(clk_src); in skl_get_mclk() 328 if (!parent) in skl_get_mclk() 331 mclk[id].rate_cfg[0].rate = parent->rate/div_ratio; in skl_get_mclk() 333 mclk[id].parent_name = parent->name; in skl_get_mclk()
|
/sound/core/ |
D | info.c | 451 snd_info_create_entry(const char *name, struct snd_info_entry *parent, 689 snd_info_create_entry(const char *name, struct snd_info_entry *parent, in snd_info_create_entry() argument 706 entry->parent = parent; in snd_info_create_entry() 708 if (parent) { in snd_info_create_entry() 709 mutex_lock(&parent->access); in snd_info_create_entry() 710 list_add_tail(&entry->list, &parent->children); in snd_info_create_entry() 711 mutex_unlock(&parent->access); in snd_info_create_entry() 728 struct snd_info_entry *parent) in snd_info_create_module_entry() argument 730 if (!parent) in snd_info_create_module_entry() 731 parent = snd_proc_root; in snd_info_create_module_entry() [all …]
|
D | jack.c | 91 if (!jack->input_dev->dev.parent) in snd_jack_dev_register() 92 jack->input_dev->dev.parent = snd_card_get_device_link(card); in snd_jack_dev_register() 289 void snd_jack_set_parent(struct snd_jack *jack, struct device *parent) in snd_jack_set_parent() argument 295 jack->input_dev->dev.parent = parent; in snd_jack_set_parent()
|
D | init.c | 129 dev->parent = &card->card_dev; in snd_device_initialize() 160 int snd_card_new(struct device *parent, int idx, const char *xid, in snd_card_new() argument 195 dev_err(parent, "cannot find the slot for index %d (range 0-%i), error: %d\n", in snd_card_new() 204 card->dev = parent; in snd_card_new() 220 card->card_dev.parent = parent; in snd_card_new() 236 dev_err(parent, "unable to register control minors\n"); in snd_card_new() 241 dev_err(parent, "unable to create card info\n"); in snd_card_new()
|
/sound/soc/jz4740/ |
D | jz4740-i2s.c | 306 struct clk *parent; in jz4740_i2s_set_sysclk() local 311 parent = clk_get(NULL, "ext"); in jz4740_i2s_set_sysclk() 312 if (IS_ERR(parent)) in jz4740_i2s_set_sysclk() 313 return PTR_ERR(parent); in jz4740_i2s_set_sysclk() 314 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk() 317 parent = clk_get(NULL, "pll half"); in jz4740_i2s_set_sysclk() 318 if (IS_ERR(parent)) in jz4740_i2s_set_sysclk() 319 return PTR_ERR(parent); in jz4740_i2s_set_sysclk() 320 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk() 326 clk_put(parent); in jz4740_i2s_set_sysclk()
|
/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()
|
D | snd_ac97_compat.c | 79 ac97->dev.parent = &adev->dev; in snd_ac97_compat_alloc()
|
/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()
|
D | tascam.h | 48 struct fw_device *parent; member
|
/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/ppc/ |
D | pmac.c | 897 for (mio = chip->node->parent; mio; mio = mio->parent) { in detect_byte_swap() 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() 976 if (sound->parent == chip->node) in snd_pmac_detect() 1204 if (of_address_to_resource(np->parent, i, in snd_pmac_new() 1302 for (mio = chip->node->parent; mio; mio = mio->parent) { in snd_pmac_new()
|
/sound/soc/intel/boards/ |
D | byt-max98090.c | 107 return snd_soc_jack_add_gpiods(card->dev->parent, jack, in byt_max98090_init() 154 ret_val = devm_acpi_dev_add_driver_gpios(dev->parent, acpi_byt_max98090_gpios); in byt_max98090_probe()
|
D | cht_bsw_max98090_ti.c | 212 ret = snd_soc_jack_add_gpiods(runtime->card->dev->parent, jack, in cht_codec_init() 548 ret_val = devm_acpi_dev_add_driver_gpios(dev->parent, in snd_cht_mc_probe()
|
/sound/hda/ |
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/soc/codecs/ |
D | hdmi-codec.c | 400 ret = hcp->hcd.ops->audio_startup(dai->dev->parent, hcp->hcd.data); in hdmi_codec_startup() 406 ret = hcp->hcd.ops->get_eld(dai->dev->parent, hcp->hcd.data, in hdmi_codec_startup() 432 hcp->hcd.ops->audio_shutdown(dai->dev->parent, hcp->hcd.data); in hdmi_codec_shutdown() 486 return hcp->hcd.ops->hw_params(dai->dev->parent, hcp->hcd.data, in hdmi_codec_hw_params() 562 return hcp->hcd.ops->digital_mute(dai->dev->parent, in hdmi_codec_digital_mute() 701 ret = hcp->hcd.ops->hook_plugged_cb(component->dev->parent, in hdmi_codec_set_jack_detect()
|
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() 697 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_switch_get() 710 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_switch_put() 2025 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm5102_probe()
|
D | mc13783.c | 601 dev_get_regmap(component->dev->parent, NULL)); in mc13783_probe() 749 np = of_get_child_by_name(pdev->dev.parent->of_node, "codec"); in mc13783_codec_probe() 769 priv->mc13xxx = dev_get_drvdata(pdev->dev.parent); in mc13783_codec_probe()
|
/sound/soc/tegra/ |
D | tegra_pcm.c | 56 config->dma_dev = dev->parent; in tegra_pcm_platform_register_with_chan_names()
|
/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() 236 dev_info(pdev->dev.parent, "DAI FE name:%s\n", dai_name); in imx_audmix_probe()
|
/sound/drivers/pcsp/ |
D | pcsp_input.c | 90 input_dev->dev.parent = dev; in pcspkr_input_init()
|
/sound/soc/ |
D | soc-ac97.c | 142 gpio_priv->gpio_chip.parent = component->dev; in snd_soc_ac97_init_gpio() 189 ac97->dev.parent = component->card->dev; in snd_soc_alloc_ac97_component()
|
/sound/soc/qcom/qdsp6/ |
D | q6adm.c | 387 struct q6adm *adm = dev_get_drvdata(dev->parent); in q6adm_open() 463 struct q6adm *adm = dev_get_drvdata(dev->parent); in q6adm_matrix_map() 571 struct q6adm *adm = dev_get_drvdata(dev->parent); in q6adm_close()
|
/sound/soc/amd/raven/ |
D | acp3x-pcm-dma.c | 386 struct device *parent = component->dev->parent; in acp3x_dma_new() local 388 parent, MIN_BUFFER, MAX_BUFFER); in acp3x_dma_new()
|
D | pci-acp3x.c | 93 pdevinfo.parent = &pci->dev; in snd_acp3x_probe()
|