Home
last modified time | relevance | path

Searched refs:cpu_to_edmac (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/renesas/
Dsh_eth.c970 static inline __u32 cpu_to_edmac(struct sh_eth_private *mdp, u32 x) in cpu_to_edmac() function
1200 rxdesc->len = cpu_to_edmac(mdp, buf_len << 16); in sh_eth_ring_format()
1201 rxdesc->addr = cpu_to_edmac(mdp, dma_addr); in sh_eth_ring_format()
1202 rxdesc->status = cpu_to_edmac(mdp, RD_RACT | RD_RFP); in sh_eth_ring_format()
1217 rxdesc->status |= cpu_to_edmac(mdp, RD_RDLE); in sh_eth_ring_format()
1225 txdesc->status = cpu_to_edmac(mdp, TD_TFP); in sh_eth_ring_format()
1226 txdesc->len = cpu_to_edmac(mdp, 0); in sh_eth_ring_format()
1236 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE); in sh_eth_ring_format()
1392 mdp->tx_ring[i].status &= ~cpu_to_edmac(mdp, TD_TACT); in sh_eth_dev_exit()
1424 if (txdesc->status & cpu_to_edmac(mdp, TD_TACT)) in sh_eth_txfree()
[all …]