Lines Matching refs:rxd
746 struct sge_rxdesc *rxd; in sge_dma_alloc() local
882 rxd = &cd->sge_rxdesc[i]; in sge_dma_alloc()
883 rxd->rx_m = NULL; in sge_dma_alloc()
884 rxd->rx_dmamap = NULL; in sge_dma_alloc()
886 &rxd->rx_dmamap); in sge_dma_alloc()
902 struct sge_rxdesc *rxd; in sge_dma_free() local
935 rxd = &cd->sge_rxdesc[i]; in sge_dma_free()
936 if (rxd->rx_dmamap != NULL) { in sge_dma_free()
938 rxd->rx_dmamap); in sge_dma_free()
939 rxd->rx_dmamap = NULL; in sge_dma_free()
1042 struct sge_rxdesc *rxd; in sge_list_rx_free() local
1048 rxd = &cd->sge_rxdesc[i]; in sge_list_rx_free()
1049 if (rxd->rx_m != NULL) { in sge_list_rx_free()
1050 bus_dmamap_sync(cd->sge_rxmbuf_tag, rxd->rx_dmamap, in sge_list_rx_free()
1053 rxd->rx_dmamap); in sge_list_rx_free()
1054 m_freem(rxd->rx_m); in sge_list_rx_free()
1055 rxd->rx_m = NULL; in sge_list_rx_free()
1070 struct sge_rxdesc *rxd; in sge_newbuf() local
1090 rxd = &cd->sge_rxdesc[prod]; in sge_newbuf()
1091 if (rxd->rx_m != NULL) { in sge_newbuf()
1092 bus_dmamap_sync(cd->sge_rxmbuf_tag, rxd->rx_dmamap, in sge_newbuf()
1094 bus_dmamap_unload(cd->sge_rxmbuf_tag, rxd->rx_dmamap); in sge_newbuf()
1096 map = rxd->rx_dmamap; in sge_newbuf()
1097 rxd->rx_dmamap = cd->sge_rx_spare_map; in sge_newbuf()
1099 bus_dmamap_sync(cd->sge_rxmbuf_tag, rxd->rx_dmamap, in sge_newbuf()
1101 rxd->rx_m = m; in sge_newbuf()