Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c428 struct ring_pair_cb *ring_pair = in hns_ae_get_coalesce_usecs() local
431 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
432 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
433 *rx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
434 ring_pair->port_id_in_comm); in hns_ae_get_coalesce_usecs()
440 struct ring_pair_cb *ring_pair = in hns_ae_get_rx_max_coalesced_frames() local
443 *tx_frames = hns_rcb_get_coalesced_frames(ring_pair->rcb_common, in hns_ae_get_rx_max_coalesced_frames()
444 ring_pair->port_id_in_comm); in hns_ae_get_rx_max_coalesced_frames()
445 *rx_frames = hns_rcb_get_coalesced_frames(ring_pair->rcb_common, in hns_ae_get_rx_max_coalesced_frames()
446 ring_pair->port_id_in_comm); in hns_ae_get_rx_max_coalesced_frames()
[all …]
Dhns_dsaf_rcb.c200 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init() argument
202 struct hnae_queue *q = &ring_pair->q; in hns_rcb_ring_init()
203 struct rcb_common_cb *rcb_common = ring_pair->rcb_common; in hns_rcb_ring_init()
218 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
220 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
230 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
232 ring_pair->port_id_in_comm); in hns_rcb_ring_init()
974 struct ring_pair_cb *ring_pair in hns_rcb_get_ring_regs() local
1019 regs[i] = 0xcccccc00 + ring_pair->index; in hns_rcb_get_ring_regs()