Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/ti/
Dnetcp_core.c69 #define for_each_module(netcp, intf_modpriv) \ argument
70 list_for_each_entry(intf_modpriv, &netcp->module_head, intf_list)
301 struct netcp_intf_modpriv *intf_modpriv; in netcp_module_probe() local
303 intf_modpriv = devm_kzalloc(dev, sizeof(*intf_modpriv), in netcp_module_probe()
305 if (!intf_modpriv) in netcp_module_probe()
312 devm_kfree(dev, intf_modpriv); in netcp_module_probe()
316 intf_modpriv->netcp_priv = netcp_intf; in netcp_module_probe()
317 intf_modpriv->netcp_module = module; in netcp_module_probe()
318 list_add_tail(&intf_modpriv->intf_list, in netcp_module_probe()
323 &intf_modpriv->module_priv); in netcp_module_probe()
[all …]