Home
last modified time | relevance | path

Searched refs:hw_cons (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_mbox.c111 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 Doctep_ctrl_mbox.h118 u8 __iomem *hw_cons; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h757 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 Dbnx2x_cmn.c276 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()
288 /* Ensure subsequent loads occur after hw_cons */ in bnx2x_tx_int()
291 while (sw_cons != hw_cons) { in bnx2x_tx_int()
297 "queue[%d]: hw_cons %u sw_cons %u pkt_cons %u\n", in bnx2x_tx_int()
298 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
H A Dbnx2x_main.c5464 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
5474 hw_cons = le16_to_cpu(*bp->eq_cons_sb); in bnx2x_eq_int()
5481 if ((hw_cons & EQ_DESC_MAX_PAGE) == EQ_DESC_MAX_PAGE) in bnx2x_eq_int()
5482 hw_cons++; in bnx2x_eq_int()
5491 DP(BNX2X_MSG_SP, "EQ: hw_cons %u sw_cons %u bp->eq_spq_left %x\n", in bnx2x_eq_int()
5492 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
5494 for (; sw_cons != hw_cons; in bnx2x_eq_int()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h757 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 Dbnx2x_cmn.c275 u16 hw_cons, sw_cons, bd_cons = txdata->tx_bd_cons; in bnx2x_tx_int() local
284 hw_cons = le16_to_cpu(*txdata->tx_cons_sb); in bnx2x_tx_int()
287 /* Ensure subsequent loads occur after hw_cons */ in bnx2x_tx_int()
290 while (sw_cons != hw_cons) { in bnx2x_tx_int()
296 "queue[%d]: hw_cons %u sw_cons %u pkt_cons %u\n", in bnx2x_tx_int()
297 txdata->txq_index, hw_cons, sw_cons, pkt_cons); in bnx2x_tx_int()
H A Dbnx2x_main.c5462 u16 hw_cons, sw_cons, sw_prod; in bnx2x_eq_int() local
5472 hw_cons = le16_to_cpu(*bp->eq_cons_sb); in bnx2x_eq_int()
5479 if ((hw_cons & EQ_DESC_MAX_PAGE) == EQ_DESC_MAX_PAGE) in bnx2x_eq_int()
5480 hw_cons++; in bnx2x_eq_int()
5489 DP(BNX2X_MSG_SP, "EQ: hw_cons %u sw_cons %u bp->eq_spq_left %x\n", in bnx2x_eq_int()
5490 hw_cons, sw_cons, atomic_read(&bp->eq_spq_left)); in bnx2x_eq_int()
5492 for (; sw_cons != hw_cons; in bnx2x_eq_int()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbnx2.c2845 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2853 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2856 while (sw_cons != hw_cons) { in bnx2_tx_int()
2878 if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { in bnx2_tx_int()
2909 if (hw_cons == sw_cons) in bnx2_tx_int()
2910 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2914 txr->hw_tx_cons = hw_cons; in bnx2_tx_int()
3145 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3152 hw_cons = bnx2_get_hw_rx_cons(bnapi); in bnx2_rx_int()
3160 while (sw_cons != hw_cons) { in bnx2_rx_int()
[all...]
H A Dcnic.c2914 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2924 hw_cons = *cp->rx_cons_ptr; in cnic_l2_completion()
2925 if ((hw_cons & BNX2X_MAX_RCQ_DESC_CNT) == BNX2X_MAX_RCQ_DESC_CNT) in cnic_l2_completion()
2926 hw_cons++; in cnic_l2_completion()
2929 while (sw_cons != hw_cons) { in cnic_l2_completion()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbnx2.c2844 u16 hw_cons, sw_cons, sw_ring_cons; in bnx2_tx_int() local
2852 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2855 while (sw_cons != hw_cons) { in bnx2_tx_int()
2877 if (((s16) ((s16) last_idx - (s16) hw_cons)) > 0) { in bnx2_tx_int()
2908 if (hw_cons == sw_cons) in bnx2_tx_int()
2909 hw_cons = bnx2_get_hw_tx_cons(bnapi); in bnx2_tx_int()
2913 txr->hw_tx_cons = hw_cons; in bnx2_tx_int()
3143 u16 hw_cons, sw_cons, sw_ring_cons, sw_prod, sw_ring_prod; in bnx2_rx_int() local
3150 hw_cons = bnx2_get_hw_rx_cons(bnapi); in bnx2_rx_int()
3158 while (sw_cons != hw_cons) { in bnx2_rx_int()
[all...]
H A Dcnic.c2912 u16 hw_cons, sw_cons; in cnic_l2_completion() local
2922 hw_cons = *cp->rx_cons_ptr; in cnic_l2_completion()
2923 if ((hw_cons & BNX2X_MAX_RCQ_DESC_CNT) == BNX2X_MAX_RCQ_DESC_CNT) in cnic_l2_completion()
2924 hw_cons++; in cnic_l2_completion()
2927 while (sw_cons != hw_cons) { in cnic_l2_completion()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A Dbnad.c162 u32 wis, unmap_wis, hw_cons, cons, q_depth; in bnad_txcmpl_process() local
171 hw_cons = *(tcb->hw_consumer_index); in bnad_txcmpl_process()
176 wis = BNA_Q_INDEX_CHANGE(cons, hw_cons, q_depth); in bnad_txcmpl_process()
195 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
H A Dbnad.c162 u32 wis, unmap_wis, hw_cons, cons, q_depth; in bnad_txcmpl_process() local
171 hw_cons = *(tcb->hw_consumer_index); in bnad_txcmpl_process()
176 wis = BNA_Q_INDEX_CHANGE(cons, hw_cons, q_depth); in bnad_txcmpl_process()
195 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
H A Dverbs.c4060 struct ib_wc *wc, u16 hw_cons, enum ib_wc_status status, in process_req()
4065 while (num_entries && qp->sq.wqe_cons != hw_cons) { in process_req()
4340 int num_entries, struct ib_wc *wc, u16 hw_cons) in process_resp_flush()
4344 while (num_entries && qp->rq.wqe_cons != hw_cons) { in process_resp_flush()
4058 process_req(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, u16 hw_cons, enum ib_wc_status status, int force) process_req() argument
4339 process_resp_flush(struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, u16 hw_cons) process_resp_flush() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/qedr/
H A Dverbs.c4054 struct ib_wc *wc, u16 hw_cons, enum ib_wc_status status, in process_req()
4059 while (num_entries && qp->sq.wqe_cons != hw_cons) { in process_req()
4334 int num_entries, struct ib_wc *wc, u16 hw_cons) in process_resp_flush()
4338 while (num_entries && qp->rq.wqe_cons != hw_cons) { in process_resp_flush()
4052 process_req(struct qedr_dev *dev, struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, u16 hw_cons, enum ib_wc_status status, int force) process_req() argument
4333 process_resp_flush(struct qedr_qp *qp, struct qedr_cq *cq, int num_entries, struct ib_wc *wc, u16 hw_cons) process_resp_flush() argument

Completed in 90 milliseconds