Home
last modified time | relevance | path

Searched refs:is_bufpool (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c37 bool is_bufpool; in xgene_enet_ring_set_type() local
40 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_ring_set_type()
41 val = (is_bufpool) ? RING_BUFPOOL : RING_REGULAR; in xgene_enet_ring_set_type()
43 if (is_bufpool) in xgene_enet_ring_set_type()
98 bool is_bufpool; in xgene_enet_set_ring_id() local
103 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_set_ring_id()
111 if (is_bufpool) in xgene_enet_set_ring_id()
130 bool is_bufpool; in xgene_enet_setup_ring() local
139 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_setup_ring()
140 if (is_bufpool || xgene_enet_ring_owner(ring->id) != RING_OWNER_CPU) in xgene_enet_setup_ring()
Dxgene_enet_hw.c36 bool is_bufpool; in xgene_enet_ring_set_type() local
39 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_ring_set_type()
40 val = (is_bufpool) ? RING_BUFPOOL : RING_REGULAR; in xgene_enet_ring_set_type()
44 if (is_bufpool) { in xgene_enet_ring_set_type()
109 bool is_bufpool; in xgene_enet_set_ring_id() local
111 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_set_ring_id()
118 if (is_bufpool) in xgene_enet_set_ring_id()
139 bool is_bufpool; in xgene_enet_setup_ring() local
147 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_setup_ring()
148 if (is_bufpool || xgene_enet_ring_owner(ring->id) != RING_OWNER_CPU) in xgene_enet_setup_ring()
[all …]
Dxgene_enet_hw.h416 bool is_bufpool = xgene_enet_is_bufpool(id); in xgene_enet_get_numslots() local
418 return (is_bufpool) ? size / BUFPOOL_DESC_SIZE : in xgene_enet_get_numslots()