Lines Matching refs:cpu_to_le32
740 cpu_to_le32(CMD_RX_BUF | INTR_ALWAYS | yp->rx_buf_sz);
741 yp->rx_ring[i].branch_addr = cpu_to_le32(yp->rx_ring_dma +
752 yp->rx_ring[i].addr = cpu_to_le32(pci_map_single(yp->pci_dev,
760 yp->rx_ring[i-1].dbdma_cmd = cpu_to_le32(CMD_STOP);
768 yp->tx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP);
769 yp->tx_ring[i].branch_addr = cpu_to_le32(yp->tx_ring_dma +
773 yp->tx_ring[--i].dbdma_cmd = cpu_to_le32(CMD_STOP | BRANCH_ALWAYS);
781 yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP);
782 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma +
787 cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status));
789 yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma +
794 cpu_to_le32(CMD_TXSTATUS | INTR_ALWAYS | 2);
797 yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma +
802 yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma +
806 yp->tx_ring[++j].dbdma_cmd |= cpu_to_le32(BRANCH_ALWAYS | INTR_ALWAYS);
843 yp->tx_ring[entry].addr = cpu_to_le32(pci_map_single(yp->pci_dev,
848 yp->tx_ring[0].dbdma_cmd = cpu_to_le32(CMD_STOP);
850 cpu_to_le32(CMD_TX_PKT|BRANCH_ALWAYS | len);
852 yp->tx_ring[entry+1].dbdma_cmd = cpu_to_le32(CMD_STOP);
854 cpu_to_le32(CMD_TX_PKT | BRANCH_IFTRUE | len);
859 yp->tx_ring[entry<<1].addr = cpu_to_le32(pci_map_single(yp->pci_dev,
867 yp->tx_ring[next_entry<<1].dbdma_cmd = cpu_to_le32(CMD_STOP);
872 cpu_to_le32( ((entry % 6) == 0 ? CMD_TX_PKT|INTR_ALWAYS|BRANCH_IFTRUE :
1165 yp->rx_ring[entry].addr = cpu_to_le32(pci_map_single(yp->pci_dev,
1168 yp->rx_ring[entry].dbdma_cmd = cpu_to_le32(CMD_STOP);
1172 cpu_to_le32(CMD_RX_BUF | INTR_ALWAYS | yp->rx_buf_sz);
1175 cpu_to_le32(CMD_RX_BUF | INTR_ALWAYS | BRANCH_ALWAYS
1260 yp->rx_ring[i].dbdma_cmd = cpu_to_le32(CMD_STOP);
1261 yp->rx_ring[i].addr = cpu_to_le32(0xBADF00D0); /* An invalid address. */