Home
last modified time | relevance | path

Searched refs:netcp_priv (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/ti/
Dnetcp.h236 int netcp_register_txhook(struct netcp_intf *netcp_priv, int order,
238 int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order,
240 int netcp_register_rxhook(struct netcp_intf *netcp_priv, int order,
242 int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
Dnetcp_core.c97 struct netcp_intf *netcp_priv; member
331 intf_modpriv->netcp_priv = netcp_intf; in netcp_module_probe()
485 int netcp_register_txhook(struct netcp_intf *netcp_priv, int order, in netcp_register_txhook() argument
492 entry = devm_kzalloc(netcp_priv->dev, sizeof(*entry), GFP_KERNEL); in netcp_register_txhook()
500 spin_lock_irqsave(&netcp_priv->lock, flags); in netcp_register_txhook()
501 list_for_each_entry(next, &netcp_priv->txhook_list_head, list) { in netcp_register_txhook()
506 spin_unlock_irqrestore(&netcp_priv->lock, flags); in netcp_register_txhook()
512 int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order, in netcp_unregister_txhook() argument
518 spin_lock_irqsave(&netcp_priv->lock, flags); in netcp_unregister_txhook()
519 list_for_each_entry_safe(next, n, &netcp_priv->txhook_list_head, list) { in netcp_unregister_txhook()
[all …]