Lines Matching refs:kdev
1224 struct device *kdev = &priv->pdev->dev; in __bcmgenet_tx_reclaim() local
1252 dma_unmap_single(kdev, in __bcmgenet_tx_reclaim()
1260 dma_unmap_page(kdev, in __bcmgenet_tx_reclaim()
1339 struct device *kdev = &priv->pdev->dev; in bcmgenet_xmit_single() local
1355 mapping = dma_map_single(kdev, skb->data, skb_len, DMA_TO_DEVICE); in bcmgenet_xmit_single()
1356 ret = dma_mapping_error(kdev, mapping); in bcmgenet_xmit_single()
1385 struct device *kdev = &priv->pdev->dev; in bcmgenet_xmit_frag() local
1396 mapping = skb_frag_dma_map(kdev, frag, 0, in bcmgenet_xmit_frag()
1398 ret = dma_mapping_error(kdev, mapping); in bcmgenet_xmit_frag()
1576 struct device *kdev = &priv->pdev->dev; in bcmgenet_rx_refill() local
1592 mapping = dma_map_single(kdev, skb->data, priv->rx_buf_len, in bcmgenet_rx_refill()
1594 if (dma_mapping_error(kdev, mapping)) { in bcmgenet_rx_refill()
1605 dma_unmap_single(kdev, dma_unmap_addr(cb, dma_addr), in bcmgenet_rx_refill()
1812 struct device *kdev = &priv->pdev->dev; in bcmgenet_free_rx_buffers() local
1820 dma_unmap_single(kdev, in bcmgenet_free_rx_buffers()
1851 struct device *kdev = &priv->pdev->dev; in reset_umac() local
1873 dev_err(kdev, in reset_umac()
1912 struct device *kdev = &priv->pdev->dev; in init_umac() local
1979 dev_dbg(kdev, "done init umac\n"); in init_umac()