Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Dfec_mxc.c326 ulong addr = (ulong)fec->tbd_base; in fec_tbd_init()
330 memset(fec->tbd_base, 0, size); in fec_tbd_init()
331 fec->tbd_base[0].status = 0; in fec_tbd_init()
332 fec->tbd_base[1].status = FEC_TBD_WRAP; in fec_tbd_init()
579 addr = (ulong)fec->tbd_base; in fecmxc_init()
685 writew(length, &fec->tbd_base[fec->tbd_index].data_length); in fecmxc_send()
686 writel((uint32_t)addr, &fec->tbd_base[fec->tbd_index].data_pointer); in fecmxc_send()
696 status = readw(&fec->tbd_base[fec->tbd_index].status) & FEC_TBD_WRAP; in fecmxc_send()
698 writew(status, &fec->tbd_base[fec->tbd_index].status); in fecmxc_send()
706 addr = (ulong)fec->tbd_base; in fecmxc_send()
[all …]
Dfec_mxc.h241 struct fec_bd *tbd_base; /* TBD ring */ member