Searched refs:hw_cons (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_ctrl_mbox.c | 111 mbox->h2fq.hw_cons = OCTEP_CTRL_MBOX_H2FQ_CONS(mbox->barmem); in octep_ctrl_mbox_init() 116 mbox->f2hq.hw_cons = OCTEP_CTRL_MBOX_F2HQ_CONS(mbox->barmem); in octep_ctrl_mbox_init() 176 ci = readl(q->hw_cons); in octep_ctrl_mbox_send() 238 ci = readl(q->hw_cons); in octep_ctrl_mbox_recv() 254 writel(ci, q->hw_cons); in octep_ctrl_mbox_recv()
|
| H A D | octep_ctrl_mbox.h | 120 u8 __iomem *hw_cons; member
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_cmn.h | 757 u16 hw_cons; in bnx2x_tx_queue_has_work() local 761 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_queue_has_work() 762 return hw_cons != txdata->tx_pkt_cons; in bnx2x_tx_queue_has_work()
|
| H A D | bnx2x_cmn.c | 276 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local 285 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_int() 291 while (sw_cons != hw_cons) { in bnx2x_tx_int() 298 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad.c | 163 u32 wis, unmap_wis, hw_cons, cons, q_depth; in bnad_txcmpl_process() local 172 hw_cons = *(tcb->hw_consumer_index); in bnad_txcmpl_process() 177 wis = BNA_Q_INDEX_CHANGE(cons, hw_cons, q_depth); in bnad_txcmpl_process() 196 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | cnic.c | 2919 u16 hw_cons, sw_cons; in cnic_l2_completion() local 2929 hw_cons = *cp->rx_cons_ptr; in cnic_l2_completion() 2930 if ((hw_cons & BNX2X_MAX_RCQ_DESC_CNT) == BNX2X_MAX_RCQ_DESC_CNT) in cnic_l2_completion() 2931 hw_cons++; in cnic_l2_completion() 2934 while (sw_cons != hw_cons) { in cnic_l2_completion()
|