/sound/soc/generic/ |
D | simple-card-utils.c | 40 char prop[128]; in asoc_simple_parse_convert() local 46 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in asoc_simple_parse_convert() 47 of_property_read_u32(np, prop, &data->convert_rate); in asoc_simple_parse_convert() 50 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in asoc_simple_parse_convert() 51 of_property_read_u32(np, prop, &data->convert_channels); in asoc_simple_parse_convert() 131 char prop[128]; in asoc_simple_parse_card_name() local 133 snprintf(prop, sizeof(prop), "%sname", prefix); in asoc_simple_parse_card_name() 134 ret = snd_soc_of_parse_card_name(card, prop); in asoc_simple_parse_card_name() 403 char prop[128]; in asoc_simple_parse_routing() local 408 snprintf(prop, sizeof(prop), "%s%s", prefix, "routing"); in asoc_simple_parse_routing() [all …]
|
D | simple-card.c | 102 char prop[128]; in simple_parse_mclk_fs() local 104 snprintf(prop, sizeof(prop), "%smclk-fs", PREFIX); in simple_parse_mclk_fs() 105 of_property_read_u32(top, prop, &props->mclk_fs); in simple_parse_mclk_fs() 107 snprintf(prop, sizeof(prop), "%smclk-fs", prefix); in simple_parse_mclk_fs() 108 of_property_read_u32(node, prop, &props->mclk_fs); in simple_parse_mclk_fs() 109 of_property_read_u32(cpu, prop, &props->mclk_fs); in simple_parse_mclk_fs() 110 of_property_read_u32(codec, prop, &props->mclk_fs); in simple_parse_mclk_fs() 259 char prop[128]; in simple_dai_link_of() local 282 snprintf(prop, sizeof(prop), "%splat", prefix); in simple_dai_link_of() 283 plat = of_get_child_by_name(node, prop); in simple_dai_link_of()
|
/sound/soc/codecs/ |
D | ak4613.c | 617 char prop[32]; in ak4613_parse_of() local 622 snprintf(prop, sizeof(prop), "asahi-kasei,in%d-single-end", i + 1); in ak4613_parse_of() 623 if (!of_get_property(np, prop, NULL)) in ak4613_parse_of() 629 snprintf(prop, sizeof(prop), "asahi-kasei,out%d-single-end", i + 1); in ak4613_parse_of() 630 if (!of_get_property(np, prop, NULL)) in ak4613_parse_of()
|
D | arizona.c | 2788 struct property *prop; in arizona_of_get_audio_pdata() local 2796 of_property_for_each_u32(np, "wlf,inmode", prop, cur, val) { in arizona_of_get_audio_pdata() 2805 of_property_for_each_u32(np, "wlf,dmic-ref", prop, cur, val) { in arizona_of_get_audio_pdata() 2814 of_property_for_each_u32(np, "wlf,out-mono", prop, cur, val) { in arizona_of_get_audio_pdata() 2823 of_property_for_each_u32(np, "wlf,max-channels-clocked", prop, cur, val) { in arizona_of_get_audio_pdata() 2832 of_property_for_each_u32(np, "wlf,out-volume-limit", prop, cur, val) { in arizona_of_get_audio_pdata()
|
/sound/ppc/ |
D | pmac.c | 922 const unsigned int *prop; in snd_pmac_detect() local 984 prop = of_get_property(sound, "sub-frame", NULL); in snd_pmac_detect() 985 if (prop && *prop < 16) in snd_pmac_detect() 986 chip->subframe = *prop; in snd_pmac_detect() 987 prop = of_get_property(sound, "layout-id", NULL); in snd_pmac_detect() 988 if (prop) { in snd_pmac_detect() 1036 prop = of_get_property(sound, "device-id", NULL); in snd_pmac_detect() 1037 if (prop) in snd_pmac_detect() 1038 chip->device_id = *prop; in snd_pmac_detect() 1068 prop = of_get_property(sound, "sample-rates", &l); in snd_pmac_detect() [all …]
|
D | tumbler.c | 1124 const u32 *prop = NULL; in tumbler_find_device() local 1134 prop = of_get_property(node, platform, NULL); in tumbler_find_device() 1135 if (prop) { in tumbler_find_device() 1136 if (prop[3] == 0x9 && prop[4] == 0x9) { in tumbler_find_device() 1140 if (prop[3] == 0x1 && prop[4] == 0x1) { in tumbler_find_device()
|
/sound/soc/ |
D | soc-core.c | 3216 char prop[128]; in snd_soc_of_parse_daifmt() local 3245 snprintf(prop, sizeof(prop), "%sformat", prefix); in snd_soc_of_parse_daifmt() 3246 ret = of_property_read_string(np, prop, &str); in snd_soc_of_parse_daifmt() 3261 snprintf(prop, sizeof(prop), "%scontinuous-clock", prefix); in snd_soc_of_parse_daifmt() 3262 if (of_property_read_bool(np, prop)) in snd_soc_of_parse_daifmt() 3272 snprintf(prop, sizeof(prop), "%sbitclock-inversion", prefix); in snd_soc_of_parse_daifmt() 3273 bit = !!of_get_property(np, prop, NULL); in snd_soc_of_parse_daifmt() 3275 snprintf(prop, sizeof(prop), "%sframe-inversion", prefix); in snd_soc_of_parse_daifmt() 3276 frame = !!of_get_property(np, prop, NULL); in snd_soc_of_parse_daifmt() 3298 snprintf(prop, sizeof(prop), "%sbitclock-master", prefix); in snd_soc_of_parse_daifmt() [all …]
|
/sound/soc/ti/ |
D | omap-twl4030.c | 253 struct property *prop; in omap_twl4030_probe() local 286 prop = of_find_property(node, "ti,audio-routing", NULL); in omap_twl4030_probe() 287 if (prop) { in omap_twl4030_probe()
|
D | omap-mcbsp.c | 520 #define THRESHOLD_PROP_BUILDER(prop) \ argument 521 static ssize_t prop##_show(struct device *dev, \ 526 return sprintf(buf, "%u\n", mcbsp->prop); \ 529 static ssize_t prop##_store(struct device *dev, \ 544 mcbsp->prop = val; \ 548 static DEVICE_ATTR(prop, 0644, prop##_show, prop##_store)
|
/sound/soc/fsl/ |
D | mpc5200_dma.c | 376 const __be32 *prop; in mpc5200_audio_dma_create() local 400 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create() 401 if (!prop || size < sizeof *prop) { in mpc5200_audio_dma_create() 408 psc_dma->id = be32_to_cpu(*prop); in mpc5200_audio_dma_create()
|
/sound/soc/sh/rcar/ |
D | adg.c | 408 struct property *prop; in rsnd_adg_get_clkout() local 438 prop = of_find_property(np, "clock-frequency", NULL); in rsnd_adg_get_clkout() 439 if (!prop) in rsnd_adg_get_clkout() 442 req_size = prop->length / sizeof(u32); in rsnd_adg_get_clkout()
|
/sound/soc/sh/ |
D | fsi.c | 1846 char prop[128]; in fsi_of_parse() local 1858 sprintf(prop, "%s,%s", name, of_parse_property[i].name); in fsi_of_parse() 1859 if (of_get_property(np, prop, NULL)) in fsi_of_parse()
|