Searched refs:ring_pair_cb (Results 1 – 3 of 3) sorted by relevance
247 static void hns_rcb_ring_init(struct ring_pair_cb *ring_pair, int ring_type) in hns_rcb_ring_init()285 void hns_rcb_init_hw(struct ring_pair_cb *ring) in hns_rcb_init_hw()445 struct ring_pair_cb *ring_pair_cb; in hns_rcb_ring_get_cfg() local449 ring_pair_cb = container_of(q, struct ring_pair_cb, q); in hns_rcb_ring_get_cfg()450 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()453 ring->io_base = ring_pair_cb->q.io_base; in hns_rcb_ring_get_cfg()458 ring->io_base = ring_pair_cb->q.io_base + in hns_rcb_ring_get_cfg()465 rcb_common = ring_pair_cb->rcb_common; in hns_rcb_ring_get_cfg()471 ring->irq = ring_pair_cb->virq[irq_idx]; in hns_rcb_ring_get_cfg()483 static void hns_rcb_ring_pair_get_cfg(struct ring_pair_cb *ring_pair_cb) in hns_rcb_ring_pair_get_cfg() argument[all …]
52 static struct ring_pair_cb *hns_ae_get_base_ring_pair( in hns_ae_get_base_ring_pair()59 return &rcb_comm->ring_pair_cb[port * q_num * vf_num]; in hns_ae_get_base_ring_pair()62 static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q) in hns_ae_get_ring_pair()64 return container_of(q, struct ring_pair_cb, q); in hns_ae_get_ring_pair()75 struct ring_pair_cb *ring_pair_cb; in hns_ae_get_handle() local80 ring_pair_cb = hns_ae_get_base_ring_pair(dsaf_dev, port_id); in hns_ae_get_handle()101 if (!ring_pair_cb->used_by_vf) in hns_ae_get_handle()103 ring_pair_cb += qnum_per_vf; in hns_ae_get_handle()112 ae_handle->qs[i] = &ring_pair_cb->q; in hns_ae_get_handle()116 ring_pair_cb->used_by_vf = 1; in hns_ae_get_handle()[all …]
84 struct ring_pair_cb { struct111 struct ring_pair_cb ring_pair_cb[]; argument132 void hns_rcb_init_hw(struct ring_pair_cb *ring);