Lines Matching refs:netcp_pktdma
109 struct pktdma_cfg *netcp_pktdma; member
531 return ksnav_send(&netcp_pktdma, buffer, in cpmac_drv_send()
568 if (ksnav_init(&netcp_pktdma, &net_rx_buffs)) { in keystone2_eth_open()
586 ksnav_close(&netcp_pktdma); in keystone2_eth_open()
616 ksnav_close(&netcp_pktdma); in keystone2_eth_close()
655 hd = ksnav_recv(&netcp_pktdma, &pkt, &pkt_size); in keystone2_eth_rcv_packet()
661 ksnav_release_rxhd(&netcp_pktdma, hd); in keystone2_eth_rcv_packet()
758 if (ksnav_init(priv->netcp_pktdma, &priv->net_rx_buffs)) { in ks2_eth_start()
789 ksnav_close(priv->netcp_pktdma); in ks2_eth_start()
807 return ksnav_send(priv->netcp_pktdma, (u32 *)packet, in ks2_eth_send()
817 priv->hd = ksnav_recv(priv->netcp_pktdma, &pkt, &pkt_size); in ks2_eth_recv()
831 ksnav_release_rxhd(priv->netcp_pktdma, priv->hd); in ks2_eth_free_pkt()
844 ksnav_close(priv->netcp_pktdma); in ks2_eth_stop()
952 priv->netcp_pktdma = &netcp_pktdma; in ks2_eth_probe()