Lines Matching refs:ctl1
116 u32 ctl1; in bgmac_dma_tx_add_buf() local
121 ctl1 = len & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add_buf()
128 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_tx_add_buf()
217 u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1); in bgmac_dma_tx_add() local
218 int len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add()
251 u32 ctl0, ctl1; in bgmac_dma_tx_free() local
258 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()
259 len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_free()
381 u32 ctl0 = 0, ctl1 = 0; in bgmac_dma_rx_setup_desc() local
385 ctl1 |= BGMAC_RX_BUF_SIZE & BGMAC_DESC_CTL1_LEN; in bgmac_dma_rx_setup_desc()
394 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_rx_setup_desc()
534 u32 ctl1 = le32_to_cpu(dma_desc[i].ctl1); in bgmac_dma_tx_ring_free() local
535 unsigned int len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_ring_free()