• Home
  • Raw
  • Download

Lines Matching refs:msr

162 	entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL);  in dao_set_left_input()
170 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input()
191 entry = kzalloc((sizeof(*entry) * daio->rscr.msr), GFP_KERNEL); in dao_set_right_input()
199 for (i = 0; i < daio->rscr.msr; i++, entry++) { in dao_set_right_input()
203 dao->imappers[daio->rscl.msr + i] = entry; in dao_set_right_input()
226 for (i = 1; i < daio->rscl.msr; i++) { in dao_clear_left_input()
244 if (!dao->imappers[daio->rscl.msr]) in dao_clear_right_input()
247 entry = dao->imappers[daio->rscl.msr]; in dao_clear_right_input()
250 for (i = 1; i < daio->rscr.msr; i++) { in dao_clear_right_input()
251 entry = dao->imappers[daio->rscl.msr + i]; in dao_clear_right_input()
253 dao->imappers[daio->rscl.msr + i] = NULL; in dao_clear_right_input()
256 kfree(dao->imappers[daio->rscl.msr]); in dao_clear_right_input()
257 dao->imappers[daio->rscl.msr] = NULL; in dao_clear_right_input()
287 static int dai_set_srt_msr(struct dai *dai, unsigned int msr) in dai_set_srt_msr() argument
291 for (rsr = 0; msr > 1; msr >>= 1) in dai_set_srt_msr()
345 err = rsc_init(&daio->rscl, idx_l, DAIO, desc->msr, hw); in daio_rsc_init()
349 err = rsc_init(&daio->rscr, idx_r, DAIO, desc->msr, hw); in daio_rsc_init()
397 dao->imappers = kzalloc(array3_size(sizeof(void *), desc->msr, 2), in dao_rsc_init()
414 conf = (desc->msr & 0x7) | (desc->passthru << 3); in dao_rsc_init()
437 if (dao->imappers[dao->daio.rscl.msr]) in dao_rsc_uninit()
456 dsc.msr = desc->msr; in dao_rsc_reinit()
468 unsigned int rsr, msr; in dai_rsc_init() local
480 for (rsr = 0, msr = desc->msr; msr > 1; msr >>= 1) in dai_rsc_init()