Home
last modified time | relevance | path

Searched refs:bd_status (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/wan/
H A Dfsl_ucc_hdlc.c85 u16 bd_status; in uhdlc_init() local
307 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() local
405 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 …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c1134 u32 bd_status, in enetc_check_bd_errors_and_consume() argument
1137 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() argument
1176 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() local
1220 bd_status = le32_to_cpu(rxbd->r.lstatus); in enetc_clean_rx_ring()
[all …]
/openbmc/u-boot/drivers/net/
H A Dfec_mxc.c846 uint16_t bd_status; in fecmxc_recv() local
916 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()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.c260 u32 bd_status; in rx_bd_buffer_set() local
268 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() local
2934 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() local
3006 bd_status = in_be32((u32 __iomem *)bd); in ucc_geth_rx()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.h79 struct bd_status { struct
H A Dsec_crypto.c172 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()
/openbmc/linux/drivers/spi/
H A Dspi-pic32-sqi.c99 u32 bd_status; /* reserved */ member
310 bd->bd_status = 0; in pic32_sqi_one_transfer()
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.h137 struct bd_status { struct
149 struct bd_status status; argument