Home
last modified time | relevance | path

Searched refs:bufdesc (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/freescale/
Dfec.h195 struct bufdesc { struct
201 struct bufdesc { argument
209 struct bufdesc desc; argument
443 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;
Dfec_main.c224 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 …]