Searched refs:le_desc (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_emc-test.c | 268 NPCM7xxEMCTxDesc le_desc; in emc_write_tx_desc() local 270 le_desc.flags = cpu_to_le32(desc->flags); in emc_write_tx_desc() 271 le_desc.txbsa = cpu_to_le32(desc->txbsa); in emc_write_tx_desc() 272 le_desc.status_and_length = cpu_to_le32(desc->status_and_length); in emc_write_tx_desc() 273 le_desc.ntxdsa = cpu_to_le32(desc->ntxdsa); in emc_write_tx_desc() 274 qtest_memwrite(qts, addr, &le_desc, sizeof(le_desc)); in emc_write_tx_desc() 290 NPCM7xxEMCRxDesc le_desc; in emc_write_rx_desc() local 293 le_desc.rxbsa = cpu_to_le32(desc->rxbsa); in emc_write_rx_desc() 294 le_desc.reserved = cpu_to_le32(desc->reserved); in emc_write_rx_desc() 295 le_desc.nrxdsa = cpu_to_le32(desc->nrxdsa); in emc_write_rx_desc() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | npcm7xx_emc.c | 229 NPCM7xxEMCTxDesc le_desc; in emc_write_tx_desc() local 231 le_desc.flags = cpu_to_le32(desc->flags); in emc_write_tx_desc() 232 le_desc.txbsa = cpu_to_le32(desc->txbsa); in emc_write_tx_desc() 234 le_desc.ntxdsa = cpu_to_le32(desc->ntxdsa); in emc_write_tx_desc() 235 if (dma_memory_write(&address_space_memory, addr, &le_desc, in emc_write_tx_desc() 236 sizeof(le_desc), MEMTXATTRS_UNSPECIFIED)) { in emc_write_tx_desc() 261 NPCM7xxEMCRxDesc le_desc; in emc_write_rx_desc() local 264 le_desc.rxbsa = cpu_to_le32(desc->rxbsa); in emc_write_rx_desc() 265 le_desc.reserved = cpu_to_le32(desc->reserved); in emc_write_rx_desc() 266 le_desc.nrxdsa = cpu_to_le32(desc->nrxdsa); in emc_write_rx_desc() [all …]
|
H A D | npcm_gmac.c | 227 struct NPCMGMACRxDesc le_desc; in gmac_write_rx_desc() local 228 le_desc.rdes0 = cpu_to_le32(desc->rdes0); in gmac_write_rx_desc() 229 le_desc.rdes1 = cpu_to_le32(desc->rdes1); in gmac_write_rx_desc() 230 le_desc.rdes2 = cpu_to_le32(desc->rdes2); in gmac_write_rx_desc() 231 le_desc.rdes3 = cpu_to_le32(desc->rdes3); in gmac_write_rx_desc() 232 if (dma_memory_write(&address_space_memory, addr, &le_desc, in gmac_write_rx_desc() 258 struct NPCMGMACTxDesc le_desc; in gmac_write_tx_desc() local 259 le_desc.tdes0 = cpu_to_le32(desc->tdes0); in gmac_write_tx_desc() 260 le_desc.tdes1 = cpu_to_le32(desc->tdes1); in gmac_write_tx_desc() 261 le_desc.tdes2 = cpu_to_le32(desc->tdes2); in gmac_write_tx_desc() [all …]
|