Home
last modified time | relevance | path

Searched refs:netcp (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/ti/
Dnetcp_core.c69 #define for_each_module(netcp, intf_modpriv) \ argument
70 list_for_each_entry(intf_modpriv, &netcp->module_head, intf_list)
220 static int netcp_register_interface(struct netcp_intf *netcp) in netcp_register_interface() argument
224 ret = register_netdev(netcp->ndev); in netcp_register_interface()
226 netcp->netdev_registered = true; in netcp_register_interface()
577 static void netcp_free_rx_desc_chain(struct netcp_intf *netcp, in netcp_free_rx_desc_chain() argument
589 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_free_rx_desc_chain()
591 dev_err(netcp->ndev_dev, "failed to unmap Rx desc\n"); in netcp_free_rx_desc_chain()
600 dma_unmap_page(netcp->dev, dma_buf, PAGE_SIZE, DMA_FROM_DEVICE); in netcp_free_rx_desc_chain()
602 knav_pool_desc_put(netcp->rx_pool, desc); in netcp_free_rx_desc_chain()
[all …]
Dnetcp_ethss.c1744 struct netcp_intf *netcp = netdev_priv(ndev); in keystone_get_msglevel() local
1746 return netcp->msg_enable; in keystone_get_msglevel()
1751 struct netcp_intf *netcp = netdev_priv(ndev); in keystone_set_msglevel() local
1753 netcp->msg_enable = value; in keystone_set_msglevel()
1756 static struct gbe_intf *keystone_get_intf_data(struct netcp_intf *netcp) in keystone_get_intf_data() argument
1760 gbe_intf = netcp_module_get_intf_data(&gbe_module, netcp); in keystone_get_intf_data()
1762 gbe_intf = netcp_module_get_intf_data(&xgbe_module, netcp); in keystone_get_intf_data()
1770 struct netcp_intf *netcp = netdev_priv(ndev); in keystone_get_stat_strings() local
1775 gbe_intf = keystone_get_intf_data(netcp); in keystone_get_stat_strings()
1795 struct netcp_intf *netcp = netdev_priv(ndev); in keystone_get_sset_count() local
[all …]
Dnetcp.h59 struct netcp_intf *netcp; member
134 struct netcp_intf *netcp; member