erxrd            1015 drivers/net/ethernet/microchip/enc28j60.c 	int epkcnt, erxst, erxnd, erxwr, erxrd;
erxrd            1026 drivers/net/ethernet/microchip/enc28j60.c 		erxrd = nolock_regw_read(priv, ERXRDPTL);
erxrd            1028 drivers/net/ethernet/microchip/enc28j60.c 		if (erxwr > erxrd)
erxrd            1029 drivers/net/ethernet/microchip/enc28j60.c 			free_space = (erxnd - erxst) - (erxwr - erxrd);
erxrd            1030 drivers/net/ethernet/microchip/enc28j60.c 		else if (erxwr == erxrd)
erxrd            1033 drivers/net/ethernet/microchip/enc28j60.c 			free_space = erxrd - erxwr - 1;