Lines Matching refs:mode_rx
403 if (sm->mode_rx->init) in sbc_open()
404 sm->mode_rx->init(sm); in sbc_open()
449 sm->mode_rx = NULL; in sbc_sethw()
479 sm->mode_rx = *mrp; in sbc_sethw()
480 SCSTATE->fmt[0] = 256-((1000000L+sm->mode_rx->srate/2)/ in sbc_sethw()
481 sm->mode_rx->srate); in sbc_sethw()
484 sm->dma.ifragsz = (sm->mode_rx->srate + 50)/100; in sbc_sethw()
486 if (sm->dma.ifragsz < sm->mode_rx->overlap) in sbc_sethw()
487 sm->dma.ifragsz = sm->mode_rx->overlap; in sbc_sethw()
522 bi.data.mix.sample_rate = sm->mode_rx->srate; in sbc_ioctl()
775 if (sm->mode_rx->init) in sbcfdx_open()
776 sm->mode_rx->init(sm); in sbcfdx_open()
833 sm->mode_rx = NULL; in sbcfdx_sethw()
860 sm->mode_rx = *mrp; in sbcfdx_sethw()
861 SCSTATE->sr[0] = sm->mode_rx->srate; in sbcfdx_sethw()
863 sm->dma.ifragsz = (sm->mode_rx->srate + 50)/100; in sbcfdx_sethw()
865 if (sm->dma.ifragsz < sm->mode_rx->overlap) in sbcfdx_sethw()
866 sm->dma.ifragsz = sm->mode_rx->overlap; in sbcfdx_sethw()
867 if (sm->mode_rx->demodulator_s16 && sm->mode_tx->modulator_u8) { in sbcfdx_sethw()
871 } else if (sm->mode_rx->demodulator_u8 && sm->mode_tx->modulator_s16) { in sbcfdx_sethw()
877 sm->mode_rx->name, sm->mode_tx->name); in sbcfdx_sethw()
879 sm->mode_rx = NULL; in sbcfdx_sethw()