Searched refs:re_tx_desc_cnt (Results 1 – 2 of 2) sorted by relevance
44 #define RE_TX_LIST_SZ(sc) ((sc)->re_tx_desc_cnt * sizeof(struct re_desc))52 #define RE_TXDESC_INC(sc, x) (x = (x + 1) % (sc)->re_tx_desc_cnt)137 int re_tx_desc_cnt; member
348 kmalloc(sc->re_tx_desc_cnt * sizeof(bus_dmamap_t), in re_allocmem()415 for (i = 0; i < sc->re_tx_desc_cnt; i++) { in re_allocmem()454 re_freebufmem(sc, sc->re_tx_desc_cnt, i); in re_allocmem()629 sc->re_tx_desc_cnt = re_tx_desc_count; in re_attach()630 if (sc->re_tx_desc_cnt > RE_TX_DESC_CNT_MAX) in re_attach()631 sc->re_tx_desc_cnt = RE_TX_DESC_CNT_MAX; in re_attach()634 if (sc->re_tx_desc_cnt > qlen) in re_attach()635 qlen = sc->re_tx_desc_cnt; in re_attach()1076 sc->re_ldata.re_tx_free = sc->re_tx_desc_cnt; in re_tx_list_init()1660 if (idx == (sc->re_tx_desc_cnt - 1)) in re_encap()[all …]