/sound/pci/ctxfi/ |
D | ctdaio.c | 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() [all …]
|
D | ctatc.c | 260 desc.msr = atc->msr; in atc_pcm_playback_prepare() 267 (atc->rsr * atc->msr)); in atc_pcm_playback_prepare() 282 mix_dsc.msr = atc->msr; in atc_pcm_playback_prepare() 386 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start() 447 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position() 455 unsigned int msr:8; member 467 pitch = atc_get_pitch((atc->rsr * atc->msr), in setup_src_node_conf() 471 if (1 == atc->msr) { /* FIXME: do we really need SRC here if pitch==1 */ in setup_src_node_conf() 474 conf[0].mix_msr = conf[0].imp_msr = conf[0].msr = 1; in setup_src_node_conf() 476 } else if (2 <= atc->msr) { in setup_src_node_conf() [all …]
|
D | ctsrc.c | 182 if (src->rsc.msr > 1) { in src_commit_write() 193 for (i = 1; i < src->rsc.msr; i++) { in src_commit_write() 228 unsigned int rsr, msr; in src_default_config_memrd() local 232 for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) in src_default_config_memrd() 254 for (msr = 1; msr < src->rsc.msr; msr++) { in src_default_config_memrd() 296 unsigned int rsr, msr; in src_default_config_arcrw() local 301 for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) in src_default_config_arcrw() 323 for (msr = 0; msr < src->rsc.msr; msr++) { in src_default_config_arcrw() 365 err = rsc_init(&p->rsc, idx + i, SRC, desc->msr, mgr->mgr.hw); in src_rsc_init() 492 for (i = 0; i < src->rsc.msr; i++) { in src_enable_s() [all …]
|
D | ctresource.c | 115 for (i = 0; (i < 8) && (!(rsc->msr & (0x1 << i))); ) in rsc_next_conj() 133 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw) in rsc_init() argument 140 rsc->msr = msr; in rsc_init() 199 rsc->msr = 0; in rsc_uninit()
|
D | ctdaio.h | 65 unsigned int msr:4; member 83 int (*set_srt_msr)(struct dai *dai, unsigned int msr); 92 unsigned int msr:4; member
|
D | cthw20k2.c | 1129 unsigned int msr; /* master sample rate in rsrs */ member 1133 unsigned int msr; /* master sample rate in rsrs */ member 1139 unsigned int msr; /* master sample rate in rsrs */ member 1153 if (1 == info->msr) { in hw_daio_init() 1157 } else if (2 == info->msr) { in hw_daio_init() 1175 } else if ((4 == info->msr) && (hw->model == CTSB1270)) { in hw_daio_init() 1217 if (2 == info->msr) { in hw_daio_init() 1220 } else if (4 == info->msr) { in hw_daio_init() 1631 if (1 == info->msr) in hw_dac_init() 1633 else if (2 == info->msr) in hw_dac_init() [all …]
|
D | ctamixer.c | 128 for (i = 0; i < amixer->rsc.msr; i++) { in amixer_commit_write() 202 AMIXER, desc->msr, mgr->mgr.hw); in amixer_rsc_init() 247 for (i = 0; i < desc->msr; i++) { in get_amixer_rsc() 285 for (i = 0; i < amixer->rsc.msr; i++) in put_amixer_rsc() 367 err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw); in sum_rsc_init() 401 for (i = 0; i < desc->msr; i++) { in get_sum_rsc() 439 for (i = 0; i < sum->rsc.msr; i++) in put_sum_rsc()
|
D | ctresource.h | 35 u32 msr:4; /* The Master Sample Rate a resource working on */ member 50 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw);
|
D | ctamixer.h | 30 unsigned int msr; member 75 unsigned int msr; member
|
D | ctsrc.h | 78 unsigned char msr; member 119 unsigned int msr; member
|
D | ctatc.h | 77 unsigned int msr; /* master sample rate in rsr */ member 152 unsigned int rsr, unsigned int msr, int chip_type,
|
D | cthw20k1.c | 1186 unsigned int msr; /* master sample rate in rsrs */ member 1190 unsigned int msr; /* master sample rate in rsrs */ member 1196 unsigned int msr; /* master sample rate in rsrs */ member 1221 switch (info->msr) { in hw_daio_init() 1452 switch (info->msr) { in hw_dac_init() 2046 daio_info.msr = info->msr; in hw_card_init() 2051 dac_info.msr = info->msr; in hw_card_init() 2056 adc_info.msr = info->msr; in hw_card_init()
|
D | ctmixer.c | 849 sum_desc.msr = mixer->atc->msr; in ct_mixer_get_resources() 864 am_desc.msr = mixer->atc->msr; in ct_mixer_get_resources()
|
D | cthardware.h | 59 unsigned int msr; /* master sample rate in rsrs */ member
|
D | ctpcm.c | 276 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()
|
/sound/soc/atmel/ |
D | mchp-pdmc.c | 793 u32 isr, msr, pending; in mchp_pdmc_interrupt() local 797 regmap_read(dd->regmap, MCHP_PDMC_IMR, &msr); in mchp_pdmc_interrupt() 799 pending = isr & msr; in mchp_pdmc_interrupt() 801 MCHP_PDMC_ISR, isr, MCHP_PDMC_IMR, msr, pending); in mchp_pdmc_interrupt()
|