Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 8 of 8) sorted by relevance

/sound/soc/generic/
Dsimple-card.c334 char prop[128]; in asoc_simple_card_dai_link_of() local
343 snprintf(prop, sizeof(prop), "%scpu", prefix); in asoc_simple_card_dai_link_of()
344 cpu = of_get_child_by_name(node, prop); in asoc_simple_card_dai_link_of()
348 dev_err(dev, "%s: Can't find %s DT node\n", __func__, prop); in asoc_simple_card_dai_link_of()
352 snprintf(prop, sizeof(prop), "%splat", prefix); in asoc_simple_card_dai_link_of()
353 plat = of_get_child_by_name(node, prop); in asoc_simple_card_dai_link_of()
355 snprintf(prop, sizeof(prop), "%scodec", prefix); in asoc_simple_card_dai_link_of()
356 codec = of_get_child_by_name(node, prop); in asoc_simple_card_dai_link_of()
360 dev_err(dev, "%s: Can't find %s DT node\n", __func__, prop); in asoc_simple_card_dai_link_of()
/sound/ppc/
Dpmac.c936 const unsigned int *prop; in snd_pmac_detect() local
998 prop = of_get_property(sound, "sub-frame", NULL); in snd_pmac_detect()
999 if (prop && *prop < 16) in snd_pmac_detect()
1000 chip->subframe = *prop; in snd_pmac_detect()
1001 prop = of_get_property(sound, "layout-id", NULL); in snd_pmac_detect()
1002 if (prop) { in snd_pmac_detect()
1050 prop = of_get_property(sound, "device-id", NULL); in snd_pmac_detect()
1051 if (prop) in snd_pmac_detect()
1052 chip->device_id = *prop; in snd_pmac_detect()
1082 prop = of_get_property(sound, "sample-rates", &l); in snd_pmac_detect()
[all …]
Dtumbler.c1138 const u32 *prop = NULL; in tumbler_find_device() local
1148 prop = of_get_property(node, platform, NULL); in tumbler_find_device()
1149 if (prop) { in tumbler_find_device()
1150 if (prop[3] == 0x9 && prop[4] == 0x9) { in tumbler_find_device()
1154 if (prop[3] == 0x1 && prop[4] == 0x1) { in tumbler_find_device()
/sound/soc/omap/
Domap-twl4030.c276 struct property *prop; in omap_twl4030_probe() local
309 prop = of_find_property(node, "ti,audio-routing", NULL); in omap_twl4030_probe()
310 if (prop) { in omap_twl4030_probe()
Dmcbsp.c766 #define THRESHOLD_PROP_BUILDER(prop) \ argument
767 static ssize_t prop##_show(struct device *dev, \
772 return sprintf(buf, "%u\n", mcbsp->prop); \
775 static ssize_t prop##_store(struct device *dev, \
790 mcbsp->prop = val; \
794 static DEVICE_ATTR(prop, 0644, prop##_show, prop##_store);
/sound/soc/fsl/
Dmpc5200_dma.c372 const __be32 *prop; in mpc5200_audio_dma_create() local
396 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create()
397 if (!prop || size < sizeof *prop) { in mpc5200_audio_dma_create()
404 psc_dma->id = be32_to_cpu(*prop); in mpc5200_audio_dma_create()
/sound/soc/
Dsoc-core.c3432 char prop[128]; in snd_soc_of_parse_daifmt() local
3458 snprintf(prop, sizeof(prop), "%sformat", prefix); in snd_soc_of_parse_daifmt()
3459 ret = of_property_read_string(np, prop, &str); in snd_soc_of_parse_daifmt()
3473 snprintf(prop, sizeof(prop), "%scontinuous-clock", prefix); in snd_soc_of_parse_daifmt()
3474 if (of_get_property(np, prop, NULL)) in snd_soc_of_parse_daifmt()
3484 snprintf(prop, sizeof(prop), "%sbitclock-inversion", prefix); in snd_soc_of_parse_daifmt()
3485 bit = !!of_get_property(np, prop, NULL); in snd_soc_of_parse_daifmt()
3487 snprintf(prop, sizeof(prop), "%sframe-inversion", prefix); in snd_soc_of_parse_daifmt()
3488 frame = !!of_get_property(np, prop, NULL); in snd_soc_of_parse_daifmt()
3510 snprintf(prop, sizeof(prop), "%sbitclock-master", prefix); in snd_soc_of_parse_daifmt()
[all …]
/sound/soc/sh/
Dfsi.c1837 char prop[128]; in fsi_of_parse() local
1849 sprintf(prop, "%s,%s", name, of_parse_property[i].name); in fsi_of_parse()
1850 if (of_get_property(np, prop, NULL)) in fsi_of_parse()