Lines Matching refs:rfa
123 }; /* 16B rfa */
195 struct rxdesc *rfa;
217 * Initialize base of CBL and RFA memory. Loading with zero
310 rfa = (struct rxdesc *)sc->store;
311 rfa->rfa_status = 0;
312 rfa->rfa_control = htole16(FXP_RFA_CONTROL_S);
313 rfa->link_addr = htole32(VTOPHYS(rfa));
314 rfa->rbd_addr = -1;
315 rfa->actual_size = 0;
316 rfa->size = htole16(sizeof(sc->store) - sizeof(struct rxdesc));
317 wbinv(rfa, sizeof(sc->store));
320 CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, VTOPHYS(rfa));
369 struct rxdesc *rfa;
386 rfa = (struct rxdesc *)l->store;
387 inv(rfa, sizeof(l->store)); /* whole including received frame */
388 if ((le16toh(rfa->rfa_status) & FXP_RFA_STATUS_C) == 0)
390 len = le16toh(rfa->actual_size) & 0x7ff;
395 rfa->rfa_status = 0;
396 rfa->rfa_control = htole16(FXP_RFA_CONTROL_S);
397 rfa->actual_size = 0;
398 wbinv(rfa, sizeof(struct rxdesc));