Lines Matching refs:cpu_to_le32
375 tp->tx_ring[tp->cur_tx].length = cpu_to_le32(0x08000000 | 192);
376 tp->tx_ring[tp->cur_tx].buffer1 = cpu_to_le32(mapping);
377 tp->tx_ring[tp->cur_tx].status = cpu_to_le32(DescOwned);
629 tp->rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ);
630 tp->rx_ring[i].buffer2 = cpu_to_le32(tp->rx_ring_dma + sizeof(struct tulip_rx_desc) * (i + 1));
635 tp->rx_ring[i-1].length = cpu_to_le32(PKT_BUF_SZ | DESC_RING_WRAP);
636 tp->rx_ring[i-1].buffer2 = cpu_to_le32(tp->rx_ring_dma);
652 tp->rx_ring[i].status = cpu_to_le32(DescOwned); /* Owned by Tulip chip */
653 tp->rx_ring[i].buffer1 = cpu_to_le32(mapping);
663 tp->tx_ring[i].buffer2 = cpu_to_le32(tp->tx_ring_dma + sizeof(struct tulip_tx_desc) * (i + 1));
665 tp->tx_ring[i-1].buffer2 = cpu_to_le32(tp->tx_ring_dma);
686 tp->tx_ring[entry].buffer1 = cpu_to_le32(mapping);
701 tp->tx_ring[entry].length = cpu_to_le32(skb->len | flag);
704 tp->tx_ring[entry].status = cpu_to_le32(DescOwned);
814 tp->rx_ring[i].buffer1 = cpu_to_le32(0xBADF00D0);
1164 (entry == TX_RING_SIZE-1) ? cpu_to_le32(DESC_RING_WRAP) : 0;
1180 tp->tx_ring[entry].length = cpu_to_le32(tx_flags);
1182 cpu_to_le32(tp->tx_buffers[entry].mapping);
1183 tp->tx_ring[entry].status = cpu_to_le32(DescOwned);
1185 tp->tx_ring[dummy].status = cpu_to_le32(DescOwned);