/sound/soc/sh/rcar/ |
D | ssiu.c | 513 int i, nr; in rsnd_ssiu_probe() local 524 nr = rsnd_node_count(priv, node, SSIU_NAME); in rsnd_ssiu_probe() 526 nr = priv->ssi_nr; in rsnd_ssiu_probe() 528 if (!nr) in rsnd_ssiu_probe() 531 ssiu = devm_kcalloc(dev, nr, sizeof(*ssiu), GFP_KERNEL); in rsnd_ssiu_probe() 536 priv->ssiu_nr = nr; in rsnd_ssiu_probe() 544 nr = 0; in rsnd_ssiu_probe() 552 nr = ARRAY_SIZE(gen2_id); in rsnd_ssiu_probe() 555 nr = ARRAY_SIZE(gen3_id); in rsnd_ssiu_probe() 573 for (j = 0; j < nr; j++) { in rsnd_ssiu_probe()
|
D | cmd.c | 158 int i, nr; in rsnd_cmd_probe() local 165 nr = priv->dvc_nr; in rsnd_cmd_probe() 166 if (!nr) in rsnd_cmd_probe() 169 cmd = devm_kcalloc(dev, nr, sizeof(*cmd), GFP_KERNEL); in rsnd_cmd_probe() 173 priv->cmd_nr = nr; in rsnd_cmd_probe()
|
D | ctu.c | 324 int i, nr, ret; in rsnd_ctu_probe() local 334 nr = of_get_child_count(node); in rsnd_ctu_probe() 335 if (!nr) { in rsnd_ctu_probe() 340 ctu = devm_kcalloc(dev, nr, sizeof(*ctu), GFP_KERNEL); in rsnd_ctu_probe() 346 priv->ctu_nr = nr; in rsnd_ctu_probe()
|
D | mix.c | 296 int i, nr, ret; in rsnd_mix_probe() local 306 nr = of_get_child_count(node); in rsnd_mix_probe() 307 if (!nr) { in rsnd_mix_probe() 312 mix = devm_kcalloc(dev, nr, sizeof(*mix), GFP_KERNEL); in rsnd_mix_probe() 318 priv->mix_nr = nr; in rsnd_mix_probe()
|
D | dvc.c | 332 int i, nr, ret; in rsnd_dvc_probe() local 342 nr = of_get_child_count(node); in rsnd_dvc_probe() 343 if (!nr) { in rsnd_dvc_probe() 348 dvc = devm_kcalloc(dev, nr, sizeof(*dvc), GFP_KERNEL); in rsnd_dvc_probe() 354 priv->dvc_nr = nr; in rsnd_dvc_probe()
|
D | src.c | 652 int i, nr, ret; in rsnd_src_probe() local 662 nr = rsnd_node_count(priv, node, SRC_NAME); in rsnd_src_probe() 663 if (!nr) { in rsnd_src_probe() 668 src = devm_kcalloc(dev, nr, sizeof(*src), GFP_KERNEL); in rsnd_src_probe() 674 priv->src_nr = nr; in rsnd_src_probe()
|
D | ssi.c | 1166 int i, nr, ret; in rsnd_ssi_probe() local 1172 nr = rsnd_node_count(priv, node, SSI_NAME); in rsnd_ssi_probe() 1173 if (!nr) { in rsnd_ssi_probe() 1178 ssi = devm_kcalloc(dev, nr, sizeof(*ssi), GFP_KERNEL); in rsnd_ssi_probe() 1185 priv->ssi_nr = nr; in rsnd_ssi_probe()
|
D | core.c | 1418 int nr; in rsnd_dai_probe() local 1424 nr = of_graph_get_endpoint_count(dai_node); in rsnd_dai_probe() 1426 nr = of_get_child_count(dai_node); in rsnd_dai_probe() 1428 if (!nr) in rsnd_dai_probe() 1431 rdrv = devm_kcalloc(dev, nr, sizeof(*rdrv), GFP_KERNEL); in rsnd_dai_probe() 1432 rdai = devm_kcalloc(dev, nr, sizeof(*rdai), GFP_KERNEL); in rsnd_dai_probe() 1436 priv->rdai_nr = nr; in rsnd_dai_probe()
|
D | dma.c | 690 int nr, i, idx; in rsnd_dma_of_path() local 717 nr = 0; in rsnd_dma_of_path() 720 nr += !!rsnd_io_to_mod(io, i); in rsnd_dma_of_path() 743 for (i = 1; i < nr; i++) { in rsnd_dma_of_path()
|
/sound/drivers/ |
D | serial-generic.c | 306 drvdata->serdev->ctrl->nr); in snd_serial_generic_rmidi() 308 drvdata->serdev->ctrl->nr); in snd_serial_generic_rmidi() 333 sprintf(card->shortname, "SerialMIDI-%d", serdev->ctrl->nr); in snd_serial_generic_probe() 334 sprintf(card->longname, "Serial MIDI device at serial%d", serdev->ctrl->nr); in snd_serial_generic_probe()
|
/sound/pci/au88x0/ |
D | au88x0_pcm.c | 595 static int snd_vortex_new_pcm(vortex_t *chip, int idx, int nr) in snd_vortex_new_pcm() argument 608 nr_capt = nr; in snd_vortex_new_pcm() 611 err = snd_pcm_new(chip->card, vortex_pcm_prettyname[idx], idx, nr, in snd_vortex_new_pcm()
|
D | au88x0.h | 278 static int snd_vortex_new_pcm(vortex_t * vortex, int idx, int nr);
|
/sound/ac97/ |
D | bus.c | 301 idr_remove(&ac97_adapter_idr, ac97_ctrl->nr); in ac97_adapter_release() 317 ac97_ctrl->nr = ret; in ac97_add_adapter()
|
/sound/soc/codecs/ |
D | adau1373.c | 1328 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()
|