Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/ti/
Dnetcp.h228 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,
Dnetcp_core.c89 struct netcp_intf *netcp_priv; member
317 intf_modpriv->netcp_priv = netcp_intf; in netcp_module_probe()
471 int netcp_register_txhook(struct netcp_intf *netcp_priv, int order, in netcp_register_txhook() argument
478 entry = devm_kzalloc(netcp_priv->dev, sizeof(*entry), GFP_KERNEL); in netcp_register_txhook()
486 spin_lock_irqsave(&netcp_priv->lock, flags); in netcp_register_txhook()
487 list_for_each_entry(next, &netcp_priv->txhook_list_head, list) { in netcp_register_txhook()
492 spin_unlock_irqrestore(&netcp_priv->lock, flags); in netcp_register_txhook()
498 int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order, in netcp_unregister_txhook() argument
504 spin_lock_irqsave(&netcp_priv->lock, flags); in netcp_unregister_txhook()
505 list_for_each_entry_safe(next, n, &netcp_priv->txhook_list_head, list) { in netcp_unregister_txhook()
[all …]