Lines Matching refs:nid
401 err = lola_codec_read(chip, str->nid, LOLA_VERB_SET_STREAM_FORMAT, in lola_set_stream_config()
412 err = lola_codec_read(chip, str[i].nid, in lola_set_stream_config()
622 int idx, int nid, int dir) in lola_init_stream() argument
627 str->nid = nid; in lola_init_stream()
632 err = lola_read_param(chip, nid, LOLA_PAR_AUDIO_WIDGET_CAP, &val); in lola_init_stream()
634 dev_err(chip->card->dev, "Can't read wcaps for 0x%x\n", nid); in lola_init_stream()
642 val, nid); in lola_init_stream()
652 val, nid); in lola_init_stream()
660 err = lola_read_param(chip, nid, LOLA_PAR_STREAM_FORMATS, &val); in lola_init_stream()
662 dev_err(chip->card->dev, "Can't read FORMATS 0x%x\n", nid); in lola_init_stream()
670 "Invalid formats 0x%x for 0x%x", val, nid); in lola_init_stream()
679 int i, nid, err; in lola_init_pcm() local
681 nid = *nidp; in lola_init_pcm()
682 for (i = 0; i < pcm->num_streams; i++, nid++) { in lola_init_pcm()
683 err = lola_init_stream(chip, &pcm->streams[i], i, nid, dir); in lola_init_pcm()
687 *nidp = nid; in lola_init_pcm()