Searched refs:raw_desc (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/apm/xgene-v2/ |
D | main.c | 70 struct xge_raw_desc *raw_desc; in xge_refill_buffers() local 79 raw_desc = &ring->raw_desc[tail]; in xge_refill_buffers() 96 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers() 97 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers() 98 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | in xge_refill_buffers() 104 raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | in xge_refill_buffers() 163 static bool is_tx_slot_available(struct xge_raw_desc *raw_desc) in is_tx_slot_available() argument 165 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available() 166 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available() 177 struct xge_raw_desc *raw_desc; in xge_start_xmit() local [all …]
|
D | ring.c | 15 struct xge_raw_desc *raw_desc; in xge_setup_desc() local 21 raw_desc = &ring->raw_desc[i]; in xge_setup_desc() 26 raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | in xge_setup_desc() 29 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, next_dma) | in xge_setup_desc()
|
D | ring.h | 80 struct xge_raw_desc *raw_desc; member
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 22 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_init_bufpool() local 29 raw_desc = &buf_pool->raw_desc16[i]; in xgene_enet_init_bufpool() 32 raw_desc->m0 = cpu_to_le64(i | in xgene_enet_init_bufpool() 70 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_refill_pagepool() local 90 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_pagepool() 104 raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | in xgene_enet_refill_pagepool() 122 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_refill_bufpool() local 140 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_bufpool() 155 raw_desc->m1 = cpu_to_le64(SET_VAL(DATAADDR, dma_addr) | in xgene_enet_refill_bufpool() 177 struct xgene_enet_raw_desc16 *raw_desc; in xgene_enet_delete_bufpool() local [all …]
|
D | xgene_enet_ring2.c | 147 xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); in xgene_enet_setup_ring()
|
D | xgene_enet_main.h | 123 struct xgene_enet_raw_desc *raw_desc; member
|
D | xgene_enet_hw.c | 152 xgene_enet_mark_desc_slot_empty(&ring->raw_desc[i]); in xgene_enet_setup_ring()
|