Searched refs:mode_rx (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/ |
D | sm_wss.c | 363 if (!dev || !sm || !sm->mode_rx || !sm->mode_tx || in wss_interrupt() 410 if (!dev || !sm || !sm->mode_rx || !sm->mode_tx) in wss_open() 439 if (sm->mode_rx->init) in wss_open() 440 sm->mode_rx->init(sm); in wss_open() 486 sm->mode_rx = NULL; in wss_sethw() 512 sm->mode_rx = *mrp; in wss_sethw() 515 sm->dma.ifragsz = (sm->mode_rx->srate + 50)/100; in wss_sethw() 517 if (sm->dma.ifragsz < sm->mode_rx->overlap) in wss_sethw() 518 sm->dma.ifragsz = sm->mode_rx->overlap; in wss_sethw() 521 if (sm->mode_rx->srate == sm->mode_tx->srate) { in wss_sethw() [all …]
|
D | sm_sbc.c | 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() [all …]
|
D | sm.c | 391 if (!sm->mode_tx || !sm->mode_rx || !sm->hwdrv || !sm->hwdrv->open) in sm_open() 393 sm->hdrv.par.bitrate = sm->mode_rx->bitrate; in sm_open() 401 sm->mode_rx->name, dev->base_addr, dev->irq, dev->dma, sm->hdrv.ptt_out.dma2); in sm_open() 501 if (!sm->mode_rx || !sm->mode_rx || in sm_ioctl() 502 strcmp(sm->mode_rx->name, sm->mode_tx->name)) { in sm_ioctl() 503 if (sm->mode_rx && sm->mode_rx->name) in sm_ioctl() 504 cp += sprintf(cp, ",%s", sm->mode_rx->name); in sm_ioctl() 564 bi.data.diag.samplesperbit = sm->mode_rx->sperbit; in sm_ioctl()
|
D | smdma.h | 199 sm->mode_rx->demodulator_s16(sm, p, sm->dma.ifragsz/2)); in dma_receive() 202 sm->mode_rx->demodulator_u8(sm, p, sm->dma.ifragsz)); in dma_receive()
|
D | sm.h | 50 const struct modem_rx_info *mode_rx; member
|