Home
last modified time | relevance | path

Searched refs:rx_status (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/drivers/net/
Dep93xx_eth.h47 struct rx_status { struct
52 #define RX_STATUS_RWE(rx_status) ((rx_status->word1 >> 30) & 0x01) argument
53 #define RX_STATUS_RFP(rx_status) ((rx_status->word1 >> 31) & 0x01) argument
54 #define RX_STATUS_FRAME_LEN(rx_status) (rx_status->word2 & 0xFFFF) argument
107 struct rx_status *base;
108 volatile struct rx_status *current;
109 struct rx_status *end;
Dsunxi_emac.c170 u16 rx_status; member
413 int rx_status; in _sunxi_emac_eth_recv() local
453 rx_status = rxhdr.rx_status; in _sunxi_emac_eth_recv()
462 if (0 & rx_status & (EMAC_CRCERR | EMAC_LENERR)) { in _sunxi_emac_eth_recv()
464 if (rx_status & EMAC_CRCERR) in _sunxi_emac_eth_recv()
466 if (rx_status & EMAC_LENERR) in _sunxi_emac_eth_recv()
Drtl8139.c470 unsigned int rx_size, rx_status; in rtl_poll() local
487 rx_status = le32_to_cpu(*(unsigned int *)(rx_ring + ring_offs)); in rtl_poll()
488 rx_size = rx_status >> 16; in rtl_poll()
489 rx_status &= 0xffff; in rtl_poll()
491 if ((rx_status & (RxBadSymbol|RxRunt|RxTooLong|RxCRCErr|RxBadAlign)) || in rtl_poll()
493 printf("rx error %hX\n", rx_status); in rtl_poll()
Ddm9000x.c96 void (*rx_status)(u16 *RxStatus, u16 *RxLen); member
303 db->rx_status = dm9000_rx_status_16bit; in dm9000_init()
309 db->rx_status = dm9000_rx_status_32bit; in dm9000_init()
315 db->rx_status = dm9000_rx_status_8bit; in dm9000_init()
322 db->rx_status = dm9000_rx_status_8bit; in dm9000_init()
495 (db->rx_status)(&RxStatus, &RxLen); in dm9000_rx()
Dnatsemi.c827 u32 rx_status = le32_to_cpu(rxd[cur_rx].cmdsts); in natsemi_poll() local
829 if (!(rx_status & (u32) DescOwn)) in natsemi_poll()
834 cur_rx, rx_status); in natsemi_poll()
836 length = (rx_status & DSIZE) - CRC_SIZE; in natsemi_poll()
838 if ((rx_status & (DescMore | DescPktOK | DescRxLong)) != DescPktOK) { in natsemi_poll()
841 rx_status); in natsemi_poll()
Dns8382x.c800 vu_long rx_status = le32_to_cpu(rxd[cur_rx].cmdsts); in ns8382x_poll() local
802 if (!(rx_status & (u32) DescOwn)) in ns8382x_poll()
806 cur_rx, rx_status); in ns8382x_poll()
808 length = (rx_status & DSIZE) - CRC_SIZE; in ns8382x_poll()
810 if ((rx_status & (DescMore | DescPktOK | DescRxLong)) != DescPktOK) { in ns8382x_poll()
813 rx_status); in ns8382x_poll()
Dep93xx_eth.c220 writel(sizeof(struct rx_status) * NUMRXDESC, &mac->rxstsq.blen); in ep93xx_eth_open()
248 (sizeof(struct rx_status) * NUMRXDESC)); in ep93xx_eth_open()
340 sizeof(struct rx_status)); in ep93xx_eth_rcv_packet()
483 sizeof(struct rx_status)); in ep93xx_eth_initialize()
Dmvneta.c1646 u32 rx_status; in mvneta_recv() local
1654 rx_status = rx_desc->status; in mvneta_recv()
1655 if (!mvneta_rxq_desc_is_first_last(rx_status) || in mvneta_recv()
1656 (rx_status & MVNETA_RXD_ERR_SUMMARY)) { in mvneta_recv()
Dmvpp2.c5191 u32 bm, rx_status; in mvpp2_recv() local
5208 rx_status = mvpp2_rxdesc_status_get(port, rx_desc); in mvpp2_recv()
5222 if (rx_status & MVPP2_RXD_ERR_SUMMARY) { in mvpp2_recv()
/external/kernel-headers/original/uapi/linux/
Dcec.h66 __u8 rx_status; member
167 if (msg->rx_status && !(msg->rx_status & CEC_RX_STATUS_OK)) in cec_msg_status_is_ok()
169 if (!msg->tx_status && !msg->rx_status) in cec_msg_status_is_ok()
171 return !(msg->rx_status & CEC_RX_STATUS_FEATURE_ABORT); in cec_msg_status_is_ok()
/external/u-boot/drivers/net/pfe_eth/
Dpfe_cmd.c420 u32 rx_status; in pfe_command_stop() local
429 rx_status = readl(HIF_RX_STATUS); in pfe_command_stop()
430 if (rx_status & BDP_CSR_RX_DMA_ACTV) in pfe_command_stop()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sockmap.c588 int rx_status, tx_status; in sendmsg_test() local
671 assert(waitpid(rxpid, &rx_status, 0) == rxpid); in sendmsg_test()
673 if (WIFEXITED(rx_status)) { in sendmsg_test()
674 err = WEXITSTATUS(rx_status); in sendmsg_test()