Lines Matching refs:cpu_to_edmac
310 static inline __u32 cpu_to_edmac(struct sh_eth_private *mdp, u32 x)
503 rxdesc->status = cpu_to_edmac(mdp, RD_RACT | RD_RFP);
519 rxdesc->status |= cpu_to_edmac(mdp, RD_RDEL);
527 txdesc->status = cpu_to_edmac(mdp, TD_TFP);
538 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE);
708 if (txdesc->status & cpu_to_edmac(mdp, TD_TACT))
716 txdesc->status = cpu_to_edmac(mdp, TD_TFP);
718 txdesc->status |= cpu_to_edmac(mdp, TD_TDLE);
739 while (!(rxdesc->status & cpu_to_edmac(mdp, RD_RACT))) {
779 rxdesc->status |= cpu_to_edmac(mdp, RD_RACT);
806 cpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDEL);
809 cpu_to_edmac(mdp, RD_RACT | RD_RFP);
1192 txdesc->status |= cpu_to_edmac(mdp, TD_TACT | TD_TDLE);
1194 txdesc->status |= cpu_to_edmac(mdp, TD_TACT);