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.c260 desc.msr = atc->msr; in atc_pcm_playback_prepare()
267 (atc->rsr * atc->msr)); in atc_pcm_playback_prepare()
281 mix_dsc.msr = atc->msr; in atc_pcm_playback_prepare()
385 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start()
439 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position()
447 unsigned int msr:8; member
459 pitch = atc_get_pitch((atc->rsr * atc->msr), in setup_src_node_conf()
463 if (1 == atc->msr) { /* FIXME: do we really need SRC here if pitch==1 */ in setup_src_node_conf()
466 conf[0].mix_msr = conf[0].imp_msr = conf[0].msr = 1; in setup_src_node_conf()
468 } 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()
495 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()
137 int rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, void *hw) in rsc_init() argument
144 rsc->msr = msr; in rsc_init()
205 rsc->msr = 0; in rsc_uninit()
Dctdaio.h68 unsigned int msr:4; member
86 int (*set_srt_msr)(struct dai *dai, unsigned int msr);
95 unsigned int msr:4; member
Dcthw20k2.c1139 unsigned int msr; /* master sample rate in rsrs */ member
1143 unsigned int msr; /* master sample rate in rsrs */ member
1149 unsigned int msr; /* master sample rate in rsrs */ member
1163 if (1 == info->msr) { in hw_daio_init()
1167 } else if (2 == info->msr) { in hw_daio_init()
1185 } else if ((4 == info->msr) && (hw->model == CTSB1270)) { in hw_daio_init()
1226 if (2 == info->msr) { in hw_daio_init()
1229 } else if (4 == info->msr) { in hw_daio_init()
1639 if (1 == info->msr) in hw_dac_init()
1641 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()
289 for (i = 0; i < amixer->rsc.msr; i++) in put_amixer_rsc()
371 err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw); in sum_rsc_init()
405 for (i = 0; i < desc->msr; i++) { in get_sum_rsc()
442 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
53 int rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, void *hw);
Dctamixer.h33 unsigned int msr; member
77 unsigned int msr; member
Dctsrc.h81 unsigned char msr; member
121 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.c1196 unsigned int msr; /* master sample rate in rsrs */ member
1200 unsigned int msr; /* master sample rate in rsrs */ member
1206 unsigned int msr; /* master sample rate in rsrs */ member
1231 switch (info->msr) { in hw_daio_init()
1461 switch (info->msr) { in hw_dac_init()
2064 daio_info.msr = info->msr; in hw_card_init()
2069 dac_info.msr = info->msr; in hw_card_init()
2074 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.h61 unsigned int msr; /* master sample rate in rsrs */ member
Dctpcm.c284 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()