Home
last modified time | relevance | path

Searched refs:ptt_cnt (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsmdma.h128 if (sm->dma.ptt_cnt <= 0) { in dma_end_transmit()
129 sm->dma.ptt_cnt = 0; in dma_end_transmit()
132 sm->dma.ptt_cnt -= diff; in dma_end_transmit()
133 if (sm->dma.ptt_cnt <= 0) { in dma_end_transmit()
134 sm->dma.ptt_cnt = 0; in dma_end_transmit()
144 while (sm->dma.ptt_cnt < NUM_FRAGMENTS && hdlcdrv_ptt(&sm->hdrv)) { in dma_transmit()
146 ((sm->dma.ofragptr + sm->dma.ptt_cnt) % NUM_FRAGMENTS); in dma_transmit()
154 sm->dma.ptt_cnt++; in dma_transmit()
161 sm->dma.ptt_cnt = 0; in dma_init_transmit()
174 sm->dma.ptt_cnt = 1; in dma_start_transmit()
[all …]
Dsm.h68 int ptt_cnt; member
Dsm_sbc.c307 dma_ptr(sm, sm->dma.ptt_cnt > 0, dev->dma, &curfrag); in sbc_interrupt()
311 if (sm->dma.ptt_cnt <= 0) { in sbc_interrupt()
Dsm_wss.c370 nums = dma_ptr(sm, sm->dma.ptt_cnt > 0, dev->dma, &curfrag) - 1; in wss_interrupt()
376 if (sm->dma.ptt_cnt <= 0) { in wss_interrupt()
Dsm.c267 int ptt = /*hdlcdrv_ptt(&sm->hdrv)*/(sm->dma.ptt_cnt > 0) ^ invert_ptt; in sm_output_status()