Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/renesas/
Dsh_eth.c946 static inline __u32 cpu_to_edmac(struct sh_eth_private *mdp, u32 x) in cpu_to_edmac() function
1162 rxdesc->status = cpu_to_edmac(mdp, RD_RACT | RD_RFP); in sh_eth_ring_format()
1176 rxdesc->status |= cpu_to_edmac(mdp, RD_RDEL); in sh_eth_ring_format()
1184 txdesc->status = cpu_to_edmac(mdp, TD_TFP); in sh_eth_ring_format()
1195 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE); in sh_eth_ring_format()
1384 mdp->tx_ring[i].status &= ~cpu_to_edmac(mdp, TD_TACT); in sh_eth_dev_exit()
1416 if (txdesc->status & cpu_to_edmac(mdp, TD_TACT)) in sh_eth_txfree()
1431 txdesc->status = cpu_to_edmac(mdp, TD_TFP); in sh_eth_txfree()
1433 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE); in sh_eth_txfree()
1459 while (!(rxdesc->status & cpu_to_edmac(mdp, RD_RACT))) { in sh_eth_rx()
[all …]