Home
last modified time | relevance | path

Searched refs:netcp_priv (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A 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,
H A 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 in netcp_unregister_txhook()
520 netcp_register_rxhook(struct netcp_intf *netcp_priv, int order, netcp_hook_rtn *hook_rtn, void *hook_data) netcp_register_rxhook() argument
547 netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order, netcp_hook_rtn *hook_rtn, void *hook_data) netcp_unregister_rxhook() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A 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,
H A Dnetcp_core.c88 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 in netcp_unregister_txhook()
519 netcp_register_rxhook(struct netcp_intf *netcp_priv, int order, netcp_hook_rtn *hook_rtn, void *hook_data) netcp_register_rxhook() argument
546 netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order, netcp_hook_rtn *hook_rtn, void *hook_data) netcp_unregister_rxhook() argument
[all...]

Completed in 6 milliseconds