Home
last modified time | relevance | path

Searched refs:msr (Results 1 – 15 of 15) sorted by relevance

/sound/pci/ctxfi/
Dctdaio.c166 entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL); in dao_set_left_input()
174 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input()
195 entry = kzalloc((sizeof(*entry) * daio->rscr.msr), GFP_KERNEL); in dao_set_right_input()
203 for (i = 0; i < daio->rscr.msr; i++, entry++) { in dao_set_right_input()
207 dao->imappers[daio->rscl.msr + i] = entry; in dao_set_right_input()
230 for (i = 1; i < daio->rscl.msr; i++) { in dao_clear_left_input()
248 if (!dao->imappers[daio->rscl.msr]) in dao_clear_right_input()
251 entry = dao->imappers[daio->rscl.msr]; in dao_clear_right_input()
254 for (i = 1; i < daio->rscr.msr; i++) { in dao_clear_right_input()
255 entry = dao->imappers[daio->rscl.msr + i]; in dao_clear_right_input()
[all …]
Dctatc.c261 desc.msr = atc->msr; in atc_pcm_playback_prepare()
268 (atc->rsr * atc->msr)); in atc_pcm_playback_prepare()
283 mix_dsc.msr = atc->msr; in atc_pcm_playback_prepare()
387 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start()
448 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position()
456 unsigned int msr:8; member
468 pitch = atc_get_pitch((atc->rsr * atc->msr), in setup_src_node_conf()
472 if (1 == atc->msr) { /* FIXME: do we really need SRC here if pitch==1 */ in setup_src_node_conf()
475 conf[0].mix_msr = conf[0].imp_msr = conf[0].msr = 1; in setup_src_node_conf()
477 } else if (2 <= atc->msr) { in setup_src_node_conf()
[all …]
Dctsrc.c186 if (src->rsc.msr > 1) { in src_commit_write()
197 for (i = 1; i < src->rsc.msr; i++) { in src_commit_write()
232 unsigned int rsr, msr; in src_default_config_memrd() local
236 for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) in src_default_config_memrd()
258 for (msr = 1; msr < src->rsc.msr; msr++) { in src_default_config_memrd()
300 unsigned int rsr, msr; in src_default_config_arcrw() local
305 for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) in src_default_config_arcrw()
327 for (msr = 0; msr < src->rsc.msr; msr++) { in src_default_config_arcrw()
369 err = rsc_init(&p->rsc, idx + i, SRC, desc->msr, mgr->mgr.hw); in src_rsc_init()
496 for (i = 0; i < src->rsc.msr; i++) { in src_enable_s()
[all …]
Dctresource.c119 for (i = 0; (i < 8) && (!(rsc->msr & (0x1 << i))); ) in rsc_next_conj()
138 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw) in rsc_init() argument
145 rsc->msr = msr; in rsc_init()
204 rsc->msr = 0; in rsc_uninit()
Dctdaio.h69 unsigned int msr:4; member
87 int (*set_srt_msr)(struct dai *dai, unsigned int msr);
96 unsigned int msr:4; member
Dcthw20k2.c1133 unsigned int msr; /* master sample rate in rsrs */ member
1137 unsigned int msr; /* master sample rate in rsrs */ member
1143 unsigned int msr; /* master sample rate in rsrs */ member
1157 if (1 == info->msr) { in hw_daio_init()
1161 } else if (2 == info->msr) { in hw_daio_init()
1179 } else if ((4 == info->msr) && (hw->model == CTSB1270)) { in hw_daio_init()
1221 if (2 == info->msr) { in hw_daio_init()
1224 } else if (4 == info->msr) { in hw_daio_init()
1635 if (1 == info->msr) in hw_dac_init()
1637 else if (2 == info->msr) in hw_dac_init()
[all …]
Dctamixer.c133 for (i = 0; i < amixer->rsc.msr; i++) { in amixer_commit_write()
207 AMIXER, desc->msr, mgr->mgr.hw); in amixer_rsc_init()
252 for (i = 0; i < desc->msr; i++) { in get_amixer_rsc()
290 for (i = 0; i < amixer->rsc.msr; i++) in put_amixer_rsc()
373 err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw); in sum_rsc_init()
407 for (i = 0; i < desc->msr; i++) { in get_sum_rsc()
445 for (i = 0; i < sum->rsc.msr; i++) in put_sum_rsc()
Dctresource.h39 u32 msr:4; /* The Master Sample Rate a resource working on */ member
54 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw);
Dctamixer.h34 unsigned int msr; member
79 unsigned int msr; member
Dctsrc.h82 unsigned char msr; member
123 unsigned int msr; member
Dctatc.h81 unsigned int msr; /* master sample rate in rsr */ member
156 unsigned int rsr, unsigned int msr, int chip_type,
Dcthw20k1.c1190 unsigned int msr; /* master sample rate in rsrs */ member
1194 unsigned int msr; /* master sample rate in rsrs */ member
1200 unsigned int msr; /* master sample rate in rsrs */ member
1225 switch (info->msr) { in hw_daio_init()
1456 switch (info->msr) { in hw_dac_init()
2056 daio_info.msr = info->msr; in hw_card_init()
2061 dac_info.msr = info->msr; in hw_card_init()
2066 adc_info.msr = info->msr; in hw_card_init()
Dctmixer.c853 sum_desc.msr = mixer->atc->msr; in ct_mixer_get_resources()
868 am_desc.msr = mixer->atc->msr; in ct_mixer_get_resources()
Dcthardware.h62 unsigned int msr; /* master sample rate in rsrs */ member
Dctpcm.c285 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()