Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/ti/
Dnetcp_core.c70 #define for_each_module(netcp, intf_modpriv) \ argument
71 list_for_each_entry(intf_modpriv, &netcp->module_head, intf_list)
302 struct netcp_intf_modpriv *intf_modpriv; in netcp_module_probe() local
304 intf_modpriv = devm_kzalloc(dev, sizeof(*intf_modpriv), in netcp_module_probe()
306 if (!intf_modpriv) in netcp_module_probe()
313 devm_kfree(dev, intf_modpriv); in netcp_module_probe()
317 intf_modpriv->netcp_priv = netcp_intf; in netcp_module_probe()
318 intf_modpriv->netcp_module = module; in netcp_module_probe()
319 list_add_tail(&intf_modpriv->intf_list, in netcp_module_probe()
324 &intf_modpriv->module_priv); in netcp_module_probe()
[all …]