Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 11 of 11) sorted by relevance

/sound/soc/sh/rcar/
Dctu.c80 int nr; in rsnd_of_parse_ctu() local
89 nr = of_get_child_count(node); in rsnd_of_parse_ctu()
90 if (!nr) in rsnd_of_parse_ctu()
94 sizeof(struct rsnd_ctu_platform_info) * nr, in rsnd_of_parse_ctu()
102 info->ctu_info_nr = nr; in rsnd_of_parse_ctu()
118 int i, nr, ret; in rsnd_ctu_probe() local
126 nr = info->ctu_info_nr; in rsnd_ctu_probe()
127 if (!nr) in rsnd_ctu_probe()
130 ctu = devm_kzalloc(dev, sizeof(*ctu) * nr, GFP_KERNEL); in rsnd_ctu_probe()
134 priv->ctu_nr = nr; in rsnd_ctu_probe()
Dmix.c113 int nr; in rsnd_of_parse_mix() local
122 nr = of_get_child_count(node); in rsnd_of_parse_mix()
123 if (!nr) in rsnd_of_parse_mix()
127 sizeof(struct rsnd_mix_platform_info) * nr, in rsnd_of_parse_mix()
135 info->mix_info_nr = nr; in rsnd_of_parse_mix()
151 int i, nr, ret; in rsnd_mix_probe() local
159 nr = info->mix_info_nr; in rsnd_mix_probe()
160 if (!nr) in rsnd_mix_probe()
163 mix = devm_kzalloc(dev, sizeof(*mix) * nr, GFP_KERNEL); in rsnd_mix_probe()
167 priv->mix_nr = nr; in rsnd_mix_probe()
Ddvc.c296 int nr; in rsnd_of_parse_dvc() local
305 nr = of_get_child_count(node); in rsnd_of_parse_dvc()
306 if (!nr) in rsnd_of_parse_dvc()
310 sizeof(struct rsnd_dvc_platform_info) * nr, in rsnd_of_parse_dvc()
318 info->dvc_info_nr = nr; in rsnd_of_parse_dvc()
333 int i, nr, ret; in rsnd_dvc_probe() local
341 nr = info->dvc_info_nr; in rsnd_dvc_probe()
342 if (!nr) in rsnd_dvc_probe()
345 dvc = devm_kzalloc(dev, sizeof(*dvc) * nr, GFP_KERNEL); in rsnd_dvc_probe()
349 priv->dvc_nr = nr; in rsnd_dvc_probe()
Dssi.c723 int nr, i; in rsnd_of_parse_ssi() local
729 nr = of_get_child_count(node); in rsnd_of_parse_ssi()
730 if (!nr) in rsnd_of_parse_ssi()
734 sizeof(struct rsnd_ssi_platform_info) * nr, in rsnd_of_parse_ssi()
742 info->ssi_info_nr = nr; in rsnd_of_parse_ssi()
786 int i, nr, ret; in rsnd_ssi_probe() local
793 nr = info->ssi_info_nr; in rsnd_ssi_probe()
794 ssi = devm_kzalloc(dev, sizeof(*ssi) * nr, GFP_KERNEL); in rsnd_ssi_probe()
799 priv->ssi_nr = nr; in rsnd_ssi_probe()
Dsrc.c1012 int nr, i; in rsnd_of_parse_src() local
1021 nr = of_get_child_count(src_node); in rsnd_of_parse_src()
1022 if (!nr) in rsnd_of_parse_src()
1026 sizeof(struct rsnd_src_platform_info) * nr, in rsnd_of_parse_src()
1034 info->src_info_nr = nr; in rsnd_of_parse_src()
1057 int i, nr, ret; in rsnd_src_probe() local
1076 nr = info->src_info_nr; in rsnd_src_probe()
1077 if (!nr) in rsnd_src_probe()
1080 src = devm_kzalloc(dev, sizeof(*src) * nr, GFP_KERNEL); in rsnd_src_probe()
1084 priv->src_nr = nr; in rsnd_src_probe()
Ddma.c516 int nr, i; in rsnd_dma_of_path() local
521 nr = 0; in rsnd_dma_of_path()
524 nr += !!rsnd_io_to_mod(io, i); in rsnd_dma_of_path()
546 for (i = 1; i < nr; i++) { in rsnd_dma_of_path()
570 *mod_from = mod[nr - 1]; in rsnd_dma_of_path()
571 *mod_to = mod[nr]; in rsnd_dma_of_path()
579 for (i = 0; i <= nr; i++) { in rsnd_dma_of_path()
Dcore.c735 int nr, i; in rsnd_of_parse_dai() local
745 nr = of_get_child_count(dai_node); in rsnd_of_parse_dai()
746 if (!nr) in rsnd_of_parse_dai()
750 sizeof(struct rsnd_dai_platform_info) * nr, in rsnd_of_parse_dai()
757 info->dai_info_nr = nr; in rsnd_of_parse_dai()
/sound/oss/
Dwaveartist.c1145 int ret = 0, val, nr; in waveartist_mixer_ioctl() local
1163 nr = cmd & 0xff; in waveartist_mixer_ioctl()
1169 switch (nr) { in waveartist_mixer_ioctl()
1176 if (nr < SOUND_MIXER_NRDEVICES && in waveartist_mixer_ioctl()
1177 devc->mix->supported_devs & (1 << nr)) in waveartist_mixer_ioctl()
1178 ret = waveartist_set_mixer(devc, nr, val); in waveartist_mixer_ioctl()
1185 switch (nr) { in waveartist_mixer_ioctl()
1207 if (nr < SOUND_MIXER_NRDEVICES) in waveartist_mixer_ioctl()
1208 ret = devc->mix->get_mixer(devc, nr); in waveartist_mixer_ioctl()
/sound/pci/au88x0/
Dau88x0_pcm.c614 static int snd_vortex_new_pcm(vortex_t *chip, int idx, int nr) in snd_vortex_new_pcm() argument
627 nr_capt = nr; in snd_vortex_new_pcm()
630 err = snd_pcm_new(chip->card, vortex_pcm_prettyname[idx], idx, nr, in snd_vortex_new_pcm()
Dau88x0.h290 static int snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr);
/sound/soc/codecs/
Dadau1373.c1347 unsigned int nr, uint8_t *drc) in adau1373_load_drc_settings() argument
1352 regmap_write(adau1373->regmap, ADAU1373_DRC(nr) + i, drc[i]); in adau1373_load_drc_settings()