Home
last modified time | relevance | path

Searched refs:txch (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1219 int txch = tx_ring(mac)->chan.chno; in pasemi_mac_pause_txchan() local
1221 write_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch), in pasemi_mac_pause_txchan()
1225 sta = read_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch)); in pasemi_mac_pause_txchan()
1235 write_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch), 0); in pasemi_mac_pause_txchan()
1281 int rxch, txch, i; in pasemi_mac_close() local
1284 txch = tx_ring(mac)->chan.chno; in pasemi_mac_close()
1309 sta = read_dma_reg(PAS_DMA_TXCHAN_TCMDSTA(txch)); in pasemi_mac_close()
/drivers/net/ethernet/ti/
Dcpsw.c915 struct cpdma_chan *txch; in cpsw_ndo_start_xmit() local
932 txch = cpsw->txv[q_idx].ch; in cpsw_ndo_start_xmit()
935 ret = cpdma_chan_submit(txch, skb, skb->data, skb->len, in cpsw_ndo_start_xmit()
945 if (unlikely(!cpdma_check_free_tx_desc(txch))) { in cpsw_ndo_start_xmit()
951 if (cpdma_check_free_tx_desc(txch)) in cpsw_ndo_start_xmit()
963 if (cpdma_check_free_tx_desc(txch)) in cpsw_ndo_start_xmit()
Dcpsw_new.c928 struct cpdma_chan *txch; in cpsw_ndo_start_xmit() local
945 txch = cpsw->txv[q_idx].ch; in cpsw_ndo_start_xmit()
948 ret = cpdma_chan_submit(txch, skb, skb->data, skb->len, in cpsw_ndo_start_xmit()
958 if (unlikely(!cpdma_check_free_tx_desc(txch))) { in cpsw_ndo_start_xmit()
964 if (cpdma_check_free_tx_desc(txch)) in cpsw_ndo_start_xmit()
976 if (cpdma_check_free_tx_desc(txch)) in cpsw_ndo_start_xmit()
Dcpsw_priv.c1293 struct cpdma_chan *txch; in cpsw_xdp_tx_frame() local
1300 txch = cpsw->txv[0].ch; in cpsw_xdp_tx_frame()
1305 ret = cpdma_chan_submit_mapped(txch, cpsw_xdpf_to_handle(xdpf), in cpsw_xdp_tx_frame()
1313 ret = cpdma_chan_submit(txch, cpsw_xdpf_to_handle(xdpf), in cpsw_xdp_tx_frame()