put_tx_ctx 826 drivers/net/ethernet/nvidia/forcedeth.c struct nv_skb_map *get_tx_ctx, *put_tx_ctx; put_tx_ctx 1963 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = np->tx_skb; put_tx_ctx 2095 drivers/net/ethernet/nvidia/forcedeth.c return (u32)(np->tx_ring_size - ((np->tx_ring_size + (np->put_tx_ctx - np->get_tx_ctx)) % np->tx_ring_size)); put_tx_ctx 2252 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma = dma_map_single(&np->pci_dev->dev, put_tx_ctx 2256 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma))) { put_tx_ctx 2264 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; put_tx_ctx 2265 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_single = 1; put_tx_ctx 2266 drivers/net/ethernet/nvidia/forcedeth.c put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); put_tx_ctx 2274 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->put_tx_ctx++ == np->last_tx_ctx)) put_tx_ctx 2275 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = np->tx_skb; put_tx_ctx 2286 drivers/net/ethernet/nvidia/forcedeth.c start_tx_ctx = tmp_tx_ctx = np->put_tx_ctx; put_tx_ctx 2289 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma = skb_frag_dma_map( put_tx_ctx 2295 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma))) { put_tx_ctx 2302 drivers/net/ethernet/nvidia/forcedeth.c } while (tmp_tx_ctx != np->put_tx_ctx); put_tx_ctx 2304 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = start_tx_ctx; put_tx_ctx 2311 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; put_tx_ctx 2312 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_single = 0; put_tx_ctx 2313 drivers/net/ethernet/nvidia/forcedeth.c put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); put_tx_ctx 2320 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->put_tx_ctx++ == np->last_tx_ctx)) put_tx_ctx 2321 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = np->tx_skb; put_tx_ctx 2330 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->put_tx_ctx == np->tx_skb)) put_tx_ctx 2333 drivers/net/ethernet/nvidia/forcedeth.c prev_tx_ctx = np->put_tx_ctx - 1; put_tx_ctx 2404 drivers/net/ethernet/nvidia/forcedeth.c start_tx_ctx = np->put_tx_ctx; put_tx_ctx 2409 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma = dma_map_single(&np->pci_dev->dev, put_tx_ctx 2413 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma))) { put_tx_ctx 2421 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; put_tx_ctx 2422 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_single = 1; put_tx_ctx 2423 drivers/net/ethernet/nvidia/forcedeth.c put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); put_tx_ctx 2424 drivers/net/ethernet/nvidia/forcedeth.c put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); put_tx_ctx 2432 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->put_tx_ctx++ == np->last_tx_ctx)) put_tx_ctx 2433 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = np->tx_skb; put_tx_ctx 2445 drivers/net/ethernet/nvidia/forcedeth.c start_tx_ctx = tmp_tx_ctx = np->put_tx_ctx; put_tx_ctx 2446 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma = skb_frag_dma_map( put_tx_ctx 2453 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma))) { put_tx_ctx 2460 drivers/net/ethernet/nvidia/forcedeth.c } while (tmp_tx_ctx != np->put_tx_ctx); put_tx_ctx 2462 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = start_tx_ctx; put_tx_ctx 2468 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_len = bcnt; put_tx_ctx 2469 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx->dma_single = 0; put_tx_ctx 2470 drivers/net/ethernet/nvidia/forcedeth.c put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); put_tx_ctx 2471 drivers/net/ethernet/nvidia/forcedeth.c put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); put_tx_ctx 2478 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->put_tx_ctx++ == np->last_tx_ctx)) put_tx_ctx 2479 drivers/net/ethernet/nvidia/forcedeth.c np->put_tx_ctx = np->tx_skb; put_tx_ctx 2488 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->put_tx_ctx == np->tx_skb)) put_tx_ctx 2491 drivers/net/ethernet/nvidia/forcedeth.c prev_tx_ctx = np->put_tx_ctx - 1; put_tx_ctx 2527 drivers/net/ethernet/nvidia/forcedeth.c start_tx_ctx->next_tx_ctx = np->put_tx_ctx; put_tx_ctx 2528 drivers/net/ethernet/nvidia/forcedeth.c np->tx_end_flip = np->put_tx_ctx;