Lines Matching refs:bd_status
259 u32 bd_status; in rx_bd_buffer_set() local
267 bd_status = in_be32((u32 __iomem *)bd); in rx_bd_buffer_set()
279 } while (!(bd_status & R_W)); in rx_bd_buffer_set()
2920 u32 bd_status; in ucc_geth_start_xmit() local
2933 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_start_xmit()
2949 bd_status = (bd_status & T_W) | T_R | T_I | T_L | skb->len; in ucc_geth_start_xmit()
2952 out_be32((u32 __iomem *)bd, bd_status); in ucc_geth_start_xmit()
2955 if (!(bd_status & T_W)) in ucc_geth_start_xmit()
2994 u32 bd_status; in ucc_geth_rx() local
3005 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_rx()
3008 while (!((bd_status & (R_E)) || (--rx_work_limit < 0))) { in ucc_geth_rx()
3010 length = (u16) ((bd_status & BD_LENGTH_MASK) - 4); in ucc_geth_rx()
3016 (!(bd_status & (R_F | R_L))) || in ucc_geth_rx()
3017 (bd_status & R_ERRORS_FATAL)) { in ucc_geth_rx()
3055 if (bd_status & R_W) in ucc_geth_rx()
3060 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_rx()
3074 u32 bd_status; in ucc_geth_tx() local
3077 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_tx()
3080 while ((bd_status & T_R) == 0) { in ucc_geth_tx()
3106 if (!(bd_status & T_W)) in ucc_geth_tx()
3110 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_tx()