Home
last modified time | relevance | path

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

/sound/ppc/
Dpmac.c940 const unsigned int *prop; in snd_pmac_detect() local
1002 prop = of_get_property(sound, "sub-frame", NULL); in snd_pmac_detect()
1003 if (prop && *prop < 16) in snd_pmac_detect()
1004 chip->subframe = *prop; in snd_pmac_detect()
1005 prop = of_get_property(sound, "layout-id", NULL); in snd_pmac_detect()
1006 if (prop) { in snd_pmac_detect()
1054 prop = of_get_property(sound, "device-id", NULL); in snd_pmac_detect()
1055 if (prop) in snd_pmac_detect()
1056 chip->device_id = *prop; in snd_pmac_detect()
1086 prop = of_get_property(sound, "sample-rates", &l); in snd_pmac_detect()
[all …]
Dtumbler.c1142 const u32 *prop = NULL; in tumbler_find_device() local
1152 prop = of_get_property(node, platform, NULL); in tumbler_find_device()
1153 if (prop) { in tumbler_find_device()
1154 if (prop[3] == 0x9 && prop[4] == 0x9) { in tumbler_find_device()
1158 if (prop[3] == 0x1 && prop[4] == 0x1) { in tumbler_find_device()
/sound/soc/omap/
Domap-twl4030.c287 struct property *prop; in omap_twl4030_probe() local
314 prop = of_find_property(node, "ti,audio-routing", NULL); in omap_twl4030_probe()
315 if (prop) { in omap_twl4030_probe()
Dmcbsp.c767 #define THRESHOLD_PROP_BUILDER(prop) \ argument
768 static ssize_t prop##_show(struct device *dev, \
773 return sprintf(buf, "%u\n", mcbsp->prop); \
776 static ssize_t prop##_store(struct device *dev, \
791 mcbsp->prop = val; \
795 static DEVICE_ATTR(prop, 0644, prop##_show, prop##_store);
/sound/soc/fsl/
Dmpc5200_dma.c379 const __be32 *prop; in mpc5200_audio_dma_create() local
403 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create()
404 if (!prop || size < sizeof *prop) { in mpc5200_audio_dma_create()
411 psc_dma->id = be32_to_cpu(*prop); in mpc5200_audio_dma_create()
/sound/soc/
Dsoc-core.c4356 char prop[128]; in snd_soc_of_parse_daifmt() local
4382 snprintf(prop, sizeof(prop), "%sformat", prefix); in snd_soc_of_parse_daifmt()
4383 ret = of_property_read_string(np, prop, &str); in snd_soc_of_parse_daifmt()
4397 snprintf(prop, sizeof(prop), "%scontinuous-clock", prefix); in snd_soc_of_parse_daifmt()
4398 if (of_get_property(np, prop, NULL)) in snd_soc_of_parse_daifmt()
4408 snprintf(prop, sizeof(prop), "%sbitclock-inversion", prefix); in snd_soc_of_parse_daifmt()
4409 bit = !!of_get_property(np, prop, NULL); in snd_soc_of_parse_daifmt()
4411 snprintf(prop, sizeof(prop), "%sframe-inversion", prefix); in snd_soc_of_parse_daifmt()
4412 frame = !!of_get_property(np, prop, NULL); in snd_soc_of_parse_daifmt()
4434 snprintf(prop, sizeof(prop), "%sbitclock-master", prefix); in snd_soc_of_parse_daifmt()
[all …]
/sound/soc/sh/
Dfsi.c1901 char prop[128]; in fsi_of_parse() local
1913 sprintf(prop, "%s,%s", name, of_parse_property[i].name); in fsi_of_parse()
1914 if (of_get_property(np, prop, NULL)) in fsi_of_parse()