rx_swbd           411 drivers/net/ethernet/freescale/enetc/enetc.c 			   struct enetc_rx_swbd *rx_swbd)
rx_swbd           427 drivers/net/ethernet/freescale/enetc/enetc.c 	rx_swbd->dma = addr;
rx_swbd           428 drivers/net/ethernet/freescale/enetc/enetc.c 	rx_swbd->page = page;
rx_swbd           429 drivers/net/ethernet/freescale/enetc/enetc.c 	rx_swbd->page_offset = ENETC_RXB_PAD;
rx_swbd           436 drivers/net/ethernet/freescale/enetc/enetc.c 	struct enetc_rx_swbd *rx_swbd;
rx_swbd           441 drivers/net/ethernet/freescale/enetc/enetc.c 	rx_swbd = &rx_ring->rx_swbd[i];
rx_swbd           446 drivers/net/ethernet/freescale/enetc/enetc.c 		if (unlikely(!rx_swbd->page)) {
rx_swbd           447 drivers/net/ethernet/freescale/enetc/enetc.c 			if (unlikely(!enetc_new_page(rx_ring, rx_swbd))) {
rx_swbd           454 drivers/net/ethernet/freescale/enetc/enetc.c 		rxbd->w.addr = cpu_to_le64(rx_swbd->dma +
rx_swbd           455 drivers/net/ethernet/freescale/enetc/enetc.c 					   rx_swbd->page_offset);
rx_swbd           459 drivers/net/ethernet/freescale/enetc/enetc.c 		rx_swbd++;
rx_swbd           464 drivers/net/ethernet/freescale/enetc/enetc.c 			rx_swbd = rx_ring->rx_swbd;
rx_swbd           547 drivers/net/ethernet/freescale/enetc/enetc.c 	new = &rx_ring->rx_swbd[rx_ring->next_to_alloc];
rx_swbd           559 drivers/net/ethernet/freescale/enetc/enetc.c 	struct enetc_rx_swbd *rx_swbd = &rx_ring->rx_swbd[i];
rx_swbd           561 drivers/net/ethernet/freescale/enetc/enetc.c 	dma_sync_single_range_for_cpu(rx_ring->dev, rx_swbd->dma,
rx_swbd           562 drivers/net/ethernet/freescale/enetc/enetc.c 				      rx_swbd->page_offset,
rx_swbd           564 drivers/net/ethernet/freescale/enetc/enetc.c 	return rx_swbd;
rx_swbd           568 drivers/net/ethernet/freescale/enetc/enetc.c 			      struct enetc_rx_swbd *rx_swbd)
rx_swbd           570 drivers/net/ethernet/freescale/enetc/enetc.c 	if (likely(enetc_page_reusable(rx_swbd->page))) {
rx_swbd           571 drivers/net/ethernet/freescale/enetc/enetc.c 		rx_swbd->page_offset ^= ENETC_RXB_TRUESIZE;
rx_swbd           572 drivers/net/ethernet/freescale/enetc/enetc.c 		page_ref_inc(rx_swbd->page);
rx_swbd           574 drivers/net/ethernet/freescale/enetc/enetc.c 		enetc_reuse_page(rx_ring, rx_swbd);
rx_swbd           577 drivers/net/ethernet/freescale/enetc/enetc.c 		dma_sync_single_range_for_device(rx_ring->dev, rx_swbd->dma,
rx_swbd           578 drivers/net/ethernet/freescale/enetc/enetc.c 						 rx_swbd->page_offset,
rx_swbd           582 drivers/net/ethernet/freescale/enetc/enetc.c 		dma_unmap_page(rx_ring->dev, rx_swbd->dma,
rx_swbd           586 drivers/net/ethernet/freescale/enetc/enetc.c 	rx_swbd->page = NULL;
rx_swbd           592 drivers/net/ethernet/freescale/enetc/enetc.c 	struct enetc_rx_swbd *rx_swbd = enetc_get_rx_buff(rx_ring, i, size);
rx_swbd           596 drivers/net/ethernet/freescale/enetc/enetc.c 	ba = page_address(rx_swbd->page) + rx_swbd->page_offset;
rx_swbd           606 drivers/net/ethernet/freescale/enetc/enetc.c 	enetc_put_rx_buff(rx_ring, rx_swbd);
rx_swbd           614 drivers/net/ethernet/freescale/enetc/enetc.c 	struct enetc_rx_swbd *rx_swbd = enetc_get_rx_buff(rx_ring, i, size);
rx_swbd           616 drivers/net/ethernet/freescale/enetc/enetc.c 	skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, rx_swbd->page,
rx_swbd           617 drivers/net/ethernet/freescale/enetc/enetc.c 			rx_swbd->page_offset, size, ENETC_RXB_TRUESIZE);
rx_swbd           619 drivers/net/ethernet/freescale/enetc/enetc.c 	enetc_put_rx_buff(rx_ring, rx_swbd);
rx_swbd           835 drivers/net/ethernet/freescale/enetc/enetc.c 	rxr->rx_swbd = vzalloc(rxr->bd_count * sizeof(struct enetc_rx_swbd));
rx_swbd           836 drivers/net/ethernet/freescale/enetc/enetc.c 	if (!rxr->rx_swbd)
rx_swbd           841 drivers/net/ethernet/freescale/enetc/enetc.c 		vfree(rxr->rx_swbd);
rx_swbd           861 drivers/net/ethernet/freescale/enetc/enetc.c 	vfree(rxr->rx_swbd);
rx_swbd           862 drivers/net/ethernet/freescale/enetc/enetc.c 	rxr->rx_swbd = NULL;
rx_swbd           914 drivers/net/ethernet/freescale/enetc/enetc.c 	if (!rx_ring->rx_swbd)
rx_swbd           918 drivers/net/ethernet/freescale/enetc/enetc.c 		struct enetc_rx_swbd *rx_swbd = &rx_ring->rx_swbd[i];
rx_swbd           920 drivers/net/ethernet/freescale/enetc/enetc.c 		if (!rx_swbd->page)
rx_swbd           923 drivers/net/ethernet/freescale/enetc/enetc.c 		dma_unmap_page(rx_ring->dev, rx_swbd->dma,
rx_swbd           925 drivers/net/ethernet/freescale/enetc/enetc.c 		__free_page(rx_swbd->page);
rx_swbd           926 drivers/net/ethernet/freescale/enetc/enetc.c 		rx_swbd->page = NULL;
rx_swbd            64 drivers/net/ethernet/freescale/enetc/enetc.h 		struct enetc_rx_swbd *rx_swbd;