Lines Matching refs:ctl1
124 u32 ctl1; in bgmac_dma_tx_add_buf() local
129 ctl1 = len & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add_buf()
136 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_tx_add_buf()
225 u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1); in bgmac_dma_tx_add() local
226 int len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add()
258 u32 ctl1; in bgmac_dma_tx_free() local
264 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()
265 len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_free()
266 if (ctl1 & BGMAC_DESC_CTL0_SOF) in bgmac_dma_tx_free()
383 u32 ctl0 = 0, ctl1 = 0; in bgmac_dma_rx_setup_desc() local
387 ctl1 |= BGMAC_RX_BUF_SIZE & BGMAC_DESC_CTL1_LEN; in bgmac_dma_rx_setup_desc()
396 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_rx_setup_desc()
525 int len = dma_desc[i].ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_ring_free()