Lines Matching refs:ptp_rx
71 struct aq_ring_s ptp_rx; member
583 aq_ptp->ptp_rx.idx << HW_ATL_RX_QUEUE_FL3L4_SHIFT; in aq_ptp_prepare_filters()
587 aq_ptp->eth_type_filter.queue = aq_ptp->ptp_rx.idx; in aq_ptp_prepare_filters()
639 &aq_ptp->ptp_rx == ring || &aq_ptp->hwts_rx == ring; in aq_ptp_ring()
695 &aq_ptp->ptp_rx); in aq_ptp_poll()
699 if (aq_ptp->ptp_rx.sw_head != aq_ptp->ptp_rx.hw_head) { in aq_ptp_poll()
702 err = aq_ring_rx_clean(&aq_ptp->ptp_rx, napi, &work_done, budget); in aq_ptp_poll()
706 sw_tail_old = aq_ptp->ptp_rx.sw_tail; in aq_ptp_poll()
707 err = aq_ring_rx_fill(&aq_ptp->ptp_rx); in aq_ptp_poll()
712 &aq_ptp->ptp_rx, in aq_ptp_poll()
860 err = aq_ring_init(&aq_ptp->ptp_rx, ATL_RING_RX); in aq_ptp_ring_init()
864 &aq_ptp->ptp_rx, in aq_ptp_ring_init()
869 err = aq_ring_rx_fill(&aq_ptp->ptp_rx); in aq_ptp_ring_init()
873 &aq_ptp->ptp_rx, in aq_ptp_ring_init()
894 aq_ring_rx_deinit(&aq_ptp->ptp_rx); in aq_ptp_ring_init()
911 err = aq_nic->aq_hw_ops->hw_ring_rx_start(aq_nic->aq_hw, &aq_ptp->ptp_rx); in aq_ptp_ring_start()
934 aq_nic->aq_hw_ops->hw_ring_rx_stop(aq_nic->aq_hw, &aq_ptp->ptp_rx); in aq_ptp_ring_stop()
945 if (!aq_ptp || !aq_ptp->ptp_tx.aq_nic || !aq_ptp->ptp_rx.aq_nic) in aq_ptp_ring_deinit()
949 aq_ring_rx_deinit(&aq_ptp->ptp_rx); in aq_ptp_ring_deinit()
970 err = aq_ring_rx_alloc(&aq_ptp->ptp_rx, aq_nic, in aq_ptp_ring_alloc()
998 aq_ring_free(&aq_ptp->ptp_rx); in aq_ptp_ring_alloc()
1013 aq_ring_free(&aq_ptp->ptp_rx); in aq_ptp_ring_free()
1401 count = aq_ring_fill_stats_data(&aq_ptp->ptp_rx, data); in aq_ptp_get_stats()