Home
last modified time | relevance | path

Searched refs:proc_idx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/socionext/
H A Dsni_ave.c235 u32 proc_idx; /* index of processing packet */ member
683 u32 proc_idx, done_idx, ndesc, cmdsts; in ave_tx_complete() local
688 proc_idx = priv->tx.proc_idx; in ave_tx_complete()
693 while (proc_idx != done_idx) { in ave_tx_complete()
746 u32 proc_idx, done_idx; in ave_rx_receive() local
752 proc_idx = priv->rx.proc_idx; in ave_rx_receive()
755 restpkt = ((proc_idx + ndesc - 1) - done_idx) % ndesc; in ave_rx_receive()
762 cmdsts = ave_desc_read_cmdsts(ndev, AVE_DESCID_RX, proc_idx); in ave_rx_receive()
770 proc_idx = (proc_idx + 1) % ndesc; in ave_rx_receive()
777 skb = priv->rx.desc[proc_idx].skbs; in ave_rx_receive()
[all …]
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.c1090 u32 proc_idx, hw_consume_idx, num_consume_pkts; in emac_mac_rx_process() local
1159 proc_idx = (rx_q->rfd.process_idx << rx_q->process_shft) & in emac_mac_rx_process()
1162 rx_q->process_mask, proc_idx); in emac_mac_rx_process()