Home
last modified time | relevance | path

Searched refs:BD_ENET_RX_EMPTY (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dether_fcc.c177 if (rtx.rxbd[rxIdx].cbd_sc & BD_ENET_RX_EMPTY) { in fec_recv()
197 rtx.rxbd[PKTBUFSRX - 1].cbd_sc = (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()
201 rtx.rxbd[rxIdx].cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
263 rtx.rxbd[i].cbd_sc = BD_ENET_RX_EMPTY; in fec_init()
/openbmc/u-boot/drivers/net/
H A Dfsl_mcdmafec.c27 #define BD_ENET_RX_W_E (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY)
277 if (!(prbd->cbd_sc & BD_ENET_RX_EMPTY)) { in fec_recv()
293 prbd->cbd_sc = (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()
295 prbd->cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
399 info->rxbd[i].cbd_sc = BD_ENET_RX_EMPTY; in fec_init()
H A Dmcffec.c32 #define BD_ENET_RX_W_E (BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY)
200 if (info->rxbd[info->rxIdx].cbd_sc & BD_ENET_RX_EMPTY) { in fec_recv()
234 info->rxbd[info->rxIdx].cbd_sc = BD_ENET_RX_EMPTY; in fec_recv()
477 info->rxbd[i].cbd_sc = BD_ENET_RX_EMPTY; in fec_init()
H A Dmpc8xx_fec.c225 if (in_be16(&rtx->rxbd[rxIdx].cbd_sc) & BD_ENET_RX_EMPTY) { in fec_recv()
256 BD_ENET_RX_WRAP | BD_ENET_RX_EMPTY); in fec_recv()
259 out_be16(&rtx->rxbd[rxIdx].cbd_sc, BD_ENET_RX_EMPTY); in fec_recv()
570 out_be16(&rtx->rxbd[i].cbd_sc, BD_ENET_RX_EMPTY); in fec_init()
/openbmc/linux/include/soc/fsl/
H A Dcpm.h118 #define BD_ENET_RX_EMPTY (0x8000) macro
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c198 while (((sc = CBDR_SC(bdp)) & BD_ENET_RX_EMPTY) == 0 && in fs_enet_napi()
286 CBDW_SC(bdp, (sc & ~BD_ENET_RX_STATS) | BD_ENET_RX_EMPTY); in fs_enet_napi()
386 CBDW_SC(bdp, BD_ENET_RX_EMPTY | in fs_init_bds()
/openbmc/u-boot/arch/m68k/include/asm/
H A Dfec.h44 #define BD_ENET_RX_EMPTY ((ushort)0x8000) macro
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec.h264 #define BD_ENET_RX_EMPTY ((ushort)0x8000) macro
H A Dfec_main.c949 bdp->cbd_sc = cpu_to_fec16(BD_ENET_RX_EMPTY); in fec_enet_bd_init()
1705 while (!((status = fec16_to_cpu(bdp->cbd_sc)) & BD_ENET_RX_EMPTY)) { in fec_enet_rx_queue()
1839 status |= BD_ENET_RX_EMPTY; in fec_enet_rx_queue()
3421 bdp->cbd_sc = cpu_to_fec16(BD_ENET_RX_EMPTY); in fec_enet_alloc_rxq_buffers()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dcpm_8xx.h425 #define BD_ENET_RX_EMPTY ((ushort)0x8000) macro
H A Dcpm_85xx.h358 #define BD_ENET_RX_EMPTY ((ushort)0x8000) macro