Searched refs:dma_idx (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | dma.c | 192 q->head = Q_READ(dev, q, dma_idx); in mt76_dma_sync_idx() 209 Q_WRITE(dev, q, dma_idx, 0); in mt76_dma_queue_reset() 364 last = Q_READ(dev, q, dma_idx); in mt76_dma_tx_cleanup() 376 last = Q_READ(dev, q, dma_idx); in mt76_dma_tx_cleanup() 822 int len, data_len, done = 0, dma_idx; in mt76_dma_rx_process() local 830 dma_idx = Q_READ(dev, q, dma_idx); in mt76_dma_rx_process() 839 if (q->tail == dma_idx) in mt76_dma_rx_process() 840 dma_idx = Q_READ(dev, q, dma_idx); in mt76_dma_rx_process() 842 if (q->tail == dma_idx) in mt76_dma_rx_process()
|
H A D | mt76x02_mmio.c | 345 u32 dma_idx, prev_dma_idx; in mt76x02_tx_hang() local 353 dma_idx = readl(&q->regs->dma_idx); in mt76x02_tx_hang() 354 dev->mt76.tx_dma_idx[i] = dma_idx; in mt76x02_tx_hang() 356 if (!q->queued || prev_dma_idx != dma_idx) { in mt76x02_tx_hang()
|
H A D | mt76.h | 185 u32 dma_idx; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | mac.c | 1548 u32 dma_idx, prev_dma_idx; in mt7603_tx_hang() local 1558 dma_idx = readl(&q->regs->dma_idx); in mt7603_tx_hang() 1559 dev->tx_dma_idx[i] = dma_idx; in mt7603_tx_hang() 1561 if (dma_idx == prev_dma_idx && in mt7603_tx_hang() 1562 dma_idx != readl(&q->regs->cpu_idx)) in mt7603_tx_hang()
|