Home
last modified time | relevance | path

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

/sound/soc/sh/rcar/
Dcmd.c148 int i, nr, ret; in rsnd_cmd_probe() local
155 nr = priv->dvc_nr; in rsnd_cmd_probe()
156 if (!nr) in rsnd_cmd_probe()
159 cmd = devm_kzalloc(dev, sizeof(*cmd) * nr, GFP_KERNEL); in rsnd_cmd_probe()
163 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.c254 int i, nr, ret; in rsnd_ssiu_probe() local
257 nr = priv->ssi_nr; in rsnd_ssiu_probe()
258 ssiu = devm_kzalloc(dev, sizeof(*ssiu) * nr, GFP_KERNEL); in rsnd_ssiu_probe()
263 priv->ssiu_nr = nr; in rsnd_ssiu_probe()
Ddvc.c347 int i, nr, ret; in rsnd_dvc_probe() local
357 nr = of_get_child_count(node); in rsnd_dvc_probe()
358 if (!nr) { in rsnd_dvc_probe()
363 dvc = devm_kzalloc(dev, sizeof(*dvc) * nr, GFP_KERNEL); in rsnd_dvc_probe()
369 priv->dvc_nr = nr; in rsnd_dvc_probe()
Dctu.c357 int i, nr, ret; in rsnd_ctu_probe() local
367 nr = of_get_child_count(node); in rsnd_ctu_probe()
368 if (!nr) { in rsnd_ctu_probe()
373 ctu = devm_kzalloc(dev, sizeof(*ctu) * nr, GFP_KERNEL); in rsnd_ctu_probe()
379 priv->ctu_nr = nr; in rsnd_ctu_probe()
Dsrc.c544 int i, nr, ret; in rsnd_src_probe() local
554 nr = of_get_child_count(node); in rsnd_src_probe()
555 if (!nr) { in rsnd_src_probe()
560 src = devm_kzalloc(dev, sizeof(*src) * nr, GFP_KERNEL); in rsnd_src_probe()
566 priv->src_nr = nr; in rsnd_src_probe()
Dcore.c1084 int nr; in rsnd_dai_probe() local
1090 nr = of_graph_get_endpoint_count(dai_node); in rsnd_dai_probe()
1092 nr = of_get_child_count(dai_node); in rsnd_dai_probe()
1094 if (!nr) in rsnd_dai_probe()
1097 rdrv = devm_kzalloc(dev, sizeof(*rdrv) * nr, GFP_KERNEL); in rsnd_dai_probe()
1098 rdai = devm_kzalloc(dev, sizeof(*rdai) * nr, GFP_KERNEL); in rsnd_dai_probe()
1102 priv->rdai_nr = nr; in rsnd_dai_probe()
Dssi.c1103 int i, nr, ret; in rsnd_ssi_probe() local
1109 nr = of_get_child_count(node); in rsnd_ssi_probe()
1110 if (!nr) { in rsnd_ssi_probe()
1115 ssi = devm_kzalloc(dev, sizeof(*ssi) * nr, GFP_KERNEL); in rsnd_ssi_probe()
1122 priv->ssi_nr = nr; in rsnd_ssi_probe()
Ddma.c688 int nr, i, idx; in rsnd_dma_of_path() local
693 nr = 0; in rsnd_dma_of_path()
696 nr += !!rsnd_io_to_mod(io, i); in rsnd_dma_of_path()
719 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()