Searched refs:bd_status (Results 1 – 8 of 8) sorted by relevance
85 u16 bd_status; in uhdlc_init() local307 bd_status = R_E_S | R_I_S; in uhdlc_init()309 bd_status = R_E_S | R_I_S | R_W_S; in uhdlc_init()311 priv->rx_bd_base[i].status = cpu_to_be16(bd_status); in uhdlc_init()317 bd_status = T_I_S | T_TC_S; in uhdlc_init()319 bd_status = T_I_S | T_TC_S | T_W_S; in uhdlc_init()321 priv->tx_bd_base[i].status = cpu_to_be16(bd_status); in uhdlc_init()357 u16 bd_status; in ucc_hdlc_tx() local405 bd_status = be16_to_cpu(bd->status); in ucc_hdlc_tx()418 bd_status = (bd_status & T_W_S) | T_R_S | T_I_S | T_L_S | T_TC_S; in ucc_hdlc_tx()[all …]
1134 u32 bd_status, in enetc_check_bd_errors_and_consume() argument1137 if (likely(!(bd_status & ENETC_RXBD_LSTATUS(ENETC_RXBD_ERR_MASK)))) in enetc_check_bd_errors_and_consume()1143 while (!(bd_status & ENETC_RXBD_LSTATUS_F)) { in enetc_check_bd_errors_and_consume()1145 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_check_bd_errors_and_consume()1158 u32 bd_status, union enetc_rx_bd **rxbd, in enetc_build_skb() argument1176 while (!(bd_status & ENETC_RXBD_LSTATUS_F)) { in enetc_build_skb()1177 bd_status = le32_to_cpu((*rxbd)->r.lstatus); in enetc_build_skb()1180 if (bd_status & ENETC_RXBD_LSTATUS_F) { in enetc_build_skb()1213 u32 bd_status; in enetc_clean_rx_ring() local1220 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()[all …]
846 uint16_t bd_status; in fecmxc_recv() local916 bd_status = readw(&rbd->status); in fecmxc_recv()917 debug("fec_recv: status 0x%x\n", bd_status); in fecmxc_recv()919 if (!(bd_status & FEC_RBD_EMPTY)) { in fecmxc_recv()920 if ((bd_status & FEC_RBD_LAST) && !(bd_status & FEC_RBD_ERR) && in fecmxc_recv()943 if (bd_status & FEC_RBD_ERR) in fecmxc_recv()945 addr, bd_status); in fecmxc_recv()
260 u32 bd_status; in rx_bd_buffer_set() local268 bd_status = in_be32((u32 __iomem *)bd); in rx_bd_buffer_set()280 } while (!(bd_status & R_W)); in rx_bd_buffer_set()2921 u32 bd_status; in ucc_geth_start_xmit() local2934 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_start_xmit()2950 bd_status = (bd_status & T_W) | T_R | T_I | T_L | skb->len; in ucc_geth_start_xmit()2953 out_be32((u32 __iomem *)bd, bd_status); in ucc_geth_start_xmit()2956 if (!(bd_status & T_W)) in ucc_geth_start_xmit()2995 u32 bd_status; in ucc_geth_rx() local3006 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_rx()[all …]
79 struct bd_status { struct
172 static u8 pre_parse_finished_bd(struct bd_status *status, void *resp) in pre_parse_finished_bd()186 static u8 pre_parse_finished_bd3(struct bd_status *status, void *resp) in pre_parse_finished_bd3()201 struct bd_status *status) in sec_cb_status_check()235 struct bd_status status; in sec_req_cb()
99 u32 bd_status; /* reserved */ member310 bd->bd_status = 0; in pic32_sqi_one_transfer()
137 struct bd_status { struct149 struct bd_status status; argument