Lines Matching refs:ctl1
112 u32 ctl1; in bgmac_dma_tx_add_buf() local
117 ctl1 = len & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add_buf()
124 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_tx_add_buf()
213 u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1); in bgmac_dma_tx_add() local
214 int len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add()
248 u32 ctl0, ctl1; in bgmac_dma_tx_free() local
255 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()
256 len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_free()
379 u32 ctl0 = 0, ctl1 = 0; in bgmac_dma_rx_setup_desc() local
383 ctl1 |= BGMAC_RX_BUF_SIZE & BGMAC_DESC_CTL1_LEN; in bgmac_dma_rx_setup_desc()
392 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_rx_setup_desc()
532 int len = dma_desc[i].ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_ring_free()