Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 41) sorted by relevance

12

/sound/core/
Djack.c80 if (!jack->input_dev->dev.parent) in snd_jack_dev_register()
81 jack->input_dev->dev.parent = snd_card_get_device_link(card); in snd_jack_dev_register()
175 void snd_jack_set_parent(struct snd_jack *jack, struct device *parent) in snd_jack_set_parent() argument
179 jack->input_dev->dev.parent = parent; in snd_jack_set_parent()
Dinfo.c799 struct snd_info_entry *parent) in snd_info_create_module_entry() argument
804 entry->parent = parent; in snd_info_create_module_entry()
823 struct snd_info_entry * parent) in snd_info_create_card_entry() argument
829 entry->parent = parent; in snd_info_create_card_entry()
848 root = entry->parent == NULL ? snd_proc_root : entry->parent->p; in snd_info_disconnect()
949 root = entry->parent == NULL ? snd_proc_root : entry->parent->p; in snd_info_register()
967 if (entry->parent) in snd_info_register()
968 list_add_tail(&entry->list, &entry->parent->children); in snd_info_register()
Dinit.c185 int snd_card_new(struct device *parent, int idx, const char *xid, in snd_card_new() argument
220 dev_err(parent, "cannot find the slot for index %d (range 0-%i), error: %d\n", in snd_card_new()
229 card->dev = parent; in snd_card_new()
246 card->card_dev.parent = parent; in snd_card_new()
258 dev_err(parent, "unable to register control minors\n"); in snd_card_new()
263 dev_err(parent, "unable to create card info\n"); in snd_card_new()
/sound/soc/jz4740/
Djz4740-i2s.c276 struct clk *parent; in jz4740_i2s_set_sysclk() local
281 parent = clk_get(NULL, "ext"); in jz4740_i2s_set_sysclk()
282 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk()
285 parent = clk_get(NULL, "pll half"); in jz4740_i2s_set_sysclk()
286 clk_set_parent(i2s->clk_i2s, parent); in jz4740_i2s_set_sysclk()
292 clk_put(parent); in jz4740_i2s_set_sysclk()
/sound/soc/sh/rcar/
Dssi.c65 struct rsnd_ssi *parent; member
89 #define rsnd_ssi_clk_from_parent(ssi) ((ssi)->parent)
194 rsnd_ssi_hw_start(ssi->parent, rdai, io); in rsnd_ssi_hw_start()
244 rsnd_ssi_hw_stop(ssi->parent, rdai); in rsnd_ssi_hw_stop()
557 ssi->parent = rsnd_mod_to_ssi(rsnd_ssi_mod_get(priv, 0)); in rsnd_ssi_parent_clk_setup()
560 ssi->parent = rsnd_mod_to_ssi(rsnd_ssi_mod_get(priv, 3)); in rsnd_ssi_parent_clk_setup()
563 ssi->parent = rsnd_mod_to_ssi(rsnd_ssi_mod_get(priv, 7)); in rsnd_ssi_parent_clk_setup()
/sound/aoa/soundbus/i2sbus/
Dcore.c120 struct device_node *parent; in i2sbus_get_and_fixup_rsrc() local
136 parent = of_get_parent(np); in i2sbus_get_and_fixup_rsrc()
138 rc = of_address_to_resource(parent, pindex, res); in i2sbus_get_and_fixup_rsrc()
149 of_node_put(parent); in i2sbus_get_and_fixup_rsrc()
226 dev->sound.ofdev.dev.parent = &macio->ofdev.dev; in i2sbus_add_dev()
/sound/ppc/
Dpmac.c917 for (mio = chip->node->parent; mio; mio = mio->parent) { in detect_byte_swap()
984 if (chip->node && chip->node->parent && in snd_pmac_detect()
985 chip->node->parent->parent) { in snd_pmac_detect()
986 if (of_device_is_compatible(chip->node->parent->parent, in snd_pmac_detect()
996 if (sound->parent == chip->node) in snd_pmac_detect()
1224 if (of_address_to_resource(np->parent, i, in snd_pmac_new()
1322 for (mio = chip->node->parent; mio; mio = mio->parent) { in snd_pmac_new()
Dbeep.c246 input_dev->dev.parent = &chip->pdev->dev; in snd_pmac_attach_beep()
/sound/soc/tegra/
Dtegra_pcm.c70 config->dma_dev = dev->parent; in tegra_pcm_platform_register_with_chan_names()
/sound/drivers/pcsp/
Dpcsp_input.c95 input_dev->dev.parent = dev; in pcspkr_input_init()
/sound/soc/codecs/
Dwm5102.c584 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm5102_sysclk_ev()
619 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm5102_out_comp_coeff_get()
634 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm5102_out_comp_coeff_put()
649 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm5102_out_comp_switch_get()
662 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm5102_out_comp_switch_put()
1893 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm5102_probe()
Dmc13783.c733 return dev_get_regmap(dev->parent, NULL); in mc13783_get_regmap()
763 np = of_get_child_by_name(pdev->dev.parent->of_node, "codec"); in mc13783_codec_probe()
783 priv->mc13xxx = dev_get_drvdata(pdev->dev.parent); in mc13783_codec_probe()
Dsi476x.c236 return dev_get_regmap(dev->parent, NULL); in si476x_get_regmap()
Dwm8997.c88 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm8997_sysclk_ev()
1113 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm8997_probe()
Dwm5110.c138 struct arizona *arizona = dev_get_drvdata(codec->dev->parent); in wm5110_sysclk_ev()
1668 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm5110_probe()
Dtwl6040.c1120 struct twl6040 *twl6040 = dev_get_drvdata(codec->dev->parent); in twl6040_probe()
/sound/soc/intel/
Dbyt-max98090.c113 return snd_soc_jack_add_gpiods(card->dev->parent, jack, in byt_max98090_init()
/sound/pci/cs46xx/
Ddsp_spos_scb_lib.c1587 struct dsp_scb_descriptor * parent; in cs46xx_add_record_source() local
1595 parent = find_next_free_scb (chip,ins->record_mixer_scb->sub_list_ptr); in cs46xx_add_record_source()
1598 parent = ins->record_mixer_scb; in cs46xx_add_record_source()
1603 source, parent, in cs46xx_add_record_source()
/sound/pci/hda/
Dhda_beep.c171 input_dev->dev.parent = &codec->dev; in snd_hda_do_attach()
/sound/soc/fsl/
Dp1022_rdk.c204 struct device *dev = pdev->dev.parent; in p1022_rdk_probe()
Dmpc8610_hpcd.c190 struct device *dev = pdev->dev.parent; in mpc8610_hpcd_probe()
Dp1022_ds.c200 struct device *dev = pdev->dev.parent; in p1022_ds_probe()
/sound/oss/
Ddmabuf.c1174 int parent = adev->parent_dev - 1; in DMAbuf_init() local
1175 adev->dmap_out = audio_devs[parent]->dmap_out; in DMAbuf_init()
1176 adev->dmap_in = audio_devs[parent]->dmap_in; in DMAbuf_init()
/sound/sparc/
Dcs4231.c2086 if (!strcmp(op->dev.of_node->parent->name, "ebus")) in cs4231_probe()
2090 if (!strcmp(op->dev.of_node->parent->name, "sbus") || in cs4231_probe()
2091 !strcmp(op->dev.of_node->parent->name, "sbi")) in cs4231_probe()
/sound/aoa/fabrics/
Dlayout.c1032 ldev->gpio.node = sound->parent; in aoa_fabric_layout_probe()

12