netcp_priv        228 drivers/net/ethernet/ti/netcp.h int netcp_register_txhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        230 drivers/net/ethernet/ti/netcp.h int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        232 drivers/net/ethernet/ti/netcp.h int netcp_register_rxhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        234 drivers/net/ethernet/ti/netcp.h int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
netcp_priv         89 drivers/net/ethernet/ti/netcp_core.c 	struct netcp_intf	*netcp_priv;
netcp_priv        317 drivers/net/ethernet/ti/netcp_core.c 		intf_modpriv->netcp_priv = netcp_intf;
netcp_priv        471 drivers/net/ethernet/ti/netcp_core.c int netcp_register_txhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        478 drivers/net/ethernet/ti/netcp_core.c 	entry = devm_kzalloc(netcp_priv->dev, sizeof(*entry), GFP_KERNEL);
netcp_priv        486 drivers/net/ethernet/ti/netcp_core.c 	spin_lock_irqsave(&netcp_priv->lock, flags);
netcp_priv        487 drivers/net/ethernet/ti/netcp_core.c 	list_for_each_entry(next, &netcp_priv->txhook_list_head, list) {
netcp_priv        492 drivers/net/ethernet/ti/netcp_core.c 	spin_unlock_irqrestore(&netcp_priv->lock, flags);
netcp_priv        498 drivers/net/ethernet/ti/netcp_core.c int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        504 drivers/net/ethernet/ti/netcp_core.c 	spin_lock_irqsave(&netcp_priv->lock, flags);
netcp_priv        505 drivers/net/ethernet/ti/netcp_core.c 	list_for_each_entry_safe(next, n, &netcp_priv->txhook_list_head, list) {
netcp_priv        510 drivers/net/ethernet/ti/netcp_core.c 			spin_unlock_irqrestore(&netcp_priv->lock, flags);
netcp_priv        511 drivers/net/ethernet/ti/netcp_core.c 			devm_kfree(netcp_priv->dev, next);
netcp_priv        515 drivers/net/ethernet/ti/netcp_core.c 	spin_unlock_irqrestore(&netcp_priv->lock, flags);
netcp_priv        520 drivers/net/ethernet/ti/netcp_core.c int netcp_register_rxhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        527 drivers/net/ethernet/ti/netcp_core.c 	entry = devm_kzalloc(netcp_priv->dev, sizeof(*entry), GFP_KERNEL);
netcp_priv        535 drivers/net/ethernet/ti/netcp_core.c 	spin_lock_irqsave(&netcp_priv->lock, flags);
netcp_priv        536 drivers/net/ethernet/ti/netcp_core.c 	list_for_each_entry(next, &netcp_priv->rxhook_list_head, list) {
netcp_priv        541 drivers/net/ethernet/ti/netcp_core.c 	spin_unlock_irqrestore(&netcp_priv->lock, flags);
netcp_priv        547 drivers/net/ethernet/ti/netcp_core.c int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
netcp_priv        553 drivers/net/ethernet/ti/netcp_core.c 	spin_lock_irqsave(&netcp_priv->lock, flags);
netcp_priv        554 drivers/net/ethernet/ti/netcp_core.c 	list_for_each_entry_safe(next, n, &netcp_priv->rxhook_list_head, list) {
netcp_priv        559 drivers/net/ethernet/ti/netcp_core.c 			spin_unlock_irqrestore(&netcp_priv->lock, flags);
netcp_priv        560 drivers/net/ethernet/ti/netcp_core.c 			devm_kfree(netcp_priv->dev, next);
netcp_priv        564 drivers/net/ethernet/ti/netcp_core.c 	spin_unlock_irqrestore(&netcp_priv->lock, flags);