Searched refs:bufdesc (Results 1 – 2 of 2) sorted by relevance
195 struct bufdesc { struct201 struct bufdesc { argument209 struct bufdesc desc; argument443 struct bufdesc *tx_bd_base;449 struct bufdesc *cur_tx;450 struct bufdesc *dirty_tx;460 struct bufdesc *rx_bd_base;463 struct bufdesc *cur_rx;
224 struct bufdesc *fec_enet_get_nextdesc(struct bufdesc *bdp, in fec_enet_get_nextdesc()228 struct bufdesc *new_bd = bdp + 1; in fec_enet_get_nextdesc()233 struct bufdesc *base; in fec_enet_get_nextdesc()247 return (struct bufdesc *)((ex_new_bd >= (ex_base + ring_size)) ? in fec_enet_get_nextdesc()255 struct bufdesc *fec_enet_get_prevdesc(struct bufdesc *bdp, in fec_enet_get_prevdesc()259 struct bufdesc *new_bd = bdp - 1; in fec_enet_get_prevdesc()264 struct bufdesc *base; in fec_enet_get_prevdesc()278 return (struct bufdesc *)((ex_new_bd < ex_base) ? in fec_enet_get_prevdesc()284 static int fec_enet_get_bd_index(struct bufdesc *base, struct bufdesc *bdp, in fec_enet_get_bd_index()323 struct bufdesc *bdp; in fec_dump()[all …]