Lines Matching refs:cpu_to_edmac

970 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()
1441 txdesc->status = cpu_to_edmac(mdp, TD_TFP); in sh_eth_txfree()
1443 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE); in sh_eth_txfree()
1470 while (!(rxdesc->status & cpu_to_edmac(mdp, RD_RACT))) { in sh_eth_rx()
1541 rxdesc->len = cpu_to_edmac(mdp, buf_len << 16); in sh_eth_rx()
1557 rxdesc->addr = cpu_to_edmac(mdp, dma_addr); in sh_eth_rx()
1562 cpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDLE); in sh_eth_rx()
1565 cpu_to_edmac(mdp, RD_RACT | RD_RFP); in sh_eth_rx()
2365 rxdesc->status = cpu_to_edmac(mdp, 0); in sh_eth_tx_timeout()
2366 rxdesc->addr = cpu_to_edmac(mdp, 0xBADF00D0); in sh_eth_tx_timeout()
2414 txdesc->addr = cpu_to_edmac(mdp, dma_addr); in sh_eth_start_xmit()
2415 txdesc->len = cpu_to_edmac(mdp, skb->len << 16); in sh_eth_start_xmit()
2419 txdesc->status |= cpu_to_edmac(mdp, TD_TACT | TD_TDLE); in sh_eth_start_xmit()
2421 txdesc->status |= cpu_to_edmac(mdp, TD_TACT); in sh_eth_start_xmit()