Home
last modified time | relevance | path

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

/sound/soc/sh/rcar/
Dcmd.c147 int i, nr, ret; in rsnd_cmd_probe() local
154 nr = priv->dvc_nr; in rsnd_cmd_probe()
155 if (!nr) in rsnd_cmd_probe()
158 cmd = devm_kzalloc(dev, sizeof(*cmd) * nr, GFP_KERNEL); in rsnd_cmd_probe()
162 priv->cmd_nr = nr; in rsnd_cmd_probe()
Dmix.c135 int i, nr, ret; in rsnd_mix_probe() local
145 nr = of_get_child_count(node); in rsnd_mix_probe()
146 if (!nr) { in rsnd_mix_probe()
151 mix = devm_kzalloc(dev, sizeof(*mix) * nr, GFP_KERNEL); in rsnd_mix_probe()
157 priv->mix_nr = nr; in rsnd_mix_probe()
Dssiu.c196 int i, nr, ret; in rsnd_ssiu_probe() local
199 nr = priv->ssi_nr; in rsnd_ssiu_probe()
200 ssiu = devm_kzalloc(dev, sizeof(*ssiu) * nr, GFP_KERNEL); in rsnd_ssiu_probe()
205 priv->ssiu_nr = nr; in rsnd_ssiu_probe()
Ddvc.c359 int i, nr, ret; in rsnd_dvc_probe() local
369 nr = of_get_child_count(node); in rsnd_dvc_probe()
370 if (!nr) { in rsnd_dvc_probe()
375 dvc = devm_kzalloc(dev, sizeof(*dvc) * nr, GFP_KERNEL); in rsnd_dvc_probe()
381 priv->dvc_nr = nr; in rsnd_dvc_probe()
Dctu.c351 int i, nr, ret; in rsnd_ctu_probe() local
361 nr = of_get_child_count(node); in rsnd_ctu_probe()
362 if (!nr) { in rsnd_ctu_probe()
367 ctu = devm_kzalloc(dev, sizeof(*ctu) * nr, GFP_KERNEL); in rsnd_ctu_probe()
373 priv->ctu_nr = nr; in rsnd_ctu_probe()
Dsrc.c552 int i, nr, ret; in rsnd_src_probe() local
562 nr = of_get_child_count(node); in rsnd_src_probe()
563 if (!nr) { in rsnd_src_probe()
568 src = devm_kzalloc(dev, sizeof(*src) * nr, GFP_KERNEL); in rsnd_src_probe()
574 priv->src_nr = nr; in rsnd_src_probe()
Dssi.c910 int i, nr, ret; in rsnd_ssi_probe() local
916 nr = of_get_child_count(node); in rsnd_ssi_probe()
917 if (!nr) { in rsnd_ssi_probe()
922 ssi = devm_kzalloc(dev, sizeof(*ssi) * nr, GFP_KERNEL); in rsnd_ssi_probe()
929 priv->ssi_nr = nr; in rsnd_ssi_probe()
Dcore.c736 int nr, dai_i, io_i; in rsnd_dai_probe() local
740 nr = of_get_child_count(dai_node); in rsnd_dai_probe()
741 if (!nr) { in rsnd_dai_probe()
746 rdrv = devm_kzalloc(dev, sizeof(*rdrv) * nr, GFP_KERNEL); in rsnd_dai_probe()
747 rdai = devm_kzalloc(dev, sizeof(*rdai) * nr, GFP_KERNEL); in rsnd_dai_probe()
753 priv->rdai_nr = nr; in rsnd_dai_probe()
Ddma.c571 int nr, i, idx; in rsnd_dma_of_path() local
576 nr = 0; in rsnd_dma_of_path()
579 nr += !!rsnd_io_to_mod(io, i); in rsnd_dma_of_path()
602 for (i = 1; i < nr; i++) { in rsnd_dma_of_path()
/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.c617 static int snd_vortex_new_pcm(vortex_t *chip, int idx, int nr) in snd_vortex_new_pcm() argument
630 nr_capt = nr; in snd_vortex_new_pcm()
633 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.c1329 unsigned int nr, uint8_t *drc) in adau1373_load_drc_settings() argument
1334 regmap_write(adau1373->regmap, ADAU1373_DRC(nr) + i, drc[i]); in adau1373_load_drc_settings()