Searched refs:last_pkt_count (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_rx.c | 22 oq->last_pkt_count = 0; in octep_oq_reset_indices() 327 u32 last_pkt_count, pkts_pending; in octep_oq_check_hw_for_pkts() local 330 last_pkt_count = READ_ONCE(oq->last_pkt_count); in octep_oq_check_hw_for_pkts() 331 new_pkts = pkt_count - last_pkt_count; in octep_oq_check_hw_for_pkts() 333 if (pkt_count < last_pkt_count) { in octep_oq_check_hw_for_pkts() 335 oq->q_no, pkt_count, last_pkt_count); in octep_oq_check_hw_for_pkts() 347 WRITE_ONCE(oq->last_pkt_count, pkt_count); in octep_oq_check_hw_for_pkts()
|
| H A D | octep_main.c | 565 u32 last_pkt_count = READ_ONCE(oq->last_pkt_count); in octep_update_pkt() local 576 if (last_pkt_count - pkts_pend) { in octep_update_pkt() 577 writel(last_pkt_count - pkts_pend, oq->pkts_sent_reg); in octep_update_pkt() 579 WRITE_ONCE(oq->last_pkt_count, pkts_pend); in octep_update_pkt()
|
| /linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
| H A D | octep_vf_rx.c | 22 oq->last_pkt_count = 0; in octep_vf_oq_reset_indices() 328 u32 last_pkt_count, pkts_pending; in octep_vf_oq_check_hw_for_pkts() local 331 last_pkt_count = READ_ONCE(oq->last_pkt_count); in octep_vf_oq_check_hw_for_pkts() 332 new_pkts = pkt_count - last_pkt_count; in octep_vf_oq_check_hw_for_pkts() 334 if (pkt_count < last_pkt_count) { in octep_vf_oq_check_hw_for_pkts() 336 oq->q_no, pkt_count, last_pkt_count); in octep_vf_oq_check_hw_for_pkts() 349 WRITE_ONCE(oq->last_pkt_count, pkt_count); in octep_vf_oq_check_hw_for_pkts()
|
| H A D | octep_vf_main.c | 298 u32 last_pkt_count = READ_ONCE(oq->last_pkt_count); in octep_vf_update_pkt() local 309 if (last_pkt_count - pkts_pend) { in octep_vf_update_pkt() 310 writel(last_pkt_count - pkts_pend, oq->pkts_sent_reg); in octep_vf_update_pkt() 312 WRITE_ONCE(oq->last_pkt_count, pkts_pend); in octep_vf_update_pkt()
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | debug.c | 784 struct rtw_pkt_count *last_cnt = &dm_info->last_pkt_count; in rtw_debugfs_get_phy_info()
|