Lines Matching refs:ptt_cnt
128 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()
179 sm->dma.ptt_cnt = 0; in dma_clear_transmit()