Lines Matching refs:cpu_to_le32
76 cpu_to_le32(~VMXNET3_IC_DISABLE_ALL);
86 cpu_to_le32(VMXNET3_IC_DISABLE_ALL);
202 * After the driver writes into bitfields, cpu_to_le32 is used to translate the
228 *dst = cpu_to_le32(*src);
583 gd->dword[2] = cpu_to_le32((ring->gen << VMXNET3_RXD_GEN_SHIFT)
644 ctx->sop_txd->dword[2] = cpu_to_le32(dw2 | ctx->copy_size);
687 gdesc->dword[2] = cpu_to_le32(dw2);
716 gdesc->dword[2] = cpu_to_le32(dw2 | frag->size);
947 ctx.eop_txd->dword[3] = cpu_to_le32(VMXNET3_TXD_CQ | VMXNET3_TXD_EOP);
982 gdesc->dword[2] = cpu_to_le32(le32_to_cpu(gdesc->dword[2]) ^
1738 rxConf->rxMode = cpu_to_le32(new_mode);
1766 shared->magic = cpu_to_le32(VMXNET3_REV1_MAGIC);
1767 devRead->misc.driverInfo.version = cpu_to_le32(
1772 *((u32 *)&devRead->misc.driverInfo.gos) = cpu_to_le32(
1774 devRead->misc.driverInfo.vmxnet3RevSpt = cpu_to_le32(1);
1775 devRead->misc.driverInfo.uptVerSpt = cpu_to_le32(1);
1778 devRead->misc.ddLen = cpu_to_le32(sizeof(struct vmxnet3_adapter));
1793 devRead->misc.mtu = cpu_to_le32(adapter->netdev->mtu);
1795 devRead->misc.queueDescLen = cpu_to_le32(
1809 tqc->txRingSize = cpu_to_le32(adapter->tx_queue.tx_ring.size);
1810 tqc->dataRingSize = cpu_to_le32(adapter->tx_queue.data_ring.size);
1811 tqc->compRingSize = cpu_to_le32(adapter->tx_queue.comp_ring.size);
1812 tqc->ddLen = cpu_to_le32(sizeof(struct vmxnet3_tx_buf_info) *
1824 rqc->rxRingSize[0] = cpu_to_le32(adapter->rx_queue.rx_ring[0].size);
1825 rqc->rxRingSize[1] = cpu_to_le32(adapter->rx_queue.rx_ring[1].size);
1826 rqc->compRingSize = cpu_to_le32(adapter->rx_queue.comp_ring.size);
1827 rqc->ddLen = cpu_to_le32(sizeof(struct vmxnet3_rx_buf_info) *
1839 devRead->intrConf.intrCtrl |= cpu_to_le32(VMXNET3_IC_DISABLE_ALL);
2649 adapter->shared->devRead.pmConfDesc.confVer = cpu_to_le32(1);
2650 adapter->shared->devRead.pmConfDesc.confLen = cpu_to_le32(sizeof(
2684 adapter->shared->devRead.pmConfDesc.confVer = cpu_to_le32(1);
2685 adapter->shared->devRead.pmConfDesc.confLen = cpu_to_le32(sizeof(
2687 adapter->shared->devRead.pmConfDesc.confPA = cpu_to_le32(virt_to_phys(