Searched refs:raw_desc (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/apm/xgene-v2/ |
D | main.c | 84 struct xge_raw_desc *raw_desc; in xge_refill_buffers() local 93 raw_desc = &ring->raw_desc[tail]; in xge_refill_buffers() 110 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers() 111 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers() 112 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | in xge_refill_buffers() 118 raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | in xge_refill_buffers() 177 static bool is_tx_slot_available(struct xge_raw_desc *raw_desc) in is_tx_slot_available() argument 179 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available() 180 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available() 191 struct xge_raw_desc *raw_desc; in xge_start_xmit() local [all …]
|
D | ring.c | 27 struct xge_raw_desc *raw_desc; in xge_setup_desc() local 33 raw_desc = &ring->raw_desc[i]; in xge_setup_desc() 38 raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | in xge_setup_desc() 41 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, next_dma) | in xge_setup_desc()
|
D | ring.h | 92 struct xge_raw_desc *raw_desc; member
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 34 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_init_bufpool() local 41 raw_desc = &buf_pool->raw_desc16[i]; in xgene_enet_init_bufpool() 44 raw_desc->m0 = cpu_to_le64(i | in xgene_enet_init_bufpool() 82 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_refill_pagepool() local 102 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_pagepool() 116 raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | in xgene_enet_refill_pagepool() 134 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_refill_bufpool() local 152 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_bufpool() 167 raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | in xgene_enet_refill_bufpool() 189 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_delete_bufpool() local [all …]
|
D | xgene_enet_ring2.c | 159 xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); in xgene_enet_setup_ring()
|
D | xgene_enet_main.h | 136 struct xgene_enet_raw_desc *raw_desc; member
|
D | xgene_enet_hw.c | 164 xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); in xgene_enet_setup_ring()
|