Searched refs:ptt_cnt (Results 1 – 5 of 5) sorted by relevance
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()[all …]
68 int ptt_cnt; member
307 dma_ptr(sm, sm->dma.ptt_cnt > 0, dev->dma, &curfrag); in sbc_interrupt()311 if (sm->dma.ptt_cnt <= 0) { in sbc_interrupt()
370 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()
267 int ptt = /*hdlcdrv_ptt(&sm->hdrv)*/(sm->dma.ptt_cnt > 0) ^ invert_ptt; in sm_output_status()