Searched refs:netcp_priv (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/ti/ |
D | netcp.h | 228 int netcp_register_txhook(struct netcp_intf *netcp_priv, int order, 230 int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order, 232 int netcp_register_rxhook(struct netcp_intf *netcp_priv, int order, 234 int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
|
D | netcp_core.c | 88 struct netcp_intf *netcp_priv; member 316 intf_modpriv->netcp_priv = netcp_intf; in netcp_module_probe() 470 int netcp_register_txhook(struct netcp_intf *netcp_priv, int order, in netcp_register_txhook() argument 477 entry = devm_kzalloc(netcp_priv->dev, sizeof(*entry), GFP_KERNEL); in netcp_register_txhook() 485 spin_lock_irqsave(&netcp_priv->lock, flags); in netcp_register_txhook() 486 list_for_each_entry(next, &netcp_priv->txhook_list_head, list) { in netcp_register_txhook() 491 spin_unlock_irqrestore(&netcp_priv->lock, flags); in netcp_register_txhook() 497 int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order, in netcp_unregister_txhook() argument 503 spin_lock_irqsave(&netcp_priv->lock, flags); in netcp_unregister_txhook() 504 list_for_each_entry_safe(next, n, &netcp_priv->txhook_list_head, list) { in netcp_unregister_txhook() [all …]
|