Home
last modified time | relevance | path

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

/sound/soc/sh/rcar/
Dssiu.c397 int i, nr, ret; in rsnd_ssiu_probe() local
408 nr = of_get_child_count(node); in rsnd_ssiu_probe()
410 nr = priv->ssi_nr; in rsnd_ssiu_probe()
412 ssiu = devm_kcalloc(dev, nr, sizeof(*ssiu), GFP_KERNEL); in rsnd_ssiu_probe()
417 priv->ssiu_nr = nr; in rsnd_ssiu_probe()
425 nr = 0; in rsnd_ssiu_probe()
433 nr = ARRAY_SIZE(gen2_id); in rsnd_ssiu_probe()
436 nr = ARRAY_SIZE(gen3_id); in rsnd_ssiu_probe()
452 for (j = 0; j < nr; j++) { in rsnd_ssiu_probe()
Dcmd.c145 int i, nr, ret; in rsnd_cmd_probe() local
152 nr = priv->dvc_nr; in rsnd_cmd_probe()
153 if (!nr) in rsnd_cmd_probe()
156 cmd = devm_kcalloc(dev, nr, sizeof(*cmd), GFP_KERNEL); in rsnd_cmd_probe()
160 priv->cmd_nr = nr; in rsnd_cmd_probe()
Dctu.c304 int i, nr, ret; in rsnd_ctu_probe() local
314 nr = of_get_child_count(node); in rsnd_ctu_probe()
315 if (!nr) { in rsnd_ctu_probe()
320 ctu = devm_kcalloc(dev, nr, sizeof(*ctu), GFP_KERNEL); in rsnd_ctu_probe()
326 priv->ctu_nr = nr; in rsnd_ctu_probe()
Dmix.c278 int i, nr, ret; in rsnd_mix_probe() local
288 nr = of_get_child_count(node); in rsnd_mix_probe()
289 if (!nr) { in rsnd_mix_probe()
294 mix = devm_kcalloc(dev, nr, sizeof(*mix), GFP_KERNEL); in rsnd_mix_probe()
300 priv->mix_nr = nr; in rsnd_mix_probe()
Ddvc.c314 int i, nr, ret; in rsnd_dvc_probe() local
324 nr = of_get_child_count(node); in rsnd_dvc_probe()
325 if (!nr) { in rsnd_dvc_probe()
330 dvc = devm_kcalloc(dev, nr, sizeof(*dvc), GFP_KERNEL); in rsnd_dvc_probe()
336 priv->dvc_nr = nr; in rsnd_dvc_probe()
Dsrc.c620 int i, nr, ret; in rsnd_src_probe() local
630 nr = of_get_child_count(node); in rsnd_src_probe()
631 if (!nr) { in rsnd_src_probe()
636 src = devm_kcalloc(dev, nr, sizeof(*src), GFP_KERNEL); in rsnd_src_probe()
642 priv->src_nr = nr; in rsnd_src_probe()
Dssi.c1104 int i, nr, ret; in rsnd_ssi_probe() local
1110 nr = of_get_child_count(node); in rsnd_ssi_probe()
1111 if (!nr) { in rsnd_ssi_probe()
1116 ssi = devm_kcalloc(dev, nr, sizeof(*ssi), GFP_KERNEL); in rsnd_ssi_probe()
1123 priv->ssi_nr = nr; in rsnd_ssi_probe()
Dcore.c1337 int nr; in rsnd_dai_probe() local
1343 nr = of_graph_get_endpoint_count(dai_node); in rsnd_dai_probe()
1345 nr = of_get_child_count(dai_node); in rsnd_dai_probe()
1347 if (!nr) in rsnd_dai_probe()
1350 rdrv = devm_kcalloc(dev, nr, sizeof(*rdrv), GFP_KERNEL); in rsnd_dai_probe()
1351 rdai = devm_kcalloc(dev, nr, sizeof(*rdai), GFP_KERNEL); in rsnd_dai_probe()
1355 priv->rdai_nr = nr; in rsnd_dai_probe()
Ddma.c635 int nr, i, idx; in rsnd_dma_of_path() local
662 nr = 0; in rsnd_dma_of_path()
665 nr += !!rsnd_io_to_mod(io, i); in rsnd_dma_of_path()
688 for (i = 1; i < nr; i++) { in rsnd_dma_of_path()
/sound/pci/au88x0/
Dau88x0_pcm.c605 static int snd_vortex_new_pcm(vortex_t *chip, int idx, int nr) in snd_vortex_new_pcm() argument
618 nr_capt = nr; in snd_vortex_new_pcm()
621 err = snd_pcm_new(chip->card, vortex_pcm_prettyname[idx], idx, nr, in snd_vortex_new_pcm()
Dau88x0.h278 static int snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr);
/sound/ac97/
Dbus.c301 idr_remove(&ac97_adapter_idr, ac97_ctrl->nr); in ac97_adapter_release()
317 ac97_ctrl->nr = ret; in ac97_add_adapter()
/sound/soc/codecs/
Dadau1373.c1328 unsigned int nr, uint8_t *drc) in adau1373_load_drc_settings() argument
1333 regmap_write(adau1373->regmap, ADAU1373_DRC(nr) + i, drc[i]); in adau1373_load_drc_settings()