Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c520 struct ring_pair_cb *ring_pair = in hns_ae_get_coalesce_usecs() local
523 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
524 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
525 *rx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
526 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
532 struct ring_pair_cb *ring_pair = in hns_ae_get_max_coalesced_frames() local
539 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
542 ring_pair->rcb_common, ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
543 *rx_frames = hns_rcb_get_rx_coalesced_frames(ring_pair->rcb_common, in hns_ae_get_max_coalesced_frames()
544 ring_pair->port_id_in_comm); in hns_ae_get_max_coalesced_frames()
[all …]
Dhns_dsaf_rcb.c247 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument
249 struct hnae_queue *q = &ring_pair->q; in hns_rcb_ring_init()
263 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
265 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
275 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
277 ring_pair->port_id_in_comm + HNS_RCB_TX_PKTLINE_OFFSET); in hns_rcb_ring_init()
1046 struct ring_pair_cb *ring_pair in hns_rcb_get_ring_regs() local
1091 regs[i] = 0xcccccc00 + ring_pair->index; in hns_rcb_get_ring_regs()