Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 9 of 9) sorted by relevance

/sound/soc/generic/
Dsimple-card-utils.c36 char *prefix, in asoc_simple_parse_convert() argument
41 if (!prefix) in asoc_simple_parse_convert()
42 prefix = ""; in asoc_simple_parse_convert()
45 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in asoc_simple_parse_convert()
49 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in asoc_simple_parse_convert()
57 char *prefix, in asoc_simple_parse_daifmt() argument
64 daifmt = snd_soc_daifmt_parse_format(node, prefix); in asoc_simple_parse_daifmt()
66 snd_soc_daifmt_parse_clock_provider_as_phandle(node, prefix, &bitclkmaster, &framemaster); in asoc_simple_parse_daifmt()
114 char *prefix) in asoc_simple_parse_card_name() argument
118 if (!prefix) in asoc_simple_parse_card_name()
[all …]
Dsimple-card.c122 char *prefix) in simple_parse_mclk_fs() argument
130 snprintf(prop, sizeof(prop), "%smclk-fs", prefix); in simple_parse_mclk_fs()
140 char *prefix, in simple_parse_node() argument
159 simple_parse_mclk_fs(top, np, dai_props, prefix); in simple_parse_node()
180 char *prefix, char *name) in simple_link_init() argument
187 prefix, &dai_link->dai_fmt); in simple_link_init()
208 char *prefix = ""; in simple_dai_link_of_dpcm() local
216 prefix = PREFIX; in simple_dai_link_of_dpcm()
229 ret = simple_parse_node(priv, np, li, prefix, &is_single_links); in simple_dai_link_of_dpcm()
249 ret = simple_parse_node(priv, np, li, prefix, NULL); in simple_dai_link_of_dpcm()
[all …]
/sound/soc/ti/
Dj721e-evm.c460 struct j721e_audio_clocks *clocks, char *prefix) in j721e_get_clocks() argument
466 clocks->target = devm_clk_get(dev, prefix); in j721e_get_clocks()
471 prefix, ret); in j721e_get_clocks()
475 clk_name = kasprintf(GFP_KERNEL, "%s-48000", prefix); in j721e_get_clocks()
484 dev_dbg(dev, "no 48KHz parent for %s: %d\n", prefix, ret); in j721e_get_clocks()
492 clk_name = kasprintf(GFP_KERNEL, "%s-44100", prefix); in j721e_get_clocks()
501 dev_dbg(dev, "no 44.1KHz parent for %s: %d\n", prefix, ret); in j721e_get_clocks()
512 prefix); in j721e_get_clocks()
/sound/soc/
Dsoc-core.c2206 const char *prefix) in snd_soc_cnew() argument
2218 if (prefix) { in snd_soc_cnew()
2219 name = kasprintf(GFP_KERNEL, "%s %s", prefix, long_name); in snd_soc_cnew()
2238 const char *prefix, void *data) in snd_soc_add_controls() argument
2245 control->name, prefix)); in snd_soc_add_controls()
3054 const char *prefix) in snd_soc_daifmt_parse_format() argument
3076 if (!prefix) in snd_soc_daifmt_parse_format()
3077 prefix = ""; in snd_soc_daifmt_parse_format()
3086 snprintf(prop, sizeof(prop), "%sformat", prefix); in snd_soc_daifmt_parse_format()
3104 snprintf(prop, sizeof(prop), "%scontinuous-clock", prefix); in snd_soc_daifmt_parse_format()
[all …]
Dsoc-dapm.c882 const char *prefix; in dapm_create_or_share_kcontrol() local
891 prefix = soc_dapm_prefix(dapm); in dapm_create_or_share_kcontrol()
892 if (prefix) in dapm_create_or_share_kcontrol()
893 prefix_len = strlen(prefix) + 1; in dapm_create_or_share_kcontrol()
951 prefix); in dapm_create_or_share_kcontrol()
2538 const char *prefix = soc_dapm_prefix(dapm); in dapm_find_widget() local
2540 if (prefix) { in dapm_find_widget()
2542 prefix, pin); in dapm_find_widget()
2938 const char *prefix; in snd_soc_dapm_add_route() local
2943 prefix = soc_dapm_prefix(dapm); in snd_soc_dapm_add_route()
[all …]
Dsoc-topology.c323 const struct snd_kcontrol_new *control_new, const char *prefix, in soc_tplg_add_dcontrol() argument
328 *kcontrol = snd_soc_cnew(control_new, data, control_new->name, prefix); in soc_tplg_add_dcontrol()
/sound/pci/ac97/
Dac97_proc.c418 const char *prefix; in snd_ac97_proc_init() local
422 prefix = ac97_is_audio(ac97) ? "ac97" : "mc97"; in snd_ac97_proc_init()
423 sprintf(name, "%s#%d-%d", prefix, ac97->addr, ac97->num); in snd_ac97_proc_init()
429 sprintf(name, "%s#%d-%d+regs", prefix, ac97->addr, ac97->num); in snd_ac97_proc_init()
/sound/usb/bcd2000/
Dbcd2000.c68 static void bcd2000_dump_buffer(const char *prefix, const char *buf, int len) in bcd2000_dump_buffer() argument
70 print_hex_dump(KERN_DEBUG, prefix, in bcd2000_dump_buffer()
75 static void bcd2000_dump_buffer(const char *prefix, const char *buf, int len) {} in bcd2000_dump_buffer() argument
/sound/soc/meson/
Dmeson-card-utils.c102 const char *prefix) in meson_card_set_link_name() argument
105 prefix, node->full_name); in meson_card_set_link_name()