Lines Matching refs:cpu_to_edmac
946 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()
1550 cpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDEL); in sh_eth_rx()
1553 cpu_to_edmac(mdp, RD_RACT | RD_RFP); in sh_eth_rx()
2408 txdesc->status |= cpu_to_edmac(mdp, TD_TACT | TD_TDLE); in sh_eth_start_xmit()
2410 txdesc->status |= cpu_to_edmac(mdp, TD_TACT); in sh_eth_start_xmit()