Lines Matching refs:nid
415 err = lola_codec_read(chip, str->nid, LOLA_VERB_SET_STREAM_FORMAT, in lola_set_stream_config()
426 err = lola_codec_read(chip, str[i].nid, in lola_set_stream_config()
643 int idx, int nid, int dir) in lola_init_stream() argument
648 str->nid = nid; in lola_init_stream()
653 err = lola_read_param(chip, nid, LOLA_PAR_AUDIO_WIDGET_CAP, &val); in lola_init_stream()
655 dev_err(chip->card->dev, "Can't read wcaps for 0x%x\n", nid); in lola_init_stream()
663 val, nid); in lola_init_stream()
673 val, nid); in lola_init_stream()
681 err = lola_read_param(chip, nid, LOLA_PAR_STREAM_FORMATS, &val); in lola_init_stream()
683 dev_err(chip->card->dev, "Can't read FORMATS 0x%x\n", nid); in lola_init_stream()
691 "Invalid formats 0x%x for 0x%x", val, nid); in lola_init_stream()
700 int i, nid, err; in lola_init_pcm() local
702 nid = *nidp; in lola_init_pcm()
703 for (i = 0; i < pcm->num_streams; i++, nid++) { in lola_init_pcm()
704 err = lola_init_stream(chip, &pcm->streams[i], i, nid, dir); in lola_init_pcm()
708 *nidp = nid; in lola_init_pcm()